diamond icon indicating copy to clipboard operation
diamond copied to clipboard

unsuccessful installation? Diamond command not found

Open ArchaeologyRoz opened this issue 4 years ago • 5 comments

Hi,

I'm trying to look at my metagenomic data from an ancient millet sample. This is my first bioinformatics project and I've had no training Screenshot 2021-08-31 at 12 51 24 so I apologise if my question is a bit basic.

I need a .daa file from diamond for MegaN. I have successfully downloaded MEGAN and it works with some example data. I can't manage to get my millet samples into a daa file though.

I've downloaded diamond but when I try to execute any commands in my terminal I get diamond not found. Perhaps I haven't installed/downloaded properly but I'm not sure what else to do. I've attached a screenshot.

Thanks for your help,

Roz

ArchaeologyRoz avatar Aug 31 '21 11:08 ArchaeologyRoz

You need to include the path to the diamond file e.g. ./diamond blastx ....

bbuchfink avatar Aug 31 '21 11:08 bbuchfink

Oh thank you!

I am getting an error for "cannot execute binary file"

I also get this when I try to open the diamond download

Roz

ArchaeologyRoz avatar Aug 31 '21 12:08 ArchaeologyRoz

You seem to be using a Mac but have downloaded the linux version. On Mac you have to install either using bioconda, homebrew or compile from source (see the Wiki).

bbuchfink avatar Aug 31 '21 13:08 bbuchfink

Ah yes, thanks again! I'm in an Ubuntu server now. I'm trying to build the reference database but having an issue with a state on file nr.faa?

Screenshot 2021-08-31 at 15 36 15

ArchaeologyRoz avatar Aug 31 '21 14:08 ArchaeologyRoz

It means the file does not exist. Make sure you have the correct path and file name.

bbuchfink avatar Sep 01 '21 18:09 bbuchfink