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, 1494🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1000204 SMILES: CC1=CC(=C(C=C1)OP(=O)(OC 2=C(C=C(C=C2)C)C)OC3=C(C =C(C=C3)C)...
Molecule Summary: ID: FYI-1002755 Names: InChIKey: WHNZSVRXMJNGSP-WCIJRFJHS A-OSMILES: COc%12ccc(C3n...
Molecule Summary: ID: FYI-1001097 SMILES: C1CCC1 Received at FYIcenter.com on: 2021-12-24
Molecule Summary: ID: FYI-1001887 SMILES: CC1=C(C(=CC2=CC3=C(C(=C1 2)O)C(=O)C4(C(=O)C=C(C(C 4(C3=O)O)O...
Molecule Summary: ID: FYI-1004187 Names: InChIKey: LIVPWPZSZPGONZ-UHFFFAOYS A-NSMILES: Cc1ccccc1.Cc1...