mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-14 05:33:09 +00:00
27 lines
840 B
Text
27 lines
840 B
Text
process {
|
|
|
|
withName:'PICARD_MARKDUPLICATES' {
|
|
memory = { check_max( 90.GB * task.attempt, 'memory' ) }
|
|
}
|
|
withName:'DEEPVARIANT' {
|
|
cpus = { check_max( 16 * task.attempt, 'cpus' ) }
|
|
memory = { check_max( 80.GB * task.attempt, 'memory' ) }
|
|
}
|
|
withname: BCFTOOLS_VIEW {
|
|
if (params.genome == 'GRCh37') {
|
|
ext.args = '--output-type v --apply-filters PASS --exclude "INFO/clinical_genomics_mipAF > 0.40 | INFO/swegenAF > 0.40 | INFO/clingen_ngiAF > 0.40 | INFO/gnomad_svAF > 0.40 "'
|
|
} else if (params.genome == 'GRCh38') {
|
|
ext.args = '--output-type v --apply-filters PASS --exclude "INFO/swegenAF > 0.40"'
|
|
}
|
|
publishDir = [
|
|
enabled: false,
|
|
]
|
|
}
|
|
|
|
}
|
|
|
|
params {
|
|
|
|
sentieon_install_dir = "$SENTIEON_INSTALL_DIR/bin"
|
|
|
|
}
|