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

Fix input channels for variantrecalibrator #1022

Merged
merged 5 commits into from
May 16, 2023
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions workflows/sarek.nf
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,9 @@ pon = params.pon ? Channel.fromPath(params.pon).co

// Initialize value channels based on params, defined in the params.genomes[params.genome] scope
ascat_genome = params.ascat_genome ?: Channel.empty()
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()
Copy link
Contributor Author

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?

known_indels_vqsr = params.known_indels_vqsr ? Channel.value(params.known_snps_vqsr) : Channel.empty()
known_snps_vqsr = params.known_snps_vqsr ? Channel.value(params.known_snps_vqsr) : Channel.empty()
snpeff_db = params.snpeff_db ?: Channel.empty()
vep_cache_version = params.vep_cache_version ?: Channel.empty()
vep_genome = params.vep_genome ?: Channel.empty()
Expand Down