Skip to content

How to make a custom diamond database #155

Answered by chasemc
chasemc asked this question in Q&A
Discussion options

You must be logged in to vote

The author of diamond maintains a docker image of diamond.

Choose a versioned image to pull down from here:

For this example we'll use the v2.0.9 version:

docker pull buchfink/diamond:version2.0.9

The protein fasta file I want to turn into a dmnd database is located in the directory:
home/chase/Documents/large_db
and is named:
my_fasta.faa

Replace that path and filename in the command below with your own to generate a nr.dmnd database. Also change my_dmnd_db to whatever you want the database to be named, .dmnd will be appended to this.

docker run -v /home/chase/Documents/large_db:/temp -it buchfink/diamond makedb --in /temp/my_fasta.faa --db /temp/my_dmnd_db

Replies: 1 comment

Comment options

chasemc
Apr 28, 2021
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by chasemc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant