mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
Apply suggestions from code review
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
This commit is contained in:
parent
14ade8060f
commit
8f2f936cd4
2 changed files with 7 additions and 7 deletions
|
@ -19,10 +19,10 @@ process PANGOLIN {
|
|||
}
|
||||
|
||||
input:
|
||||
tuple val(meta), path(assembly)
|
||||
tuple val(meta), path(fasta)
|
||||
|
||||
output:
|
||||
tuple val(meta), path('*.lineage_report.csv') , emit: lineage
|
||||
tuple val(meta), path('*.lineage_report.csv'), emit: report
|
||||
path '*.version.txt' , emit: version
|
||||
|
||||
script:
|
||||
|
@ -30,9 +30,9 @@ process PANGOLIN {
|
|||
def prefix = options.suffix ? "${meta.id}.${options.suffix}" : "${meta.id}"
|
||||
"""
|
||||
pangolin \\
|
||||
$assembly \\
|
||||
--outfile ${prefix}.lineage_report.csv \\
|
||||
$options.args
|
||||
$fasta\\
|
||||
--outfile ${prefix}.lineage_report.csv \\
|
||||
$options.args
|
||||
|
||||
pangolin --version | sed "s/pangolin //g" > ${software}.version.txt
|
||||
"""
|
||||
|
|
|
@ -37,13 +37,13 @@ input:
|
|||
type: map
|
||||
description: |
|
||||
Groovy Map containing sample information
|
||||
- assembly:
|
||||
- fasta:
|
||||
type: file
|
||||
description: |
|
||||
The virus genome assembly to be evaluated
|
||||
|
||||
output:
|
||||
- lineage_report:
|
||||
- report:
|
||||
type: file
|
||||
description: The lineage report
|
||||
pattern: "{prefix}.lineage_report.csv"
|
||||
|
|
Loading…
Reference in a new issue