DaehwanKimLab / centrifuge

Classifier for metagenomic sequences
GNU General Public License v3.0
235 stars 73 forks source link

make p_compressed+h+v fails to download genomes from NCBI #213

Open cae803 opened 2 years ago

cae803 commented 2 years ago

Hi! I am struggling to build a database. I'd like to resolve the following error.

/mnt/data1/centrifuge/indices$ make THREADS=8 p_compressed+h+v
Making: p_compressed+h+v: p_compressed+h+v
make -f Makefile IDX_NAME=p_compressed+h+v
make[1]: Entering directory '/mnt/data1/centrifuge/indices'
[[ -d tmp_p_compressed+h+v ]] && rm -rf tmp_p_compressed+h+v; mkdir -p tmp_p_compressed+h+v
Downloading and dust-masking viral
centrifuge-download -o tmp_p_compressed+h+v  -m -a "Any" -d "viral" -P 8 refseq > \
        tmp_p_compressed+h+v/all-viral-any_level.map
Downloading ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/viral/assembly_summary.txt ...
Progress : [##--------------------------------------] 7% 896/11618
Error downloading ftp://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/001/611/645/GCF_001611645.5_ASM161164v5/GCF_001611645.5_ASM161164v5_genomic.fna.gz!
Progress : [#######---------------------------------] 19% 2219/11618
Error downloading ftp://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/002/833/545/GCF_002833545.1_ASM283354v1/GCF_002833545.1_ASM283354v1_genomic.fna.gz!
Progress : [################################--------] 81% 9500/11618
Error downloading ftp://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/002/957/295/GCF_002957295.1_ASM295729v1/GCF_002957295.1_ASM295729v1_genomic.fna.gz!
Progress : [#################################-------] 84% 9845/11618
Error downloading ftp://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/003/034/835/GCF_003034835.1_ASM303483v1/GCF_003034835.1_ASM303483v1_genomic.fna.gz!
Progress : [#######################################-] 99% 11614/11618make[1]: *** [Makefile:257: reference-sequences/all-viral-any_level.fna] Error 123
make[1]: Leaving directory '/mnt/data1/centrifuge/indices'
make: *** [Makefile:137: p_compressed+h+v] Error 2

I have confirmed that the four fna.gz files don't exist on the ftp site. Is there any method to skip downloading the files? I will appreciate your help with this situation.

omrctnr commented 1 year ago

Hello did you get any solution?

dafin678 commented 12 months ago

Hello, i also have this problem but on the "make p_compressed" option , can anyone help me ? please

mourisl commented 12 months ago

Does make p (without compression) work?