Add args to mlst (#1962)

Update main.nf

Add args in main command to allow for parsing of arguments from config file

Co-authored-by: nvnieuwk <101190534+nvnieuwk@users.noreply.github.com>
This commit is contained in:
Petros 2022-09-26 16:48:35 +02:00 committed by GitHub
parent 6d6e3a018f
commit 0a59baf293
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,6 +22,7 @@ process MLST {
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"
""" """
mlst \\ mlst \\
$args \\
--threads $task.cpus \\ --threads $task.cpus \\
$fasta \\ $fasta \\
> ${prefix}.tsv > ${prefix}.tsv