1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-25 17:29:55 +00:00
This commit is contained in:
Ramprasad Neethiraj 2022-04-19 13:21:51 +02:00
parent 32207a2402
commit d39bec05dc

View file

@ -7,11 +7,11 @@ process {
cpus = { check_max( 16 * task.attempt, 'cpus' ) } cpus = { check_max( 16 * task.attempt, 'cpus' ) }
memory = { check_max( 80.GB * task.attempt, 'memory' ) } memory = { check_max( 80.GB * task.attempt, 'memory' ) }
} }
withname: BCFTOOLS_VIEW { withName: BCFTOOLS_VIEW {
if (params.genome == 'GRCh37') { 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 "' 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') { } else if (params.genome == 'GRCh38') {
ext.args = '--output-type v --apply-filters PASS --exclude "INFO/swegenAF > 0.40"' ext.args = '--output-type v --apply-filters PASS --exclude "INFO/swegen_FRQ > 0.40"'
} }
publishDir = [ publishDir = [
enabled: false, enabled: false,