mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-11 04:33:10 +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
|
||||
|
||||
output:
|
||||
path "${fasta}.*" , emit: index
|
||||
path "bwa" , emit: index
|
||||
path "*.version.txt", emit: version
|
||||
|
||||
script:
|
||||
def software = getSoftwareName(task.process)
|
||||
"""
|
||||
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
|
||||
"""
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue