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, 1289🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1002202 Names: InChIKey: FYXKMVWBJZYXCE-FLGRVFGAS A-NSMILES: O=C2c1ccccc1C...
Molecule Summary: ID: FYI-1001804 SMILES: CC(COCC(C)OC(=O)C1=CC=CC =C1)OC(=O)C2=CC=CC=C2Received at ...
Molecule Summary: ID: FYI-1001913 SMILES: S[C@@H](C(N[C@H]1C(N2[C@ @H](CCC[C@@H]2SCC1)C(OC) =O)=O)=O)C...
Molecule Summary: ID: FYI-1001349 SMILES: C1=CC=C(C=C1)C(=O)N Received at FYIcenter.com on: 2022-06-...
Molecule Summary: ID: FYI-1000267 SMILES: N[17C@@](F)([18C])C(=[19 O])OReceived at FYIcenter.com on:...