From 79b8c93e4659d8f500ed775a2df3860842872897 Mon Sep 17 00:00:00 2001 From: AmstlerStephan Date: Thu, 25 Jul 2024 14:06:26 +0200 Subject: [PATCH] update id parameter definition --- lib/processes/cluster.nf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/processes/cluster.nf b/lib/processes/cluster.nf index 61ca568..1142ef5 100644 --- a/lib/processes/cluster.nf +++ b/lib/processes/cluster.nf @@ -10,7 +10,6 @@ process CLUSTER { tuple val( "${sample.baseName}" ), path( "cluster*" ), optional: true, emit:cluster_fastas script: - def id = "${type}" == "raw" ? params.vsearch_sequence_identity : 0.99 """ vsearch \ --clusterout_id \ @@ -28,6 +27,6 @@ process CLUSTER { --iddef 0 \ --minwordmatches 0 \ --qmask none \ - --id $id + --id ${params.vsearch_sequence_identity} """ }