Home » DataWarrior » Bug Reports » Substructure search and stereochemistry
Substructure search and stereochemistry [message #268] Tue, 09 May 2017 16:42 Go to next message
Messages: 7
Registered: August 2015
Junior Member
Hi Thomas,

I recently ran into an issue while performing substructure searches using DataWarrior's filtering tools. If you search for a specific enantiomer, the result will return both the stereochemistry you were looking for AND its enantiomer, assuming one exists in the file.

It's possible that this is a user error as well and there is some search parameter I am missing. For your convenience, I have attached a very simple file with only three molecules. If you paste one of the chiral molecules into the search box, it does filter out benzene, but not the other chiral molecule.

One other note - I'm not sure how difficult it is, but it would be great if you supported https on your website!

Thank you so much for your continued work on this tool!

Best regards,
Re: Substructure search and stereochemistry [message #273 is a reply to message #268] Sat, 27 May 2017 15:46 Go to previous messageGo to next message
thomas is currently offline  thomas
Messages: 179
Registered: June 2014
Senior Member
Hi Andrew,

the default for substructure searches with stereo centers is to match all configurations. In order to find one enantiomer only, you need to set the query feature 'match stereo center' for the those stereo centers you intend to match. For that you select the lasso tool in the editor and double click a stereo center. The query feature dialg opens and lets you define query features.

For stereo center matching DataWarrior works as originally suggested by MDL, when they explained their concept of 'Enhanced Stereo Representation': an absolute configuration in the query matches only that configuration. An racemic configuration in the query matches racemic, but also both absolute configurations. That means a less specific query also matches more specific configurations in searched molecules.

Concerning HTTPS: I is since some time on my agenda, but it is a matter of priorities. DataWarrior downloads are already HTTPS, because they use dropbox. For me this was the most important point.

Best wishes, Thomas
Re: Substructure search and stereochemistry [message #291 is a reply to message #273] Wed, 03 January 2018 21:27 Go to previous message
Messages: 7
Registered: August 2015
Junior Member

Thanks for the explanation of stereo searching - that was a subtlety that I hadn't run into before.

Previous Topic: Incomplete SMILES related to double bonds
Next Topic: Structure issues from smiles when opening text files
Goto Forum:

Current Time: Sat Feb 23 16:41:53 CET 2019

Total time taken to generate the page: 0.00355 seconds