Skip to content

Commit

Permalink
add label for bamfile indexing and increase memory
Browse files Browse the repository at this point in the history
  • Loading branch information
JocelynSP committed May 31, 2024
1 parent 0f37b36 commit c6b354f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion config/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,19 @@ process {
withLabel:BWAAlign {
queue='regular'
cpus = 5
memory={ 8.GB * task.attempt }
memory={ 4.GB * task.attempt }
time='12h'
errorStrategy ={ 'retry' }
maxRetries= 5
}
withLabel:IndexDedup {
queue='regular'
cpus = 5
memory={ 8.GB * task.attempt }
time='8h'
errorStrategy ={ 'retry' }
maxRetries= 5
}
withLabel:Write {
queue='regular'
cpus = 1
Expand Down
2 changes: 1 addition & 1 deletion modules/bwa.nf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ process Bwa {
}

process Index {
label 'BWAAlign'
label 'IndexDedup'
tag "${sampleId}"
publishDir "${params.outdir}/align", mode: 'copy'

Expand Down

0 comments on commit c6b354f

Please sign in to comment.