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

only create link when output dir is given

parent 30bfec34
No related branches found
No related tags found
1 merge request!10Extra tasks required for assembly.
......@@ -40,7 +40,10 @@ task index {
set -e -o pipefail
${"mkdir -p " + outputDir}
${preCommand}
ln -sf ${fasta} ${outputDir + "/"}${fastaFilename}
if [[ ! '${outputDir}' = '' ]]
then
ln -sf ${fasta} ${outputDir + "/"}${fastaFilename}
fi
bwa index \
${"-a " + constructionAlgorithm} \
${"-b" + blockSize} \
......
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