Commit Graph

5 Commits

Author SHA1 Message Date
Nadine Schneider
33f9906572 Chemical reactions: allow canonical order in reaction smiles 2015-04-10 09:47:15 +02:00
Brian Kelley
95a92282d1 Dictionary access is saniztized and optimized.
o rdkit gains a RDKit::common_properties namespace that contains common string value properties

 o Dict.h and below gain getPropIfPresent that attempts to retrieve a property and returns
  true/false on success or failure.  This is used to optimize access.

 o rdkit learns how to pass property keys by reference, not value.

A new namespace has been added to RDKit, common_properties
that contains the std::string values for commonly used
properties.  This helps to avoid typos in string values
but also avoids a creation of std::strings from character
values.  All accessors (has/get/clear and getPropIfPresent) now pass
the key by reference.

Additionally, getPropIfPresent removes the double lookup
of hasProp/getProp which can be a significant speedup
in the smiles and smarts parsers (10-20%)
2015-01-15 12:23:29 -05:00
Schneider
8aac978f1b ChemReactions: Extented functionality of chemical reactions
- Module to generate reaction fingerprints: structural FP for screening,
  difference FP for similarity search
- Add some utility functions to simplify handling of reactions
- Add new functionality to include agents in the reactions, some adaptions
  to parsers and writers had to be done
- Supports intra-bond breaks in products now
- Molecules with rxn role (atom property) can be parse as reaction now
2014-08-19 13:08:11 +02:00
Greg Landrum
46bfbba903 make sure to convert atoms from rxn files into queries;
add reaction depiction;
add ChemicalReactionToRxnBlock();
This stuff needs more testing and so far has only been built on linux.
2010-06-17 05:57:18 +00:00
Greg Landrum
fbf3e51f07 add ability to write reactions as SMARTS; RXN files still need to be done 2010-06-07 04:26:19 +00:00