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

Addition of samtools cat in the samtools_sort module broke compatibility with input SAM files #5522

Open
2 tasks done
pcrxn opened this issue Apr 24, 2024 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@pcrxn
Copy link

pcrxn commented Apr 24, 2024

Have you checked the docs?

Description of the bug

The addition of the samtools cat command within the execution stub of the samtools_sort module, by #5022, broke compatibility with using a SAM file as input for this module, since samtools cat only supports BAM and CRAM file types. This results in the following error:

Command error:
  INFO:    Converting SIF file to temporary sandbox...
  [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 "-"
  INFO:    Cleaning up image...

Command used and terminal output

No response

Relevant files

No response

System information

  • Nextflow version: nextflow==23.10.1
  • Hardware: Desktop
  • Executor: Local
  • Container engine and version: singularity==3.8.6
  • OS and version: Linux Mint 21.2
@pcrxn pcrxn added the bug Something isn't working label Apr 24, 2024
pcrxn added a commit to OLC-Bioinformatics/BaitCapture that referenced this issue Apr 24, 2024
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
Status: No status
Development

No branches or pull requests

1 participant