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, 1060🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1001131 SMILES: CC1=CC=C(C=C1)[S](=O)(=O )N[C@H](CC2=NN=C3[N]2N=C (CS3)C4=CC...
Molecule Summary: ID: FYI-1001343 SMILES: Clc1ccc2c(c1)C(=O)C(=O)N 2Received at FYIcenter.com on: 20...
Molecule Summary: ID: FYI-1001813 SMILES: CC1CCC2CC(C(=CC=CC=CC(CC (C(=O)C(C(C(=CC(C(=O)CC( OC(=O)C3CC...
Molecule Summary: ID: FYI-1000463 SMILES: c12c([C@H]([C@@H]([C@H]( O1)c1ccc(c(c1)O)O)O)c1c3 c([C@@H]([...
How to use SMARTS expressions in a substructure search using "babel" commands? You can use SMARTS ex...