8000 Missing conversion from bam to cram when starting from "--step prepare_recalibration" · Issue #1894 · nf-core/sarek · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Missing conversion from bam to cram when starting from "--step prepare_recalibration" #1894

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

Open
alexnater opened this issue May 14, 2025 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@alexnater
Copy link

Description of the bug

Hi all,
I'm trying to run Sarek from --step prepare_recalibration with bam files as input. It doesn't proceed to the BAM_APPLYBQSR:CRAM_MERGE_INDEX_SAMTOOLS:MERGE_CRAM step due to the fact that the GATK4_APPLYBQSR.out.cram channel is empty, since bam input is emitted in GATK4_APPLYBQSR.out.bam instead. Maybe I'm missing something, but I don't see a conversion of the input bam files to cram format before feeding it to GATK4_APPLYBQSR when starting from prepare_recalibration? This might be related to this issue: #1875

As expected, changing line 39 in modules/nf-core/gatk4/applybqsr/main.nf from
--output ${prefix}.${input.getExtension()}
to
--output ${prefix}.cram
and therefore enforcing cram output for bam input solves the issue, so this indeed seems to be a bug.

https://github.com/nf-core/sarek/milestone/11

Command used and terminal output

Relevant files

No response

System information

No response

@alexnater alexnater added the bug Something isn't working label May 14, 2025
@FriederikeHanssen FriederikeHanssen added this to the 3.6 milestone May 14, 2025
@FriederikeHanssen
Copy link
Contributor

Might be related to this one #1875

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

2 participants
0