Collections:
"babel ... -o svg -xi" - Show Atom Indices in SVG
How to show atom indices in a molecule SVG picture? I want to see in what order each atom is listed in the SMILES string.
✍: FYIcenter.com
The SMILES string list each atom a molecule is a specific sequence.
You can use the "-xi" option when generating the SVG file
to show the index of each atom
corresponding to the order of atoms in the SMILES string.
For example, the following command generate a SVG picture of the tyrosine molecule from a SMILES string:
fyicenter$ obabel "-:c1cc(ccc1CC(C(=O)O)N)O" -o svg -O tyrosine-i.svg -xi 1 molecule converted
Open the output file, tyrosine-i.svg, in a Web browser, you see tyrosine molecule structure displayed with SMILES index number on each atom.
⇒ "babel ... -o svg -xS" - Ball/Stick Depiction in SVG
⇐ "obabel ... -o svg" Command - Generate SVG from SMILES
2021-02-04, 1602🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1004117 Names: InChIKey: QBCUUJGHWFKMDC-UHFFFAOYS A-NSMILES: CC(=O)C(O)Cc1...
Molecule Summary: ID: FYI-1001980 SMILES: CC(CCOC(=O)C=C)OC(=O)C=C Received at FYIcenter.com on: 202...
What is PubChem PUG REST API? PubChem PUG REST API is a Web interface for accessing PubChem data and...
Molecule Summary: ID: FYI-1003471 Names: InChIKey: OGWKCGZFUXNPDA-UHFFFAOYS A-NSMILES: CCC9(O)CC8CN(...
Molecule Summary: ID: FYI-1000335 SMILES: C[C@@](c1cc(cc(c1)F)F)(C (=O)OC)NC[C@H]2CCCO2Received at F...