Disable GATK filters when joint calling#1050
Disable GATK filters when joint calling#1050maxulysse merged 2 commits intonf-core:devfrom amizeranschi:amizeranschi-issue-1025
Conversation
|
With the change introduced by this PR, the pipeline will "silently" skip the haplotypecaller-filter on joint-germline runs, right? I'm just wondering whether it would be better to stop the pipeline (with meaningful err msg) if the user tries to run joint-germline with filtering or at least inform the user that the filtering is being skipped 🤔 Here are some somewhat related scenarios where the pipeline issues a warning: Lines 113 to 124 in c87f4eb |
My worry here is that, in this scenario, the user doesn't really have a choice about turning VCF filtering on in the first place. It's just on by default, with an option for disabling it via |
Also valid points. I don't have a strong opinion on this; just wanted to share my two cents. Perhaps somebody else will chip in as well. Anyways, thanks for the PR. |
|
So this established back the old behavior. The pipeline was not suppoed to do filtering for joint germline, but single sample only, (where it sometimes can be skipped because it takes a long time): https://gatk.broadinstitute.org/hc/en-us/articles/360035535932-Germline-short-variant-discovery-SNPs-Indels- I think we might need to refactor this subworkflow a bit to make it more intuitive. and put the whole FilterVarianttranches/CNNScore part into a singlesample haplotypecaller subworkflow, but I would do that in a separate PR |
PR checklist
nf-core lint).nextflow run . -profile test,docker --outdir <OUTDIR>).docs/usage.mdis updated.docs/output.mdis updated.CHANGELOG.mdis updated.README.mdis updated (including new tool citations and authors/contributors).