mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
Fix tabix/bgzip version command (#407)
This commit is contained in:
parent
242fdb2f73
commit
7c2f10f591
1 changed files with 2 additions and 1 deletions
|
@ -30,6 +30,7 @@ process TABIX_BGZIP {
|
|||
def prefix = options.suffix ? "${meta.id}${options.suffix}" : "${meta.id}"
|
||||
"""
|
||||
bgzip -c $options.args $input > ${prefix}.${input.getExtension()}.gz
|
||||
echo \$(bcftools --version 2>&1) | sed 's/^.*bcftools //; s/ .*\$//' > ${software}.version.txt
|
||||
|
||||
echo \$(tabix -h 2>&1) | sed 's/^.*Version: //; s/(.*\$//' > ${software}.version.txt
|
||||
"""
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue