mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-11 04:33:10 +00:00
Create index in bwa directory
This commit is contained in:
parent
f126200610
commit
0d8bd42cca
1 changed files with 2 additions and 1 deletions
|
@ -28,7 +28,8 @@ process BWA_INDEX {
|
||||||
script:
|
script:
|
||||||
def software = getSoftwareName(task.process)
|
def software = getSoftwareName(task.process)
|
||||||
"""
|
"""
|
||||||
bwa index $options.args $fasta
|
mkdir bwa
|
||||||
|
bwa index $options.args 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