I am having 3D structure in SDF format and I want to convert that into XML format. Can someone please let me know how I do this.
Also if I have an InChI whose structure is not in pubchem how do I get its 3D structure in XML format.
|
1
|
|
|
|
|
|
Which XML format? CML? If so, use Babel on the command-line
You can also use babel to convert an InChI to CML with 3D coordinates. I'll do it first without the --gen3D flag, to show that there are no coordinates:
and then with --gen3D to show the coordinates to show the 3D coordinates:
|
||
|