-
Notifications
You must be signed in to change notification settings - Fork 417
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
Fix input channels for variantrecalibrator #1022
Conversation
Changelog :) |
|
"Fix" doesn't work when either |
…_snps_vqsr and dbsnp_vqsr
…vqsr are channels and not strings
workflows/sarek.nf
Outdated
dbsnp_vqsr = params.dbsnp_vqsr ?: Channel.empty() | ||
known_indels_vqsr = params.known_indels_vqsr ?: Channel.empty() | ||
known_snps_vqsr = params.known_snps_vqsr ?: Channel.empty() | ||
dbsnp_vqsr = params.dbsnp_vqsr ? Channel.value(params.known_snps_vqsr) : Channel.empty() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@FriederikeHanssen and @maxulysse : The joint-germline genotyping now seems to work both when known_snps_vqsr
etc. are set and when they are not.
Should we do a similar initialisation of the other channels in this section?
Is there any way I could test the changes from this PR, to see if they solve #1016 ? |
Yes, you can run: nextflow run asp8200/sarek -r fix_variantrecalibrator ... |
that would be great @amizeranschi to test that it all works now :) |
I tested this now and can confirm that this PR fixes #1016. |
Just need the changelog and we're good to go |
Fix input channels for variantrecalibrator in the joint-germline workflow.
There is currently no pytest testing that this works. I tested it manually with downsampled versions of the giab-samples HG002 and HG003.
PR checklist
nf-core lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).