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

Database creation issues #892

Open
jhnath21 opened this issue Nov 27, 2024 · 1 comment
Open

Database creation issues #892

jhnath21 opened this issue Nov 27, 2024 · 1 comment

Comments

@jhnath21
Copy link

With NCBI changing the FTP site, many of the database building fail or are not being updated like expected. For instance, to build the NT database, it is pulling the nt.gz file and uncompressing it. However, per the FTP site README.txt file, this file is no longer being updated on the FTP site and that NCBI recommends using the blastdbcmd process to extract out the sequences into fasta format.

@ch4rr0
Copy link
Collaborator

ch4rr0 commented Nov 29, 2024

You are correct, our current set up downloads a no-longer-updated nt/nr.fa file. You can build an updated FASTA of nt using the following commands:

update_blastdb --source ncbi "nt" --num_threads 10 --decompress
blastdbcmd -entry all -db "nt" -out "nt.fna"

We are considering updating our current code to use these external tools. It will however require that the user has the necessary executables installed on the host machine. We do publish a quarterly core_nt database available here: https://genome-idx.s3.amazonaws.com/kraken/k2_core_nt_20240904.tar.gz

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