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, 858👍, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1000180 SMILES: O=C1N[C@H](C)CNC2=C1SC(C =C3)=C2C4=C3N=C(OC5=NC(C l)=NC=C5CO...
What are the options for installing Open Babel on macOS computers? There are a number of options for...
Molecule Summary: ID: FYI-1000952 SMILES: O[Si](=O)[O-].O[Si](=O)[ O-].[O-][Si](=O)[O-].[O- ][Si](=O)[...
What is ebi.ac.uk ChEMBL Compound Database? ebi.ac.uk ChEMBL Compound Database contains about 2,000,...
What Is PyMol? PyMol is a powerful molecule visualization software with the following main features:...