2022-03-15 10:18:43 +00:00
|
|
|
process {
|
|
|
|
|
|
|
|
publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }
|
2022-06-23 15:06:00 +00:00
|
|
|
|
2022-03-15 10:18:43 +00:00
|
|
|
|
|
|
|
withName: ASCAT_SIMPLE {
|
|
|
|
ext.args = [
|
|
|
|
gender : 'XY',
|
|
|
|
genomeVersion : 'hg19',
|
|
|
|
minCounts : '1',
|
|
|
|
min_base_qual : '1',
|
|
|
|
min_map_qual : '1',
|
|
|
|
chrom_names : 'c("21","22")'
|
2022-06-23 15:06:00 +00:00
|
|
|
]
|
2022-03-15 10:18:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
withName: ASCAT_PLOIDY_AND_PURITY {
|
|
|
|
ext.args = [
|
2022-06-23 15:06:00 +00:00
|
|
|
gender : 'XX',
|
2022-03-15 10:18:43 +00:00
|
|
|
genomeVersion : 'hg19',
|
2022-06-23 15:06:00 +00:00
|
|
|
ploidy : '1.7',
|
2022-03-15 10:18:43 +00:00
|
|
|
purity : '0.24',
|
2022-06-23 15:06:00 +00:00
|
|
|
chrom_names : 'c("21","22")',
|
|
|
|
|
|
|
|
]
|
2022-03-15 10:18:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
withName: ASCAT_CRAM {
|
|
|
|
ext.args = [
|
2022-06-23 15:06:00 +00:00
|
|
|
gender : 'XX',
|
2022-03-15 10:18:43 +00:00
|
|
|
genomeVersion : 'hg19',
|
2022-06-23 15:06:00 +00:00
|
|
|
ref_fasta : '/mnt/volume/ascat/human_g1k_v37.fasta',
|
2022-03-15 10:18:43 +00:00
|
|
|
chrom_names : 'c("21","22")'
|
2022-06-23 15:06:00 +00:00
|
|
|
]
|
2022-03-15 10:18:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|