Output phased variants#141
Conversation
|
There was a problem hiding this comment.
Pull request overview
Enables publishing of LONGPHASE phased small-variant outputs so users get phased VCFs in the pipeline results directory.
Changes:
- Configure
LONGPHASE_PHASEto publish outputs under${outdir}/${sample}/variants/phased. - Set a fixed
ext.prefixforLONGPHASE_PHASEoutputs.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| // | ||
|
|
||
| withName: '.*:LONGPHASE_PHASE' { | ||
| ext.prefix = { "somatic_smallvariants" } |
There was a problem hiding this comment.
LONGPHASE_PHASE is used to phase germline/non-somatic SNVs (e.g., normals in subworkflows/local/tumor_normal_happhase.nf and the non-somatic VCF in tumor-only mode). Setting ext.prefix to somatic_smallvariants will label the published phased VCFs as somatic even when they are not, which is misleading for users and downstream tooling. Consider using a neutral prefix (e.g. phased_smallvariants) or include sample/type information in the prefix to accurately reflect the content.
| ext.prefix = { "somatic_smallvariants" } | |
| ext.prefix = { "phased_smallvariants" } |
PR checklist
nf-core pipelines lint).nextflow run . -profile test,docker --outdir <OUTDIR>).nextflow run . -profile debug,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).