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, 1196🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1001815 SMILES: CCCN(CC)C(=O)C1=CC(=CC=C 1Cl)S(=O)(=O)NC1=CC=CC=C 1Received...
Molecule Summary: ID: FYI-1000353 SMILES: Cc1cn(c(=O)[nH]c1=O)[C@H ]2C[C@H]([C@@H](O2)CO)OReceived a...
Molecule Summary: ID: FYI-1000456 SMILES: CCN(CCCC(C)NC1=C2C=CC(=C C2=NC=C1)Cl)CCOReceived at FYIcen...
Molecule Summary: ID: FYI-1000305 SMILES: CCc1ccc(O)c(/N=N/c2ccc(C )cc2C)c1Received at FYIcenter.com...
Molecule Summary: ID: FYI-1003755 Names: InChIKey: ZPXCCKNCXXASHV-HMMYKYKNS A-NSMILES: Cc2nn(C(=O)c1...