Hi,
I am using the MEGAN6 Community Edition and want to map KEGG Ids to Taxonomy with taxonomy2function. It works fine, when I am using EGGNOG instead, but with KEGG I am getting the folowing error:
taxonomy2function -i LuW1_nA_SB_chop.daa -o LuW1_nA_SB_chop_KEGG.txt.gz -a KEGG -b Taxonomy -bf path
Processing: First classification
Caught:
java.lang.NullPointerException: Cannot invoke “megan.data.IClassificationBlock.getKeySet()” because “firstClassificationBlock” is null
at megan/megan.tools.Taxonomy2Function.run(Taxonomy2Function.java:177)
at megan/megan.tools.Taxonomy2Function.main(Taxonomy2Function.java:55)
Is this, because I am using the MEGAN6 Community Edition and not the UE?
All the best,
Torsten