-
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
Panel of Normals #24
Panel of Normals #24
Conversation
Conflicts: docs/output.md main.nf
You need to include the EDIT: Done except for |
And if you could add some docs about the PONs that would be very nice as well |
docs/output.md
Outdated
|
||
* `MuTect2_[TUMORSAMPLE]_vs_[NORMALSAMPLE].vcf.gz` and `MuTect2_[TUMORSAMPLE]_vs_[NORMALSAMPLE].vcf.gz.tbi` | ||
* `Mutect2_[TUMORSAMPLE]_vs_[NORMALSAMPLE].vcf.gz` and `Mutect2_[TUMORSAMPLE]_vs_[NORMALSAMPLE].vcf.gz.tbi` |
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.
Can you describe the new organisation of files here?
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.
Done
docs/output.md
Outdated
|
||
For further reading and documentation see the [MuTect2 manual](https://software.broadinstitute.org/gatk/documentation/tooldocs/4.1.2.0/org_broadinstitute_hellbender_tools_walkers_mutect_Mutect2.php). | ||
For further reading and documentation see the [Mutect2 manual](https://software.broadinstitute.org/gatk/documentation/tooldocs/4.1.2.0/org_broadinstitute_hellbender_tools_walkers_mutect_Mutect2.php). |
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.
Can you put some lines about PON, maybe add also the comment that's in the main.nf
script:
please make a panel-of-normals, using at least 40 samples
https://gatkforums.broadinstitute.org/gatk/discussion/11136/how-to-call-somatic-mutations-using-gatk4-mutect2
publishDir "${params.outdir}/VariantCalling/${idSampleTumor}_vs_${idSampleNormal}/Mutect2", mode: params.publishDirMode | ||
|
||
input: | ||
set caller, |
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.
I don't think you have caller
here in this channel.
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.
You could also group the two sets into just one with another groupTuple
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.
Now there is the missing caller - I would prefer to leave it it as it is as there is a fork later and it is already pretty cluttered.
tag {idSampleTumor + "_vs_" + idSampleNormal + "_" + intervalBed.baseName } | ||
|
||
input: | ||
set idPatient, idSampleNormal, file(bamNormal), file(baiNormal), idSampleTumor, file(bamTumor), file(baiTumor), file(intervalBed) from pairBamPileupSummaries |
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.
I don't think bamNormal
is needed in this process.
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.
That is true, but simpler now to multiply the channels for variant callers. We can dissect the channel and re-assemble if you feel it is bad style.
Conflicts: CHANGELOG.md main.nf
The error handling code is buggy still (from the current template version unfortunately): if (workflow.stats.ignoredCount > 0 && workflow.success) {
log.info "${c_purple}Warning, pipeline completed, but with errored process(es) ${c_reset}"
log.info "${c_red}Number of ignored errored process(es) : ${workflow.stats.ignoredCount} ${c_reset}"
log.info "${c_green}Number of successfully ran process(es) : ${workflow.stats.succeedCount} ${c_reset}"
} Is the way to do it - can do it via an own PR ... |
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.
Other than that minor cosmetic thing everything looks sane/good to me 👍
Co-Authored-By: Maxime Garcia <max.u.garcia@gmail.com>
Panel of normals (PON) is needed to filter GATK4 Mutect2 somatic calls, though also useful to annotate somatic calls produced by other software also. This PR focuses on Mutect2, and follows instructions at https://gatkforums.broadinstitute.org/gatk/discussion/11136/how-to-call-somatic-mutations-using-gatk4-mutect2
PR checklist
nextflow run . -profile test,docker
).nf-core lint .
).docs
is updatedCHANGELOG.md
is updatedREADME.md
is updated