Skip to content

Commit

Permalink
modified build scripts to comply with the new input format to classify
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksey Zimin committed Jun 13, 2022
1 parent 369d831 commit ddd8083
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build_db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ if [ "$KRAKEN_LCA_DATABASE" != "0" ]; then
REPNAME=database
if [[ ! -s $REPNAME.report.tsv ]]; then
echo "Creating database summary report $REPNAME.report.tsv ..."
krakenuniq --db . --report-file $REPNAME.report.tsv --threads $KRAKEN_THREAD_CT --fasta-input <( cat_library ) > $REPNAME.kraken.tsv
krakenuniq --db . --report-file $REPNAME.report.tsv --threads $KRAKEN_THREAD_CT $(cat library-files.txt | tr '\n' ' ') > $REPNAME.kraken.tsv
fi
fi

Expand Down Expand Up @@ -337,7 +337,7 @@ if [ "$KRAKEN_UID_DATABASE" != "0" ]; then
REPNAME=uid_database
if [[ ! -s $REPNAME.report.tsv ]]; then
echo "Creating UID database summary report $REPNAME.report.tsv ..."
krakenuniq --db . --report-file $REPNAME.report.tsv --threads $KRAKEN_THREAD_CT --uid-mapping --fasta-input <( cat_library ) > $REPNAME.kraken.tsv
krakenuniq --db . --report-file $REPNAME.report.tsv --threads $KRAKEN_THREAD_CT --uid-mapping $(cat library-files.txt | tr '\n' ' ') > $REPNAME.kraken.tsv
fi
fi

Expand Down

0 comments on commit ddd8083

Please sign in to comment.