Diamond database creation
1
2
Entering edit mode
10.0 years ago
stu111392 ▴ 30

Hello,

I just installed the Diamond Protein Alignment Algorithm (http://ab.inf.uni-tuebingen.de/software/diamond/) yesterday and the first step before the alignment is to set up a database. The input for generating a database should be a FASTA file containing protein sequences. I created a db-File from a FSTA file containing multiple Protein sequences and it worked out (meaning Diamond did the job without any errors). But after that if I want to start aligning samples to the databse I always get the error: incompatible database version. Has anyone of you expirience with this program?

alignment sequence blast next-gen • 12k views
ADD COMMENT
0
Entering edit mode

I think is solved the problem. At the moment it is running. I'll have a look at the results but I'm optimistic now :)

ADD REPLY
0
Entering edit mode

How did you solve it? I am havin the same problem as well. I downloaded nr from the NCBI blast ftp site.

ADD REPLY
0
Entering edit mode

Nevermind, the message appears if there is any kind of error regarding the name of the database file, including non-existent database files,wrong path etc. Just remember to not include the ".dmnd" extension in the invocation

ADD REPLY
0
Entering edit mode

Yep, that's also the way I made it working. Just cut off the library data extension and it worked.

ADD REPLY
0
Entering edit mode
9.8 years ago
henning.og • 0

In the description it is written "DIAMOND is a new high-throughput program for aligning a file of short reads against a protein reference database such as NR".

But I fail to make my NR database compatible for DIAMOND. I have NR downloaded locally that I use for blast. But how to fix NR so I can run DIAMOND as well? I do not include .dmnd in the command.

The command I run:

diamond blastx -p 28 -q /path/fasta.fasta -o /path/output.fasta -d /path/to/database/nr

Which leads to the error:

Error: function Input_stream::Input_stream(const string&, bool) line 74. Error opening file /path/to/database/nr.dmnd
ADD COMMENT
0
Entering edit mode

Do you have the blast formatted nr db in that path or have you downloaded the nr fasta file and created a diamond database from that? You have to do the latter.

ADD REPLY
0
Entering edit mode

It works now! Hehe realized I made a lot of beginners mistakes. Went to ftp://ftp.ncbi.nlm.nih.gov and fixed the file I needed to format.

ADD REPLY

Login before adding your answer.

Traffic: 1666 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6