Collections:
Substructure Search with Wildcard Bond "~"
How to use Wildcard Bond in a substructure search using "babel" commands?
✍: FYIcenter.com
You can use "~" in a SMARTS string as a wildcard bond to represent "ANY" bond
in a substructure search using "babel" commands.
Here are some examples of substructure matching with a wildcard bond "~" in the molecule pattern:
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 c1cc(ccc1CC(C(=O)O)N)O 1 molecule converted fyicenter$ obabel "-:c1cc(ccc1CC(C(=O)O)N)O" -o smiles -s O#C 0 molecules 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~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~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~C~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~C~C~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~C~C~c~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~C~C~c~c~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~C~C~c~c~c~c~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 Atom "*"
2020-06-08, 1780🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1002974 Names: InChIKey: MDMNESSPJXSHMV-UHFFFAOYS A-NSMILES: C=C[Si](OC)(O...
Molecule Summary: ID: FYI-1006066 Names: InChIKey: UWMIUCLSFRSFIM-QWQFASRJS A-OSMILES: C[C@H]6CCC[N@...
Molecule Summary: ID: FYI-1002050 Names: MOTRIN; ADVIL; IBUPROFEN; InChIKey: HEFNNWSXXWATRW-UHFFFAOY. ..
Molecule Summary: ID: FYI-1003638 Names: InChIKey: DONHHCGFNMNGPH-GYIPPJPDS A-NSMILES: CCCCC/C=C/CCC...
Molecule Summary: ID: FYI-1001004 SMILES: C Received at FYIcenter.com on: 2021-09-26