Skip to content

Commit

Permalink
Update pbptyper to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
erinyoung authored Nov 5, 2024
1 parent 26de9c6 commit 8eae175
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions modules/local/pbptyper.nf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ process pbptyper {
label "process_medium"
stageInMode "copy"
publishDir path: params.outdir, mode: 'copy', saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
container 'staphb/pbptyper:1.0.4'
container 'staphb/pbptyper:2.0.0'
time '1h'
errorStrategy { task.attempt < 2 ? 'retry' : 'ignore'}

Expand All @@ -27,7 +27,9 @@ process pbptyper {
log_file=logs/${task.process}/${prefix}.${workflow.sessionId}.log
pbptyper ${args} \
--assembly ${contigs} \
--yaml data/pbptyper.yaml \
--targets data/pbptyper.fasta \
--input ${contigs} \
--prefix ${prefix} \
--outdir pbptyper \
| tee -a \$log_file
Expand All @@ -37,4 +39,4 @@ process pbptyper {
pbptyper: \$(echo \$(pbptyper --version 2>&1) | sed 's/^.*pbptyper, version //;' )
END_VERSIONS
"""
}
}

0 comments on commit 8eae175

Please sign in to comment.