Skip to content

Commit

Permalink
added blank output file if no CARD hits
Browse files Browse the repository at this point in the history
  • Loading branch information
Derek Sarovich authored Oct 8, 2019
1 parent aeac446 commit 4fcb26b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/SQL_queries_CARD.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ while read line; do
fi
done < "$seq"_98p.genes

touch ${seq}.CARD_primary_output.txt

if [ -s CARD_no_ignore.txt ]; then
CARD_PRIMARY () {
COUNTER=1
Expand Down Expand Up @@ -80,4 +82,4 @@ for f in CARD_Primary_*; do sqlite3 "$CARD_DB" < $f >> ${seq}.CARD_primary_outpu

fi

exit 0
exit 0

0 comments on commit 4fcb26b

Please sign in to comment.