Update modules/biobambam/bammerge/main.nf

Co-authored-by: Mahesh Binzer-Panchal <mahesh.binzer-panchal@nbis.se>
This commit is contained in:
Matthias De Smet 2022-05-16 15:13:54 +02:00 committed by GitHub
parent cdbe648400
commit 98f204fd1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@ process BIOBAMBAM_BAMMERGE {
cat <<-END_VERSIONS > versions.yml
"${task.process}":
bammerge: \$(echo \$(bammerge --version 2>&1) | sed 's/^This is biobambam2 version //; s/..biobambam2 is .*\$//' )
bammerge: \$( bammerge --version |& sed '1!d; s/.*version //; s/.$//' )
END_VERSIONS
"""
}