-
Notifications
You must be signed in to change notification settings - Fork 379
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
Update CNVkit #1502
Update CNVkit #1502
Conversation
|
Co-authored-by: Maxime U Garcia <maxime.garcia@seqera.io>
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.
Looks perfect, we just need CHANGELOG update and documentation
proposals for docs and changelog updates just submitted. feel free to modify :) |
Co-authored-by: Maxime U Garcia <maxime.garcia@seqera.io>
@@ -21,6 +23,15 @@ workflow BAM_VARIANT_CALLING_CNVKIT { | |||
|
|||
CNVKIT_BATCH(cram, fasta, fasta_fai, targets, reference, generate_pon) | |||
|
|||
// right now we do not use an input VCF to improve the calling of B alleles |
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 think the readability of lines 26-29 could be improved by adding periods (.) and starting new sentences with a capital letter. (I think there are two sentences, but I'm not sure 😆 )
Looks very good 👏👏 What about CI-tests covering this new functionality? |
I've added 2 emits for the raw and exported CNV calls. |
Thanks for the updates 🙌 Concerning CI-tests for this new functionality, I see we already have this pytest of the germline subworkflow of cnvkit, and it runs Currently that pytest doesn't check for the existence of EDIT: Perhaps also check for the existence of |
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.
Very nice contribution. Many thanks
PR checklist
Overall description
This PR adds the following improvements to the CNVkit subworkflow(s):
params.cnvkit_reference
uniform across the three subworkflows (germline, tumour only, tumour-normal)cnvkit/call
module to perform calling fromcns
filescnvkit/export
module, to export called CNVs into VCF, thus uniforming Sarek variant resultscnvkit/call
config for germline workflowsChecklist
nf-core lint
).nf-test test tests/ --verbose --profile +docker
).nextflow run . -profile debug,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).