Skip to content
Permalink
Browse files

split files existence check to individual checks to avoid repeated li…

…nking problems
  • Loading branch information...
AnnSeidel committed Jul 11, 2019
1 parent da18dca commit 64be5517c1399a19f67fd7950a9a857214d3f461
Showing with 10 additions and 1 deletion.
  1. +3 −0 data/assembler.sh
  2. +3 −0 data/hybridassembler.sh
  3. +4 −1 data/nuclassembler.sh
@@ -170,6 +170,9 @@ fi
# create fasta output
if notExists "${RESULT}_only_assembled"; then
ln -s "${RESULT}" "${RESULT}_only_assembled"
fi

if notExists "${RESULT}_only_assembled.dbtype"; then
ln -s "${RESULT}.dbtype" "${RESULT}_only_assembled.dbtype"
fi

@@ -116,6 +116,9 @@ fi

if notExists "${RESULT_NUCL}_only_assembled"; then
ln -s "${RESULT_NUCL}" "${RESULT_NUCL}_only_assembled"
fi

if notExists "${RESULT_NUCL}_only_assembled.dbtype"; then
ln -s "${RESULT_NUCL}.dbtype" "${RESULT_NUCL}_only_assembled.dbtype"
fi

@@ -77,7 +77,10 @@ fi
# create fasta output
if notExists "${RESULT}_only_assembled"; then
ln -s "${RESULT}" "${RESULT}_only_assembled"
ln -s "${RESULT},dbtype" "${RESULT}_only_assembled.dbtype"
fi

if notExists "${RESULT}_only_assembled.dbtype"; then
ln -s "${RESULT}.dbtype" "${RESULT}_only_assembled.dbtype"
fi

if notExists "${RESULT}_only_assembled_h"; then

0 comments on commit 64be551

Please sign in to comment.
You can’t perform that action at this time.