mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
bwameth: Add touch command to fix problem with bwameth rejecting older files (#1037)
See https://github.com/nf-core/methylseq/pull/217 for context where this fix was added into the DSL1 methylseq pipeline.
This commit is contained in:
parent
e560fbbc3e
commit
02932973fa
1 changed files with 4 additions and 0 deletions
|
@ -32,6 +32,10 @@ process BWAMETH_ALIGN {
|
|||
"""
|
||||
INDEX=`find -L ${index} -name "*.bwameth.c2t" | sed 's/.bwameth.c2t//'`
|
||||
|
||||
# Modify the timestamps so that bwameth doesn't complain about building the index
|
||||
# See https://github.com/nf-core/methylseq/pull/217
|
||||
touch -c -- *
|
||||
|
||||
bwameth.py \\
|
||||
$options.args \\
|
||||
$read_group \\
|
||||
|
|
Loading…
Reference in a new issue