Metagenomics-Index-Correction
Metagenomics-Index-Correction copied to clipboard
Script to download everything from figshare
Torsten Seemann (@tseemann) suggested I share this script I wrote a while back:
#!/bin/bash
# Download pre-made Kraken2 database based on GTDB r89
# https://github.com/rrwick/Metagenomics-Index-Correction
# https://monash.figshare.com/articles/GTDB_r89_54k/8956970
# https://www.biorxiv.org/content/10.1101/712166v1
set -eou pipefail
outdir="gtdb_r89_54k"
base_filename="gtdb_r89_54k_kraken2"
mkdir -pv $outdir
cd $outdir
wget https://monash.figshare.com/ndownloader/files/16378271 --output-document "${base_filename}_08GB.tar" #08GB index
wget https://monash.figshare.com/ndownloader/files/16378274 --output-document "${base_filename}_16GB.tar" #16GB index
wget https://monash.figshare.com/ndownloader/files/16378277 --output-document "${base_filename}_32GB.tar" #32GB index
wget https://monash.figshare.com/ndownloader/files/16378295 --output-document "${base_filename}_64GB.tar" #64GB index
wget https://monash.figshare.com/ndownloader/files/16378322 --output-document "${base_filename}_150GB.tar" #full index (150GB)
Hopefully someone else finds it useful.
The script does not work anymore. Download from figshare was not possible either.
The download link address has changed to e.g https://bridges.monash.edu/ndownloader/files/16378256
为什么下载链接不行啊
下载链接地址已更改为例如https://bridges.monash.edu/ndownloader/files/16378256
为什么下载链接不行啊