Closed anusurendra closed 5 years ago
The problem is that KEGG's layouts omit many details for the sake of a better arrangement of their maps. KEGGtranslator complements KEGG's maps with missing components. For instance, it often fills in missing side-substrates and side-products such as ATP or ADP, etc. However, when doing so, it doesn't have any meaningful coordinates for the added compounds. KEGGtranslator therefore often writes incomplete layout information into the SBML file that is intended to be completed by another program or the user.
EscherConverter, on the other hand, does not have the capability to complement incomplete layout information with meaningful coordinates. What you are observing here results from the KEGG source file that lacks information.
Now, how to best solve this?
NaN
value with 0.0
or similar.@draeger, Where is the option not to complement KEGG maps? I do not see the option in Preferences menu. Also, I got the following error when I use EscherConverter:
14-Jan-2019 11:08:31 AM edu.ucsd.sbrg.escher.converter.SBML2Escher lambda$null$4 --- INFO: adding segments: rg: glyph_rnR00235_1, srg: glyph_Acetate_3, reaction: 177898851
14-Jan-2019 11:08:31 AM edu.ucsd.sbrg.escher.converter.SBML2Escher lambda$null$4 --- INFO: srg(glyph_Acetate_1) set to primary node
14-Jan-2019 11:08:31 AM edu.ucsd.sbrg.escher.converter.SBML2Escher lambda$null$4 --- INFO: adding segments: rg: glyph_rnR00235_1, srg: glyph_ACSS_3, reaction: 177898851
Exception in thread "main" java.lang.NullPointerException
at edu.ucsd.sbrg.escher.EscherConverter.writeEscherJson(EscherConverter.java:697)
at edu.ucsd.sbrg.escher.EscherConverter.convert(EscherConverter.java:478)
at edu.ucsd.sbrg.escher.EscherConverter.batchProcess(EscherConverter.java:333)
at edu.ucsd.sbrg.escher.EscherConverter.commandLineMode(EscherConverter.java:385)
at de.zbit.Launcher.launchCommandLineMode(Launcher.java:725)
at de.zbit.Launcher.run(Launcher.java:862)
at de.zbit.Launcher.<init>(Launcher.java:211)
at edu.ucsd.sbrg.escher.EscherConverter.<init>(EscherConverter.java:264)
at edu.ucsd.sbrg.escher.EscherConverter.main(EscherConverter.java:254)
I am running the following command java -jar EscherConverter-1.2.0.jar --input=hsa00630.sbml --output=hsa00630.json --format=Escher --log-level=ALL --gui=FALSE
@draeger I was able to fix the above error by setting the label-height and label-width parameters.
Thanks for the help.
Well done!
Hi, I get a
WARNING: java.lang.IllegalArgumentException: Invalid label bounds
error when I am trying to convert my SBML file to a map JSON file. I used KeggTranslator to convert a KGML file to SBML_L3V1. Then am using the EscherConverter to convert it to JSON map file to put into Escher. Yet I get the following error:I have also attached my output from KeggTranslator.
hsa00630.sbml.zip
Any help is much appreciated.