From 6b960f0e75bbb4d5bd301cd3875fa078d0eab4d1 Mon Sep 17 00:00:00 2001 From: JIANHONG OU Date: Thu, 12 May 2022 09:20:32 -0400 Subject: [PATCH] fix the typo in motus_profile. --- modules/motus/profile/main.nf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/motus/profile/main.nf b/modules/motus/profile/main.nf index dac4fe37..6a1acd3d 100644 --- a/modules/motus/profile/main.nf +++ b/modules/motus/profile/main.nf @@ -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}" : ""