Meganizing long reads fails on read length 800

Hi,

Unfortunately meganizing long reads fails on read length 800 failed with the following parameters:

Logs:

Version MEGAN Community Edition (version 6.24.1, built 15 Sep 2022)

Loading ncbi.map: 2,396,736
Loading ncbi.tre: 2,396,740
Executing: show window=MeganizeDAA;
Executing: use cViewer=CARD state=false;
Executing: load mapFile=’/media/ngs_lab/6.4Tb-NVRAM/DB/Megan/megan-map-Feb2022.db’ mapType=MeganMapDB cName=EC;
Loading ec.map: 8,200
Loading ec.tre: 8,204
Executing: use cViewer=EC state=true;
Executing: load mapFile=’/media/ngs_lab/6.4Tb-NVRAM/DB/Megan/megan-map-Feb2022.db’ mapType=MeganMapDB cName=EGGNOG;
Loading eggnog.map: 30,875
Loading eggnog.tre: 30,986
Executing: use cViewer=EGGNOG state=true;
Executing: load mapFile=’/media/ngs_lab/6.4Tb-NVRAM/DB/Megan/megan-map-Feb2022.db’ mapType=MeganMapDB cName=GTDB;
Loading gtdb.map: 240,103
Loading gtdb.tre: 240,107
Executing: use cViewer=GTDB state=true;
Executing: load mapFile=’/media/ngs_lab/6.4Tb-NVRAM/DB/Megan/megan-map-Feb2022.db’ mapType=MeganMapDB cName=INTERPRO2GO;
Loading interpro2go.map: 14,242
Loading interpro2go.tre: 28,907
Executing: use cViewer=INTERPRO2GO state=true;
Executing: use cViewer=KEGG state=false;
Executing: use cViewer=PGPT state=false;
Executing: load mapFile=’/media/ngs_lab/6.4Tb-NVRAM/DB/Megan/megan-map-Feb2022.db’ mapType=MeganMapDB cName=SEED;
Loading seed.map: 961
Loading seed.tre: 962
Executing: use cViewer=SEED state=true;
Executing: load mapFile=’/media/ngs_lab/6.4Tb-NVRAM/DB/Megan/megan-map-Feb2022.db’ mapType=MeganMapDB cName=Taxonomy;
Executing: use cViewer=Taxonomy state=true;
Executing: update;
Executing: set accessionMapMode=extended;
Executing: update;
Executing: use cViewer=EC state=false;
Executing: use cViewer=EGGNOG state=false;
Executing: use cViewer=GTDB state=false;
Executing: use cViewer=INTERPRO2GO state=false;
Executing: use cViewer=SEED state=false;

minPercentIdentity=0.0 topPercent=0.1 minSupportPercent=1.0E-9 lcaAlgorithm=longReads lcaCoveragePercent=51.0 minComplexity=800 useIdentityFilter=false readAssignmentMode=readCount fNames= longReads=true paired=false;
IOExceptionWithLineNumber: Line 1: value 800.0 out of range: -1.0 - 1.0
Command usage: meganize daaFile= [,…] [minScore=] [maxExpected=] [minPercentIdentity=]
[topPercent=] [minSupportPercent=] [minSupport=] [lcaAlgorithm={naive|weighted|longReads}] [lcaCoveragePercent=] [minPercentReadToCover=]
[minComplexity=] [useIdentityFilter={false|true}]
[fNames={CARD|EC|EGGNOG|GTDB|INTERPRO2GO|KEGG|PGPT|SEED…} [longReads={false|true}] [paired={false|true} [pairSuffixLength={number}]]
[contaminantsFile=] [description=]; - Meganize DAA File
IOException: Line 1: value 800.0 out of range: -1.0 - 1.0
Error: Execute failed: java.io.IOException: Line 1: value 800.0 out of range: -1.0 - 1.0

Is it possible to raise the read length to 800 (or more)? As I see read length value goes to the complexity option in the command window…trying directly in CLI…

Thanks: Balázs

Thank you for the bug report. I have located the problem and will upload a new release.