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' }"
input:
val(meta)
path(queryfasta)
tuple val(meta), path(queryfasta)
path db
val idcutoff
val outoption

View file

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