mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 03:28:17 +00:00
Fix module
This commit is contained in:
parent
24370f241b
commit
3ccf99d612
1 changed files with 2 additions and 2 deletions
|
@ -22,14 +22,14 @@ process BWA_INDEX {
|
||||||
path fasta
|
path fasta
|
||||||
|
|
||||||
output:
|
output:
|
||||||
path "${fasta}.*" , emit: index
|
path "bwa" , emit: index
|
||||||
path "*.version.txt", emit: version
|
path "*.version.txt", emit: version
|
||||||
|
|
||||||
script:
|
script:
|
||||||
def software = getSoftwareName(task.process)
|
def software = getSoftwareName(task.process)
|
||||||
"""
|
"""
|
||||||
mkdir bwa
|
mkdir bwa
|
||||||
bwa index $options.args bwa/${fasta.baseName}
|
bwa index $options.args $fasta -p bwa/${fasta.baseName}
|
||||||
echo \$(bwa 2>&1) | sed 's/^.*Version: //; s/Contact:.*\$//' > ${software}.version.txt
|
echo \$(bwa 2>&1) | sed 's/^.*Version: //; s/Contact:.*\$//' > ${software}.version.txt
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue