Opened 14 months ago
Closed 14 months ago
#15808 closed defect (nonchimerax)
JSON from Mol 2.0 desktop version
Reported by: | Owned by: | Tom Goddard | |
---|---|---|---|
Priority: | moderate | Milestone: | |
Component: | Input/Output | Version: | |
Keywords: | Cc: | Elaine Meng | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
Hi Elaine,
The desktop version provides an XML file. I converted this to a JSON using the XML to JSON Converter (codeshack.io)
I attached the XML and the respective JSON file to the email.
The specific bug is " molepore-7sqf.json does not look like Mole Online json file, does not contain Channels."
Thank you for you help
Respectfully,
Nicholas
Nicholas Koylass
Ph.D. Candidate, Department of Physiology, Qiu Lab
XDBio Graduate Program
Johns Hopkins School of Medicine
nkoylas1@…
From: Elaine Meng <meng@…>
Sent: Wednesday, August 21, 2024 11:05 AM
To: Nicholas Koylass <nkoylas1@…>
Cc: chimerax-users@… <chimerax-users@…>
Subject: Re: [chimerax-users] Mol 2.0 desktop version
External Email - Use Caution
Hi Nicholas,
Not all JSON is the same, and it is also unclear how you converted from XML to JSON. The ability to read JSON specifically from the MOLE Online server and to interpret it as channel data was added to ChimeraX, but if you have some other JSON it may not be simple to convert it to what the MOLE Online JSON reader expects. (We have also added readers for other specific kinds of JSON files such as PAE information from AlphaFold 3.) It is a very broad file specification.
Does the desktop MOLE version give you a json file, or does it only give you an XML file? If so, how did you convert it to JSON? You could use menu: Help... Report a Bug and describe the issue (including the answers to these questions) and most importantly, attach an example JSON file, but it's not really a bug. We could open a ticket and take a look, but I can't promise that you will be able to use that file in the future. We might also ask for the XML if that's what the program actually gives you.
I hope this helps,
Elaine
Elaine C. Meng, Ph.D.
UCSF Chimera(X) team
Resource for Biocomputing, Visualization, and Informatics
Department of Pharmaceutical Chemistry
University of California, San Francisco
On Aug 20, 2024, at 10:31 PM, Nicholas Koylass via ChimeraX-users <chimerax-users@…> wrote:
Good day,
I am trying to interface ChimeraX with a XML file that was converted to json to perform MOLE Channel Coloring by Property.
However, I did not use the mole server. I used the desktop version since the server was unavailable. Thus, I received this error : molepore-7sqf.json does not look like Mole Online json file, does not contain Channels.
Can anyone assist me with this?
Thanks,
Respectfully,
Nicholas
Attachments (3)
Change History (5)
by , 14 months ago
Attachment: | molepore-7sqf.json added |
---|
by , 14 months ago
comment:1 by , 14 months ago
comment:2 by , 14 months ago
Resolution: | → nonchimerax |
---|---|
Status: | assigned → closed |
Your problems are all with getting proper JSON output from MOLE, not with ChimeraX. I can't help you with that as I don't know anything about the MOLE software except for the JSON produces by the online server.
by , 14 months ago
Attachment: | mole_channels_2H7dDEh6BkSlW2aEJRL4g_1.json added |
---|
Example of a correctly formatted JSON file from the MOLE online server for PDB 1tqn.
Your converted MOLE XML file to JSON does not match the format produced by the moleonline server. I'll attach an example JSON file from the server so you can look at its contents and understand that better. Also the conversion of your attached XML to JSON lost almost all of the data from the XML file. For instance here are lines from your attached XML file
while lines from your converted JSON file contain only