Francisca Castillo
04/24/2024, 2:29 AMThomas Danhorn
04/24/2024, 3:38 AMsamtools.config):
process {
withName: 'SAMTOOLS_*' {
cpus = 2
}
}
This should apply to any processes with SAMTOOLS_ in the name, e.g.:
SAMTOOLS_SORT
SAMTOOLS_INDEX
SAMTOOLS_STATS
SAMTOOLS_FLAGSTAT
SAMTOOLS_IDXSTATS
If you want something different, change the withName:.
You can then use this file with your nextflow command using -c samtools.config.Francisca Castillo
04/24/2024, 2:34 PM