mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
fix the typo when using getExtension for motus_profile.
This commit is contained in:
parent
b2542ee079
commit
ae81311a78
1 changed files with 2 additions and 2 deletions
|
@ -23,9 +23,9 @@ process MOTUS_PROFILE {
|
|||
script:
|
||||
def args = task.ext.args ?: ''
|
||||
def prefix = task.ext.prefix ?: "${meta.id}"
|
||||
def inputs = "$reads[0]".getExtension == ('.bam') ?
|
||||
def inputs = "$reads[0]".getExtension() == 'bam' ?
|
||||
"-i ${reads}" :
|
||||
"$reads[0]".getExtension == ('.mgc') ? "-m $reads" :
|
||||
"$reads[0]".getExtension() == 'mgc' ? "-m $reads" :
|
||||
meta.single_end ?
|
||||
"-s $reads" : "-f ${reads[0]} -r ${reads[1]}"
|
||||
def refdb = db ? "-db ${db}" : ""
|
||||
|
|
Loading…
Reference in a new issue