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, 1400🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1004788 Names: InChIKey: HCZHHEIFKROPDY-UHFFFAOYS A-NSMILES: O=C(O)c2cc(=O...
Molecule Summary: ID: FYI-1001165 SMILES: Clc1ccc(O)c(c1)C1=NNC(=S )N1CC=CReceived at FYIcenter.com ...
Molecule Summary: ID: FYI-1004491 Names: InChIKey: DIBFUHLKAXUCBS-ZKXVPKOES A-NSMILES: CC(=O)N[C@@H]...
Molecule Summary: ID: FYI-1003228 Names: InChIKey: BTZVKSVLFLRBRE-UHFFFAOYS A-NSMILES: COC(C)COC(C)=...
Molecule Summary: ID: FYI-1014509 Names: InChIKey: ZNOYSGHPKOLDRJ-QZTJIDSGS A-NSMILES: OC[C@@H](O)CO...