Fix bakta: variable in main.nf (#2050)

Fix variable prodigal_tf
This commit is contained in:
Jasmin F 2022-09-13 13:03:21 +02:00 committed by GitHub
parent 5587389874
commit 77a6dd3f61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ process BAKTA {
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
prefix = task.ext.prefix ?: "${meta.id}" prefix = task.ext.prefix ?: "${meta.id}"
def proteins_opt = proteins ? "--proteins ${proteins[0]}" : "" def proteins_opt = proteins ? "--proteins ${proteins[0]}" : ""
def prodigal_opt = prodigal_tf ? "--prodigal-tf ${prodigal_tf[0]}" : "" def prodigal_tf = prodigal_tf ? "--prodigal-tf ${prodigal_tf[0]}" : ""
""" """
bakta \\ bakta \\
$args \\ $args \\