Skip to content

Commit

Permalink
fix annoying PRESEQ failure for methylseq (#5091)
Browse files Browse the repository at this point in the history
* fix annoying PRESEQ failure for methylseq

* Update modules/nf-core/preseq/lcextrap/main.nf

Co-authored-by: Phil Ewels <[email protected]>

---------

Co-authored-by: Phil Ewels <[email protected]>
  • Loading branch information
maxulysse and ewels authored Mar 11, 2024
1 parent 3236889 commit 4d178c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/nf-core/preseq/lcextrap/main.nf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
process PRESEQ_LCEXTRAP {
tag "$meta.id"
label 'process_single'
label 'error_ignore'
label 'error_retry'

conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
Expand All @@ -21,6 +21,7 @@ process PRESEQ_LCEXTRAP {

script:
def args = task.ext.args ?: ''
args = task.attempt > 1 ? args.join(' -defects') : args // Disable testing for defects
def prefix = task.ext.prefix ?: "${meta.id}"
def paired_end = meta.single_end ? '' : '-pe'
"""
Expand Down

0 comments on commit 4d178c5

Please sign in to comment.