1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-25 17:29:55 +00:00

include stub profile

This commit is contained in:
Ramprasad Neethiraj 2022-04-15 15:27:41 +02:00
parent e9d93d62e0
commit afe935c2d0
2 changed files with 38 additions and 5 deletions

View file

@ -23,7 +23,23 @@ process {
clusterOptions = { "-A $params.priority ${params.clusterOptions ?: ''}" } clusterOptions = { "-A $params.priority ${params.clusterOptions ?: ''}" }
} }
params {
max_memory = 180.GB
max_cpus = 36
max_time = 336.h
}
profiles { profiles {
stub_prio {
params {
priority = 'development'
clusterOptions = "--qos=low"
max_memory = 1.GB
max_cpus = 1
max_time = 1.h
}
}
dev_prio { dev_prio {
params { params {
priority = 'development' priority = 'development'

View file

@ -7,4 +7,21 @@ 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 {
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 = '/home/proj/bin/sentieon/sentieon-genomics-202010.02/bin'
} }