Hi,
I’ve tried to generate a new acc2tax.abin file. For this I downloaded the current prot.accession2taxid.gz (19.5.). I then used make-acc2ncbi (MEGAN Ultimate Edition (version 6.12.8, built 14 Nov 2018)) like this:
make-acc2ncbi -i prot.accession2taxid.gz -o acc2tax_May2019.abin
The process used 180.1 GB RAM and took a bit more than an hour. There was no error and it generated the file. However, when I try to use it with daa-meganizer or references-annotator, I get a java error (about 30 times in the daa-meganizer):
Caught:
java.lang.ArrayIndexOutOfBoundsException: -1
at megan.K.C.E(Unknown Source)
at megan.A.B.B.A(Unknown Source)
at megan.A.B.B.A(Unknown Source)
at megan.A.D.A(Unknown Source)
at megan.daa.A$1.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Am I missing a step?
Also, when I try to use the downloaded KEGG mapping file, which works fine with daa-meganizer, with the reference-annotator tool, I get following error:
Loading kegg.map: 22,161
Loading kegg.tre: 56,595
Error: Incompatible mapping file (UE?): acc2kegg-Dec2017X1-ue.abin
Caught:
java.io.IOException: Incompatible mapping file (UE?): acc2kegg-Dec2017X1-ue.abin
at megan.A.B.F.A(Unknown Source)
at megan.A.C.A(Unknown Source)
at megan.M.F.B(Unknown Source)
at megan.M.F.A(Unknown Source)
at megan6u.tools.ReferencesAnnotator.main(Unknown Source)
The file can’t be corrupt because it works with the other tool. Do you have any idea what the problem might be?
Cheers,
Nicole