mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2025-01-03 04:52:09 -05:00
bwameth/align: fix fasta name retrieval
apparently bwameth doesn't like './' in front of the filepath? I have no idea. This works however
This commit is contained in:
parent
2d8baa8b75
commit
bf0e0d857d
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ process BWAMETH_ALIGN {
|
||||||
def prefix = options.suffix ? "${meta.id}${options.suffix}" : "${meta.id}"
|
def prefix = options.suffix ? "${meta.id}${options.suffix}" : "${meta.id}"
|
||||||
def read_group = meta.read_group ? "-R ${meta.read_group}" : ""
|
def read_group = meta.read_group ? "-R ${meta.read_group}" : ""
|
||||||
"""
|
"""
|
||||||
INDEX=`find -L ./ -name "*bwameth.c2t" | sed 's/.bwameth.c2t//'`
|
INDEX=`find -L ${index} -name "*.bwameth.c2t" | sed 's/.bwameth.c2t//'`
|
||||||
|
|
||||||
bwameth.py \\
|
bwameth.py \\
|
||||||
$options.args \\
|
$options.args \\
|
||||||
|
|
Loading…
Reference in a new issue