Skip to content
Snippets Groups Projects
Commit 4e4f4bf8 authored by Ruben Vorderman's avatar Ruben Vorderman
Browse files

fix bwa index output file error

parent ef2914cb
No related branches found
No related tags found
1 merge request!11Changes needed for the iterative assembly pipeline
......@@ -35,6 +35,7 @@ task index {
Int? blockSize
String? outputDir
String fastaFilename = basename(fasta)
String outputFile = if (defined(outputDir)) then outputDir + "/" + fastaFilename else fasta
command {
set -e -o pipefail
......@@ -47,7 +48,7 @@ task index {
bwa index \
${"-a " + constructionAlgorithm} \
${"-b" + blockSize} \
${outputDir + "/"}${fastaFilename}
${outputFile}
}
output {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment