Posted: Thu Nov 29, 2012 10:57 pmPost subject: Hide impilict hydrogen in Markush structures
Hi, We have Markush structures from patents stored in database as Blob, these are chemdraw files (.cdx) , I can read these blobs out and using toBinFormat to convert the molecule to png image. However the implicit H attached to C alwyas shown. I attemped to remove them but no success. I am using JChem 5.8.2 API. Following is my code snippet. I also observed that when I load the chemdraw file into Marvin view, initially the H is also shown, and I have to do View->Implicit Hydrogens -> Off to hide them. I have also attached the chemdraw structure I tried. In addition the circles around A, B, C atoms in chemdraw also got remvoed from the image generated from toBinFormat. Can you let me know how I can remove the H's
This is really boiled down to how to prevent the impilict H shows up in the image generated from toBinFormat, does anyone know how to do this through API? As I said in Marvin Viewer you can do View->Impilicit H ->Off to achieve this
bzaicsek ChemAxon personnel
Joined: 10 Oct 2012
it works great, now the implicit H are hidden. I am not that familiar with the Marvin format syntax. However the circles around A, B in original ChemDraw files are gone. I suppose Marvin does not suport the shape from ChemDraw. In Markush the circles and eclipse are quite common. It would be nice those lines can be converted by Marvin as well.
Eufrozina ChemAxon personnel
Joined: 13 Dec 2010
Sorry for the late answer, I needed time to think it over.
First, we discussed with the CORE team that "the circles around A, B in original ChemDraw files are gone" and they agreed: it is a bug occurs during cdx import and they will fix it. The fix is targeted for version 5.12.1.
Concerning drawing and displaying this circles you can draw them, using "Insert">"Graphics">"Ellipse" option from the menu. Please check the attached file. Would this solution work for you?
Thanks for the response. I usually do not draw the funacy stuff in Marvin Sketcher, most of the chemists do that when they describe the reaction schemes. It would be nice if Marvin can transcribe all the information in the drawing. Good to know you added it to the list.
Peter ChemAxon personnel
Joined: 28 Feb 2008
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum