mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-22 09:39:54 +00:00
fix: emit tool versions
This commit is contained in:
parent
767663d975
commit
7f8180f458
1 changed files with 6 additions and 0 deletions
|
@ -12,6 +12,7 @@ process KRAKEN_STANDARD_REPORT {
|
|||
|
||||
output:
|
||||
tuple val(meta), path(result), emit: report
|
||||
path 'versions.yml' , emit: versions
|
||||
|
||||
when:
|
||||
task.ext.when == null || task.ext.when
|
||||
|
@ -21,6 +22,11 @@ process KRAKEN_STANDARD_REPORT {
|
|||
result = "${prefix}_standardized.kraken2.report.txt"
|
||||
"""
|
||||
cut -f1-3,6-8 '${report}' > '${result}'
|
||||
|
||||
cat <<-END_VERSIONS > versions.yml
|
||||
"${task.process}":
|
||||
cut: \$(echo \$(cut --version 2>&1) | sed 's/^.*(GNU coreutils) //; s/ Copyright.*\$//')
|
||||
END_VERSIONS
|
||||
"""
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue