Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kraken2 Error in buildind NCBI bacterial database #332

Closed
SShaminur opened this issue Oct 9, 2020 · 2 comments
Closed

Kraken2 Error in buildind NCBI bacterial database #332

SShaminur opened this issue Oct 9, 2020 · 2 comments

Comments

@SShaminur
Copy link

SShaminur commented Oct 9, 2020

Hi,

I am trying to build an NCBI RefSeq database of bacteria with Kraken2

kraken2-build --download-library bacteria --db bacteria

Error messages

rsync_from_ncbi.pl: unexpected FTP path (new server?) for an

Any solution? Thanks in advance. (https://www.biostars.org/p/466332/)

@ahkennedy
Copy link

ahkennedy commented Oct 9, 2020

I'm having a similar issue. I cannot download the NCBI taxonomy library. Error message:

"Downloading nucleotide est accession to taxon map...rsync: link_stat "/taxonomy/accession2taxid/nucl_est.accession2taxid.gz" (in pub) failed. No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1659) [Receiver=3.1.3]"

I contacted NCBI support and received the following response:

"There is now no such a nucl_est.accession2taxid.gz file under the directory of ftp://ftp.ncbi.nlm.nih.gov/pub/taxonomy/accession2taxid/
You may want to download the nucl_gb.accession2taxid.gz file as it includes the est records."

I downloaded the suggested file and placed it my db's directory RefSeq/Library. When I try to build the db, I get the following error:

"Creating sequence ID to taxonomy ID map (step 1)...
Sequence ID to taxonomy ID map complete. [0.048s]
Estimating required capacity (step 2)...
Estimated hash table requirement: 2219594604 bytes
Capacity estimation complete. [39.944s]
Building database files (step 3)...
build_db: error opening taxonomy//nodes.dmp: No such file or directory
xargs: cat: terminated by signal 13"

It appears that another file (taxonomy//nodes.dmp) must be generated when downloading the library with Kraken2.

Any solution to downloading the libraries from NCBI?

@SShaminur
Copy link
Author

DerrickWood/kraken#114

These issues work for me.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants