mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 19:18: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:
|
input:
|
||||||
tuple val(meta), path(assembly)
|
tuple val(meta), path(fasta)
|
||||||
|
|
||||||
output:
|
output:
|
||||||
tuple val(meta), path('*.lineage_report.csv') , emit: lineage
|
tuple val(meta), path('*.lineage_report.csv'), emit: report
|
||||||
path '*.version.txt' , emit: version
|
path '*.version.txt' , emit: version
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
@ -30,9 +30,9 @@ process PANGOLIN {
|
||||||
def prefix = options.suffix ? "${meta.id}.${options.suffix}" : "${meta.id}"
|
def prefix = options.suffix ? "${meta.id}.${options.suffix}" : "${meta.id}"
|
||||||
"""
|
"""
|
||||||
pangolin \\
|
pangolin \\
|
||||||
$assembly \\
|
$fasta\\
|
||||||
--outfile ${prefix}.lineage_report.csv \\
|
--outfile ${prefix}.lineage_report.csv \\
|
||||||
$options.args
|
$options.args
|
||||||
|
|
||||||
pangolin --version | sed "s/pangolin //g" > ${software}.version.txt
|
pangolin --version | sed "s/pangolin //g" > ${software}.version.txt
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -37,13 +37,13 @@ input:
|
||||||
type: map
|
type: map
|
||||||
description: |
|
description: |
|
||||||
Groovy Map containing sample information
|
Groovy Map containing sample information
|
||||||
- assembly:
|
- fasta:
|
||||||
type: file
|
type: file
|
||||||
description: |
|
description: |
|
||||||
The virus genome assembly to be evaluated
|
The virus genome assembly to be evaluated
|
||||||
|
|
||||||
output:
|
output:
|
||||||
- lineage_report:
|
- report:
|
||||||
type: file
|
type: file
|
||||||
description: The lineage report
|
description: The lineage report
|
||||||
pattern: "{prefix}.lineage_report.csv"
|
pattern: "{prefix}.lineage_report.csv"
|
||||||
|
|
Loading…
Reference in a new issue