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

how to update existing build? #854

Open
elbriandominguez opened this issue Jul 24, 2024 · 3 comments
Open

how to update existing build? #854

elbriandominguez opened this issue Jul 24, 2024 · 3 comments

Comments

@elbriandominguez
Copy link

Hello,

I was wondering if there is a way to update an existing build? I've attempted this myself, but I have a feeling I would need to build from scratch based on this message running the following command:

(base) [bdoming1@vetsci-240 ~]$ kraken2-build --build --db /datastore/databases/kraken2_db/ --threads 24
Creating sequence ID to taxonomy ID map (step 1)...
Sequence ID to taxonomy ID map already present, skipping map creation.
Estimating required capacity (step 2)...
Estimated hash table requirement: 2294987336 bytes
Capacity estimation complete. [13.959s]
Building database files (step 3)...
Hash table already present, skipping database file build.
Database construction complete. [Total: 13.970s]

@ChillarAnand
Copy link

Did you try deleting "seqid2taxid.map" and re-running? @elbriandominguez

@ChillarAnand
Copy link

This is good to have feature with more documentation.

Since building a db takes a few days even with a good cluster, it should be easy to add new genomes on top of existing db.

@elbriandominguez
Copy link
Author

@ChillarAnand yes it would be nice to have this feature otherwise I am stuck keeping the libraries each time I want to update.

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