fix the typo in motus_profile.

This commit is contained in:
JIANHONG OU 2022-05-12 09:20:32 -04:00
parent a2dbef3de3
commit 6b960f0e75

View file

@ -25,7 +25,7 @@ process MOTUS_PROFILE {
def prefix = task.ext.prefix ?: "${meta.id}"
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}" : ""