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, 2055🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1005712 Names: InChIKey: MHVHENVPJCQIMJ-NRZRNPRQS A-NSMILES: CCN3C[C@H](C(...
Molecule Summary: ID: FYI-1002859 Names: InChIKey: HZSYWLUXRWAWOM-UHFFFAOYS A-NSMILES: NS(=O)(=O)c1c...
Molecule Summary: ID: FYI-1004310 Names: InChIKey: QCKHLGQHPZOJEN-GQCTYLIAS A-NSMILES: O=c2c(/C=C/c1...
Molecule Summary: ID: FYI-1001616 SMILES: N(C(=O)C=1C(C(F)F)=NN(C) C1)C2=C3C4C(C(C)C)C(C3=C C=C2)CC4R...
Molecule Summary: ID: FYI-1004803 Names: DIMETHYL ETHER; InChIKey: LCGLNKUTAGEVQW-UHFFFAOYS A-NSMILE...