Create index in bwa directory

This commit is contained in:
drpatelh 2021-02-02 12:34:23 +00:00
parent f126200610
commit 0d8bd42cca

View file

@ -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
""" """
} }