DerrickWood / kraken

Kraken taxonomic sequence classification system
http://ccb.jhu.edu/software/kraken/
GNU General Public License v3.0
213 stars 104 forks source link

Issue with PLASMID download? #152

Open axemango opened 3 years ago

axemango commented 3 years ago

HI there,

while tying to compile the standard database or a custom database with plasmid I receive the error:

gzip: plasmid.1.1.genomic.fna.gz: invalid compressed data--format violated

Should this be downloading from the below location or another section of the NCBI ftp? I don't see plasmid listed here.

ftp.ncbi.nlm.nih.gov/genomes/refseq/

Kind regards Axe

SergeyBaikal commented 2 years ago

Haven't you solved the problem?

bsenf27 commented 1 year ago

I'v got the same error - two year later, command "kraken-build --standard ..."

gzip: plasmid.1.1.genomic.fna.gz: invalid compressed data--format violated gzip: plasmid.2.1.genomic.fna.gz: invalid compressed data--format violated gzip: plasmid.3.1.genomic.fna.gz: invalid compressed data--format violated gzip: plasmid.4.1.genomic.fna.gz: invalid compressed data--format violated gzip: plasmid.5.1.genomic.fna.gz: invalid compressed data--format violated

Bernd S.

quliping commented 2 months ago

Hello everyone, I found the method to solve this problem: https://github.com/DerrickWood/kraken2/issues/515#issuecomment-949354093 You can try this, and it's worked for me, and here is an example for the path of the script file which need to be modified: /public/apps/anaconda/envs/kraken2/share/kraken2-2.1.3-1/libexec/download_genomic_library.sh