Collections:
Substructure Search with Wildcard Atom "*"
How to use Wildcard Atom in a substructure search using "babel" commands?
✍: FYIcenter.com
You can use "*" in a SMARTS string as a wildcard atom to represent "ANY" atom
in a substructure search using "babel" commands.
Here are some examples of substructure matching with a wildcard atom "*" in the molecule pattern:
fyicenter$ obabel "-:c1cc(ccc1CC(C(=O)O)N)O" -o smiles -s O=CO c1cc(ccc1CC(C(=O)O)N)O 1 molecule converted fyicenter$ obabel "-:c1cc(ccc1CC(C(=O)O)N)O" -o smiles -s O=CC c1cc(ccc1CC(C(=O)O)N)O 1 molecule converted fyicenter$ obabel "-:c1cc(ccc1CC(C(=O)O)N)O" -o smiles -s O=C* c1cc(ccc1CC(C(=O)O)N)O 1 molecule converted fyicenter$ obabel "-:c1cc(ccc1CC(C(=O)O)N)O" -o smiles -s O=C*N c1cc(ccc1CC(C(=O)O)N)O 1 molecule converted fyicenter$ obabel "-:c1cc(ccc1CC(C(=O)O)N)O" -o smiles -s O=C*C c1cc(ccc1CC(C(=O)O)N)O 1 molecule converted fyicenter$ obabel "-:c1cc(ccc1CC(C(=O)O)N)O" -o smiles -s O=C** c1cc(ccc1CC(C(=O)O)N)O 1 molecule converted fyicenter$ obabel "-:c1cc(ccc1CC(C(=O)O)N)O" -o smiles -s O=C**ccccO c1cc(ccc1CC(C(=O)O)N)O 1 molecule converted fyicenter$ obabel "-:c1cc(ccc1CC(C(=O)O)N)O" -o smiles -s O=C******O c1cc(ccc1CC(C(=O)O)N)O 1 molecule converted fyicenter$ obabel "-:c1cc(ccc1CC(C(=O)O)N)O" -o smiles -s O=*******O c1cc(ccc1CC(C(=O)O)N)O 1 molecule converted
You can validate the above matching result by looking at the tyrosine molecule structure below:
⇒ Substructure Search with Wildcard Bond "~"
⇐ "babel -s ..." Command - Substructure Search
2020-06-08, 1692🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1002200 Names: InChIKey: YUFRMYCKBZEYKU-JSKKQJDMS A-NSMILES: COc6cccc(C5C1...
Molecule Summary: ID: FYI-1000950 SMILES: CCCCCc3cc(O)c2C1C=C(C)CC C1C(C)(C)Oc2c3Received at FYIcent...
Molecule Summary: ID: FYI-1002578 Names: InChIKey: CBJXSIMXJKDGBS-UHFFFAOYS A-NSMILES: Cc4cnc(NC(=O)...
Molecule Summary: ID: FYI-1000953 SMILES: C(\\\\N=N/C1=NCCN1)C1=CC =CC(=C1)C1=CN2C=C(\\\\C= N\\\\NC3=N...
Molecule Summary: ID: FYI-1005055 Names: InChIKey: VWWQXMAJTJZDQX-UYBVJOGSS A-NSMILES: Cc6cc5nc1c(=O...