Skip to content

Commit

Permalink
update id parameter definition
Browse files Browse the repository at this point in the history
  • Loading branch information
AmstlerStephan committed Jul 25, 2024
1 parent ad24d5a commit 79b8c93
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/processes/cluster.nf
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -28,6 +27,6 @@ process CLUSTER {
--iddef 0 \
--minwordmatches 0 \
--qmask none \
--id $id
--id ${params.vsearch_sequence_identity}
"""
}

0 comments on commit 79b8c93

Please sign in to comment.