We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ce38ee commit f1612ebCopy full SHA for f1612eb
modules/nf-core/samtools/stats/main.nf
@@ -13,7 +13,7 @@ process SAMTOOLS_STATS {
13
14
output:
15
tuple val(meta), path("*.stats"), emit: stats
16
- tuple val("${task.process}"), val('samtools'), eval('samtools --version | head -1 | sed -e "s/samtools //"'), emit: versions_samtools, topic: versions
+ tuple val("${task.process}"), val('samtools'), eval('samtools version | sed "1!d;s/.* //"'), emit: versions_samtools, topic: versions
17
18
when:
19
task.ext.when == null || task.ext.when
0 commit comments