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 was built with a different version of Diamond and is incompatible #45

Closed
ropolomx opened this issue Aug 15, 2020 · 1 comment
Closed

Comments

@ropolomx
Copy link

I get the following error when running CAT v.4.6 with the CAT_prepare_20200618.tar.gz I downloaded. I was running in a conda environment with Diamond v0.9.24.125

Error: Database was built with a different version of Diamond and is incompatible.
[2020-08-14 20:06:10.946813] ERROR: DIAMOND finished abnormally.
# CAT v4.6.

BAT is running. Protein prediction, alignment, and bin classification are carried out.
Rarw!

Supplied command: /isilon/lethbridge-rdc/users/ortegapoloro/catrione_metagenomics/work/conda/nf-core-mag-1.1.0dev-fdd28300e312d42ca78a7e617c1313b0/bin/CAT bins -b bins/ -d database/ -t taxonomy/ -n 8 -s .fa --top 6 -o MEGAHIT-SRR9030505 --I_know_what_Im_doing

Bin folder: bins/
Taxonomy folder: taxonomy/
Database folder: database/
Parameter r: 5
Parameter f: 0.3
Log file: MEGAHIT-SRR9030505.log

-----------------

Doing some pre-flight checks first.
[2020-08-14 20:01:28.582365] Prodigal found: Prodigal V2.6.3: February, 2016.
[2020-08-14 20:01:28.607029] DIAMOND found: diamond version 0.9.24.
[2020-08-14 20:01:28.611196] WARNING: [--top] is set lower than 50. This might conflict with future runs with higher settings of the [-r / --range] parameter, see README.md.
Ready to fly!

-----------------

[2020-08-14 20:01:28.613953] Importing bins from bins/.
[2020-08-14 20:01:30.108568] 28 bin(s) found!
[2020-08-14 20:01:30.109987] Writing MEGAHIT-SRR9030505.concatenated.fasta.
[2020-08-14 20:01:30.848442] Running Prodigal for ORF prediction. Files MEGAHIT-SRR9030505.concatenated.predicted_proteins.faa and MEGAHIT-SRR9030505.concatenated.predicted_proteins.gff will be generated. Do not forget to cite Prodigal when using CAT or BAT in your publication!
[2020-08-14 20:06:10.640599] ORF prediction done!
[2020-08-14 20:06:10.644498] Parsing ORF file MEGAHIT-SRR9030505.concatenated.predicted_proteins.faa
[2020-08-14 20:06:10.908072] Homology search with DIAMOND is starting. Please be patient. Do not forget to cite DIAMOND when using CAT or BAT in your publication!
                                query: MEGAHIT-SRR9030505.concatenated.predicted_proteins.faa
                                database: database/2020-06-18.nr.dmnd
                                mode: fast
                                number of cores: 8
                                block-size (billions of letters): 2.0
                                index-chunks: 4
@bastiaanvonmeijenfeldt
Copy link
Collaborator

Dear @ropolomx,

Yes, it is a known issue that you should use the same DIAMOND version as with which the database files are constructed. I'm sorry for the inconvenience, we're thinking of a user friendly way to address this in future releases.

For now, you can find the DIAMOND version of the db files in the CAT prepare log file:

$ grep "diamond version" 2020-06-18.CAT_prepare.fresh.log
[2020-06-18 14:53:07.163156] DIAMOND found: diamond version 0.9.34.

Hope this helps, let us know if you have further questions!

Bastiaan

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