Skip to content

Commit

Permalink
Propagate --use-wget flag in standard installation (#136)
Browse files Browse the repository at this point in the history
Resolves #135
  • Loading branch information
ExplodingCabbage authored and jenniferlu717 committed Jul 24, 2019
1 parent e343539 commit 5734812
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions scripts/standard_installation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,17 @@ then
WOD_FLAG="--work-on-disk"
fi

WGET_FLAG=""
if [ -n "$KRAKEN_USE_WGET" ]
then
WGET_FLAG="--use-wget"
fi

check_for_jellyfish.sh
kraken-build --db $KRAKEN_DB_NAME --download-taxonomy
kraken-build --db $KRAKEN_DB_NAME --download-library archaea
kraken-build --db $KRAKEN_DB_NAME --download-library bacteria
kraken-build --db $KRAKEN_DB_NAME --download-library viral
kraken-build --db $KRAKEN_DB_NAME --download-library archaea $WGET_FLAG
kraken-build --db $KRAKEN_DB_NAME --download-library bacteria $WGET_FLAG
kraken-build --db $KRAKEN_DB_NAME --download-library viral $WGET_FLAG
kraken-build --db $KRAKEN_DB_NAME --build --threads $KRAKEN_THREAD_CT \
--jellyfish-hash-size "$KRAKEN_HASH_SIZE" \
--max-db-size "$KRAKEN_MAX_DB_SIZE" \
Expand Down

0 comments on commit 5734812

Please sign in to comment.