Daa2info -r2c/-c2c broken in 6.6.5/6?


#1

I have run lots of exports using daa2info recently (v. 6.6.3 works), but with 6.6.5 and 6.6.6 exports fails with the following type of message:

$ /opt/megan/tools/daa2info -r2c Taxonomy --in Cg.P878_204.erne-filter.moranrna.pear.out.assembled.refseq_protein.daa
Version MEGAN Community Edition (version 6.6.6, built 19 Jan 2017)
Author(s) Daniel H. Huson
Copyright © 2017 Daniel H. Huson. This program comes with ABSOLUTELY NO WARRANTY.
Caught:
java.io.IOException: Classification ‘Taxonomy’ not found in file, available:
at megan.tools.DAA2Info.run(DAA2Info.java:162)
at megan.tools.DAA2Info.main(DAA2Info.java:52)

-c2c gives the same kind of error.

The daa does contain taxonomy assignments (and functional) which can be exported from the GUI.

daa2info -l gives:

$ /opt/megan/tools/daa2info -l --in Cg.P878_204.erne-filter.moranrna.pear.out.assembled.refseq_protein.daa
Version MEGAN Community Edition (version 6.6.6, built 19 Jan 2017)
Author(s) Daniel H. Huson
Copyright © 2017 Daniel H. Huson. This program comes with ABSOLUTELY NO WARRANTY.

Number of reads: 806,785

Alignment mode: BLASTX

Is meganized: true

Classifications: EGGNOG INTERPRO2GO SEED Taxonomy

Total time: 0s
Peak memory: 0.0 of 10.4G

I’ve tried this on CentOS (MEGAN 6.6.5 and .6) and Ubuntu (only 6.6.6).

It’s a fantastic tool in my metatranscriptome pipeline, so I’m eager to get it back!

/Daniel


#2

Dear Daniel,

Thanks for the bug report, easily fixed…
I will upload a new release today.
D