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

CAT prepare doesn't consider existing diamond database #105

Open
nikolasbasler opened this issue Dec 5, 2023 · 1 comment
Open

CAT prepare doesn't consider existing diamond database #105

nikolasbasler opened this issue Dec 5, 2023 · 1 comment

Comments

@nikolasbasler
Copy link

nikolasbasler commented Dec 5, 2023

Hi,

I have just installed CAT 5.3 and I'm trying to prepare a databse. I already have a diamond database nr.dmnd but CAT doesn't seem to find it (although it should, according to #66). Instead it will make a new one and place it into a db subfolder. Since the database is 300GB large, I don't want to have it twice.

This is the command I'm using:
CAT prepare --db_fasta nr.faa --names names.dmp --nodes nodes.dmp --acc2tax prot.accession2taxid.FULL.gz --db_dir .

A few questions:

  1. Is it possible to point CAT prepare to the existing database so it doesn't create a new one?
  2. Can I delete CAT's diamond database and move the other generated files into the folder of my diamond database and then refer to that as the database folder when running e.g. CAT contigs -d <folder>?
  3. In that case, do I have to observe any naming conventions or will CAT find the files in the database folder by their endings (.dmnd, .fastaid2LCAtaxid and .taxids_with_multiple_offspring)?

Thanks and kind regards,
Nikolas

@harrytchild
Copy link

Hi,

I second this request. Could you also comment on the use of pre-existing GTDB-tk databases to avoid using too much memory for databases?

Kind regards,

Harry

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