Subject: Conversion of DIAMOND DAA Files to MEGAN Format and Comparison Using Command Line Tools

Hi,

I hope this message finds you well. I am currently working with large DIAMOND DAA files on our lab server and would like to convert these files into MEGAN format for easier analysis on my local machine. My objective is to reduce file size for more efficient handling.

Could you please provide detailed instructions on how to convert a DIAMOND DAA file into a MEGAN file? Additionally, I would appreciate guidance on how to compare multiple DAA files and generate a comparative MEGAN file using the command line tools available in MEGAN.

Thank you for your support.

Yours Regards
Vino

Hi @vinoth,

Once you’ve meganized the DAA file, you can use the daa2info tool in the MEGAN suite with the -es or --extractSummaryFile flags. This will generate a MEGAN summary file for each sample, containing all classifications without reads or alignments, making it very small in size.

The command generally looks like this:

MEGAN/tools/daa2info -i file.daa -es file.megan

Depending on your needs, you can include other flags as well.

You can then compare the samples using the “compare” dialog box in MEGAN, or alternatively, you can use the compute-comparison tool to create a comparison file for all samples in a directory:

MEGAN/tools/compute-comparison -i DAADirectory -o comparison.megan

Again, you can select additional flags as per your requirements.

Best regards,
Anupam

Hi Anupam,
Thanks for sharing the information about the command line and its works well…

1 Like