mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
Update modules/motus/profile/main.nf
Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
This commit is contained in:
parent
e391c65510
commit
4497eb1734
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ process MOTUS_PROFILE {
|
|||
script:
|
||||
def args = task.ext.args ?: ''
|
||||
def prefix = task.ext.prefix ?: "${meta.id}"
|
||||
def inputs = "$reads[0]".toLowerCase().endsWith('.bam') ?
|
||||
def inputs = "$reads[0]".getExtension == ('.bam') ?
|
||||
"-i ${reads}" :
|
||||
meta.single_end ?
|
||||
"-s $reads" : "-f ${reads[0]} -r ${reads[1]}"
|
||||
|
|
Loading…
Reference in a new issue