Make input tuple

This commit is contained in:
jtangrot 2022-05-30 13:01:06 +02:00
parent 2e16c90fce
commit c67c15f243
2 changed files with 3 additions and 4 deletions

View file

@ -8,8 +8,7 @@ process VSEARCH_USEARCHGLOBAL {
'quay.io/biocontainers/vsearch:2.21.1--h95f258a_0' }" 'quay.io/biocontainers/vsearch:2.21.1--h95f258a_0' }"
input: input:
val(meta) tuple val(meta), path(queryfasta)
path(queryfasta)
path db path db
val idcutoff val idcutoff
val outoption val outoption

View file

@ -11,7 +11,7 @@ workflow test_vsearch_usearchglobal {
idcutoff = 0.985 idcutoff = 0.985
outoption = "xcfert" // Nonsense text to check default case. outoption = "xcfert" // Nonsense text to check default case.
columns = "" columns = ""
VSEARCH_USEARCHGLOBAL ( [id:'test'], query, db, idcutoff, outoption, columns ) VSEARCH_USEARCHGLOBAL ( [[id:'test'], query], db, idcutoff, outoption, columns )
} }
workflow test_vsearch_usearchglobal_userout { workflow test_vsearch_usearchglobal_userout {
@ -21,5 +21,5 @@ workflow test_vsearch_usearchglobal_userout {
idcutoff = 0.985 idcutoff = 0.985
outoption = "userout" outoption = "userout"
columns = "query+target+id" columns = "query+target+id"
VSEARCH_USEARCHGLOBAL ( [id:'test'], query, db, idcutoff, outoption, columns ) VSEARCH_USEARCHGLOBAL ( [[id:'test'], query], db, idcutoff, outoption, columns )
} }