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, 1515🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1004985 Names: InChIKey: KYNSBQPICQTCGU-UHFFFAOYS A-NSMILES: C2=Cc1ccccc1O...
What Are CTfile (Chemical Table File) and CTAB (Connection Table)? CTfile (Chemical Table File) refe...
Molecule Summary: ID: FYI-1003680 Names: PENTANE; InChIKey: OFBQJSOFQDEBGM-UHFFFAOYS A-NSMILES: CCCC...
Molecule Summary: ID: FYI-1002865 Names: InChIKey: VQGHOUODWALEFC-UHFFFAOYS A-NSMILES: c2ccc(c1ccccn...
Molecule Summary: ID: FYI-1003436 Names: InChIKey: YSUUIPAGPVQNSM-UHFFFAOYS A-NSMILES: COc1ccc2c(c1)...