rrwick / Metagenomics-Index-Correction

GNU General Public License v3.0
79 stars 9 forks source link

Script to download everything from figshare #6

Open boulund opened 5 years ago

boulund commented 5 years ago

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.

carden24 commented 3 years ago

The script does not work anymore. Download from figshare was not possible either.

soilmicrobiome commented 2 years ago

The download link address has changed to e.g https://bridges.monash.edu/ndownloader/files/16378256

xiuahaha commented 1 year ago

为什么下载链接不行啊

下载链接地址已更改为例如https://bridges.monash.edu/ndownloader/files/16378256

为什么下载链接不行啊