Patch building of the Single copy reference DB to make a single blast

database for Large and Small Single copy


Former-commit-id: 9bad3443085b2b6b066c7f33f3eaf2e49b5e8992
Former-commit-id: 15ce54a189d9def4b824c149f0ba5ba036794567
This commit is contained in:
2015-10-07 12:29:48 -03:00
parent cbc32a6326
commit b75035064c
10 changed files with 75 additions and 71 deletions

View File

@ -89,9 +89,6 @@ pushTmpDir ORG.buildSCDB
cp LSC.direct.fasta "${IR_DATA_DIR}/LSC_RefDB.fasta"
cp LSC_RefDB.tgf "${IR_DATA_DIR}/LSC_RefDB.tgf"
makeblastdb -in "${IR_DATA_DIR}/LSC_RefDB.fasta" \
-dbtype nucl \
-out "${IR_DATA_DIR}/LSC_RefDB" >& /dev/null
loginfo "Done"
#
@ -163,12 +160,17 @@ pushTmpDir ORG.buildSCDB
loginfo "Installing SSC reference databases..."
cp SSC.direct.fasta "${IR_DATA_DIR}/SSC_RefDB.fasta"
cp SSC_RefDB.tgf "${IR_DATA_DIR}/SSC_RefDB.tgf"
makeblastdb -in "${IR_DATA_DIR}/SSC_RefDB.fasta" \
-dbtype nucl \
-out "${IR_DATA_DIR}/SSC_RefDB" >& /dev/null
cp SSC_RefDB.tgf "${IR_DATA_DIR}/SSC_RefDB.tgf"
loginfo "Done"
loginfo "Installing blast version of the SC_RefDB reference databases..."
cat "${IR_DATA_DIR}/LSC_RefDB.fasta" \
"${IR_DATA_DIR}/SSC_RefDB.fasta" > SC_RefDB.fasta
makeblastdb -in SC_RefDB.fasta \
-dbtype nucl \
-out "${IR_DATA_DIR}/SC_RefDB" >& /dev/null
loginfo "Done"
popTmpDir