Skip to content

Commit f1612eb

Browse files
Update modules/nf-core/samtools/stats/main.nf
Co-authored-by: Simon Pearce <[email protected]>
1 parent 4ce38ee commit f1612eb

File tree

1 file changed

+1
-1
lines changed
  • modules/nf-core/samtools/stats

1 file changed

+1
-1
lines changed

modules/nf-core/samtools/stats/main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ process SAMTOOLS_STATS {
1313

1414
output:
1515
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
16+
tuple val("${task.process}"), val('samtools'), eval('samtools version | sed "1!d;s/.* //"'), emit: versions_samtools, topic: versions
1717

1818
when:
1919
task.ext.when == null || task.ext.when

0 commit comments

Comments
 (0)