mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 03:28:17 +00:00
79a9d5e1ea
NGSCheckMate ncm mode, working on bam files and vcf files to check that (human) samples match as expected Co-authored-by: Simon Pearce <simon.pearce@cruk.manchester.ac.uk> Co-authored-by: Mahesh Binzer-Panchal <mahesh.binzer-panchal@nbis.se>
27 lines
No EOL
611 B
Text
27 lines
No EOL
611 B
Text
process {
|
|
|
|
publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }
|
|
|
|
withName: BEDTOOLS_MAKEWINDOWS {
|
|
ext.args = '-w 1'
|
|
}
|
|
|
|
withName: BCFTOOLS_MPILEUP {
|
|
ext.args2 = '--no-version --ploidy 1 --multiallelic-caller'
|
|
ext.args3 = '--no-version'
|
|
}
|
|
|
|
withName: BCFTOOLS_MPILEUP2 {
|
|
ext.args2 = '--no-version --ploidy 1 --multiallelic-caller'
|
|
ext.args3 = '--no-version'
|
|
}
|
|
|
|
withName: NGSCHECKMATE_NCM_VCF {
|
|
ext.args = '-V'
|
|
}
|
|
|
|
withName: NGSCHECKMATE_NCM_BAM {
|
|
ext.args = '-B'
|
|
}
|
|
|
|
} |