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, 982👍, 0💬
Popular Posts:
What Is "obfit" command? How to use it to Superimpose Two Molecules? "obfit" command is a command li...
What options are offered in Parity Code to support stereoinformation in SDF/Mol V2000 and V3000 file...
What Is Stereochemistry? Stereochemistry is the study of stereoisomers, which are molecules having s...
How stereoinformation is being read from input data by Open Babel? Most molecule data files store st...
Molecule Summary: ID: FYI-1000175 SMILES: C#Cc1ccc(C(=O)CCCC(C)(C) N)cc1Received at FYIcenter.com on...