diamond icon indicating copy to clipboard operation
diamond copied to clipboard

Protein alignment an taxonomic binning with DIAMOND v2.0.15 and Megan

Open alicaheid opened this issue 2 years ago • 3 comments

Hi, I'm using DIAMOND v2.0.15 to perform a Protein alignment against the NCBI-nr database and a subsequent taxonomic binning with Megan. I formed the DIAMOND index with

diamond makedb --in nr.gz -d nr

Then I run DIAMOND on a fasta file with

diamond blastx -d nr.dmnd -q reads.fa -fast -o reads.daa -f 0 -k 20

Then I tried to Run Megan on my DIAMOND output file

MEGAN/tools/daa-meganizer -i reads.daa -mdb megan-map.db

but it did not work

Then I tried to put my diamond output into Megan to get a taxonomic Tree but none could be displayed. Of course I made sure that the diamond output and the corresponding FASTA file are in the same folder and have the same name.

Is there a setting somewhere I've missed? Thank you in advance for your help.

alicaheid avatar Jan 18 '23 15:01 alicaheid

This sounds like a problem with megan, please ask your question here: https://megan.cs.uni-tuebingen.de/

bbuchfink avatar Jan 20 '23 13:01 bbuchfink

Hi, possible that you should be using -f 100 instead of 0...

"-f 100 DIAMOND alignment archive (DAA). The DAA format is a proprietary binary format that can subsequently be used to generate other output formats using the view command. It is also supported by MEGAN and allows a quick import of results. Note that this format does not support streaming output or taxonomy features. It is considered a legacy format at this time."

ko519 avatar Jan 26 '23 13:01 ko519

@ko519 where you able to meganize your DAA file?

katievigil avatar Nov 06 '23 22:11 katievigil