Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local test failure #93

Open
tkchafin opened this issue Dec 16, 2024 · 1 comment
Open

Local test failure #93

tkchafin opened this issue Dec 16, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@tkchafin
Copy link
Contributor

tkchafin commented Dec 16, 2024

Description of the bug

SAMTOOLS_SORT is failing in local tests (-profile test, docker), but working on farm (-profile test,sanger,singularity):

ERROR ~ Error executing process > 'SANGERTOL_VARIANTCALLING:VARIANTCALLING:INPUT_MERGE:SAMTOOLS_SORT (icCanRufa1_cram_T1)'

Caused by:
  Process `SANGERTOL_VARIANTCALLING:VARIANTCALLING:INPUT_MERGE:SAMTOOLS_SORT (icCanRufa1_cram_T1)` terminated with an error exit status (1)


Command executed:

  samtools cat \
      GCA_947369205.1.unmasked.pacbio.icCanRufa1_0_3.cram \
  | \
  samtools sort \
       \
      -T icCanRufa1_cram_T1 \
      --threads 2 \
      --reference GCA_947369205.1_OX376310.1_CANBKR010000003.1.fasta.gz \
      -o icCanRufa1_cram_T1.bam \
      -
  
  cat <<-END_VERSIONS > versions.yml
  "SANGERTOL_VARIANTCALLING:VARIANTCALLING:INPUT_MERGE:SAMTOOLS_SORT":
      samtools: $(echo $(samtools --version 2>&1) | sed 's/^.*samtools //; s/Using.*$//')
  END_VERSIONS

Command exit status:
  1

Command output:
  (empty)

Command error:
  [main_cat] ERROR: input is not BAM or CRAM
  [W::hts_set_opt] Cannot change block size for this format
  samtools sort: failed to read header from "-"

Command used and terminal output

No response

Relevant files

No response

System information

No response

@tkchafin tkchafin added the bug Something isn't working label Dec 16, 2024
@tkchafin tkchafin self-assigned this Dec 16, 2024
@tkchafin tkchafin changed the title CI and local test failure Local test failure Dec 16, 2024
@tkchafin
Copy link
Contributor Author

Not high priority. It is some sort of arm incompatibility -- works fine if I run a terminal with rosetta emulation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant