125 Commits

Author SHA1 Message Date
iwatobipen
82ed7a16a2 Add Fast cluster script (#1683)
* add Fastcluster

* readme

* readme

* readme

* readme

* readme

* readme

* readme

* example

* Update README.md

These are just a few minor changes

* revise fastcluster

* revise code

* .gitignore

* revise code

* remove gitignore and revised sdf2smi.py with SmilesMolWriter
2018-01-21 07:18:38 +01:00
Axel Pahl
4c26511cb6 NP Likeness with confidence value (#1608)
* NP Likeness with confidence value
added a scoring variant with an additional confidence value between 0..1
that describes how many fragments of the tested compound were found in the model data set.

* fixed indentation

* added some documentation

* namedtuple, no rounding

* other changes to module as requested by reviewer
* replaced occurrences of sys.stderr.write by print
2017-11-15 06:43:41 +01:00
Greg Landrum
9dbfbab111 Fixes #1406 (#1408)
* Fixes #1406

* Fixes #1406
2017-05-08 08:02:58 +02:00
gedeck
bb707f9e02 Python 3 compatibility (issue #398) (#1192)
* Replace xrange with range or import from rdkit.six

* Remove use of string.lower

* The import of xrange in MolSurf added it to the Descriptors._descList
2016-12-16 08:11:28 +01:00
Greg Landrum
36cbc6f49b Merge pull request #1185 from NadineSchneider/RxnRoleAssignmentPaper_Sep2016
Rxn role assignment code
2016-11-29 15:52:04 +01:00
NadineSchneider
a47d2252ed Update README.txt 2016-11-28 10:17:10 +01:00
Brian Kelley
fa89438358 Dev/reaction enumeration (#1111)
* Adds C++ Enumeration Engine to the RDKit

* Adds Sanitization helpers, wrappers and tests

* Clang format

* Remove unused enumerationStateOnly flag

* Fixes docStrings to current API

* Adds doc strings

* Removes RGroupPosition, adds getPosition to EnumerationBase

* Fixes readability.

* Adds EnumerateLibraryBase::reset and getReaction

* Added getReagents method to EnumerateLibrary

* Make the tests have the same naming

* Need to save the initial state for resetting.

* Stupid case-insensitive file systems

* Moves ResetState to EnumerateLibraryBase

* Adds removeNonmatchingReagents helper

* Renames currentPosition to getPosition

* Adds Enumeration Toolkit tutorial

* Fixes Python3 serialization and enumerators

* Verified to run on python2 and 3

* Fixes integer issues on windows

* The number of enumeration should be unsigned.

* Adds deserialization constructor

* Moves boost_serialization to the end

* Deprecates Clone in favor of copy

* Update tests to use copy.copy not Clone

* Move RGROUPS and BBS into an EnumerationTypes namespace

* Make sure old pickles work

* Adds pickle for backwards compatibility

* Moves to uint64_t from size_t for public api

* Whups, accidentally used the binary archiver.

* Commits boost 1.55 serialization

* Makes serialization turnoffable Like Filter Catalog

* Fixes tests when serialization not available.  Adds more enumeration strategy tests

* Fixes a syntax error on some versions of python

* Fixes sanitizeRxn to actually make proper RGroup atoms

* Updates SanitizeRXN python API

* Updates Enumeration API to a parameter class - fixes reagent removal

* Adds a mess of tests

* Change stats to return a string.

* Exposes EvenPairSamplingStrategy Stats to python

* Fixes a crash bug in SanitizeRxn

* Adds better testing of the even pair sampling

* Fixes namespace

* One more try to fix gcc

* Enum classes are c++11 and a microsoft extension.

* Fix typo

* Fixes np.median for python3

* Fixes atom iterators

* Adds virtual tags to derived virtual functions (for clarity)

* Fixes size comparison issues

* Adds doc string

* Small cleanup (has no effect since flags aren’t used)

* fixes crash bug on windows

* get the tests working on windows

* Updates tutorial

* Adds Glare implementation to Contrib
2016-11-05 14:42:52 +01:00
gedeck
4580160e37 Replace has_key use in Python (#issue1042) (#1132)
* Replaced all uses of dict.has_key(key) in Python code - part 1

* Replaced all uses of dict.has_key(key) in Python code - part 1

* Replaced all uses of dict.has_key(key) in Python code - part 2 (sping)
2016-10-29 04:41:57 +02:00
gedeck
e9af48ffd7 Issue1071/yapf (#1078)
* Issue #1071: add yapf configuration file

* yapf formatting of Code directory

* yapf formatting of Contrib directory

* yapf formatting of Data directory

* yapf formatting of Docs directory

* yapf formatting of External directory

* yapf formatting of Projects directory

* yapf formatting of Regress directory

* yapf formatting of Scripts directory

* yapf formatting of Web directory

* yapf formatting of rdkit directory
2016-09-23 04:58:46 +02:00
Nadine Schneider
dd947a65c0 Add reaction role assignment functionality to the RDKit Contrib 2016-09-19 13:56:07 +02:00
Greg Landrum
67339cfa3b add python3 compatibility (#1057) 2016-09-09 15:15:57 +02:00
Richard Hall
9768025ffa added an implementation of the Gobbi Atom-Atom-Path (AAP) similarity metric (#1015) 2016-08-10 11:57:32 +02:00
Paolo Tosco
b35538599f - Added AMBER trajectory reader and relevant tests 2016-04-16 20:28:45 +01:00
Axel Pahl
a9d3d9966c * removed op alias 2016-03-05 18:10:25 +01:00
Axel Pahl
14f4f165c6 * made Python3 compatible
* modified load path for the publicnp.model file to enable import of the module from other locations
2016-03-04 14:28:49 +01:00
Matt Swain
97f6783f80 Fix ConformerParser to use const std::string &
In #627, `readAmberTrajectory` in ConformerParser.h is updated to use `const std::string &`. This updates the corresponding method in ConformerParser.cpp to match. I needed to do this to compile RDKit with contrib.
2016-01-19 14:06:45 +00:00
Greg Landrum
ad7c54aec7 first-pass python implementation of this 2015-12-02 17:43:24 +01:00
Greg Landrum
465dc2c5c7 Python3 compatibility fix for NPScore 2015-11-27 15:36:35 +01:00
Greg Landrum
2513e73465 merge mmpa branch 2015-10-30 04:45:58 +01:00
Greg Landrum
1cde397acb merge commit 2015-10-30 02:58:46 +01:00
Brian Kelley
6ebbeb3bd3 Major conversion of std::string API to const std::string & 2015-09-25 15:15:59 -04:00
Greg Landrum
26b3722e7b move SA_scorer over to using the C++ defns 2015-09-21 13:50:55 +02:00
Andrew Dalke
36299f16b2 removed bare except but did not test because I don't have the 'requests' library 2015-09-07 13:08:07 +02:00
Greg Landrum
f074551d04 fix a bug that wouldn't allow nspcore to be used like a library 2015-09-03 07:23:32 +02:00
Greg Landrum
3a850616b5 Add first version of Peter Ertl's natural-produce likeness score 2015-08-26 15:00:41 +02:00
Greg Landrum
e28ff48100 remove the outf parameter 2015-08-19 06:15:51 +02:00
Axel Pahl
c7778cb52c - changed sascorer.py to enable import from different location 2015-08-18 17:58:50 +02:00
Greg Landrum
d0ec392006 Fixes #564
Tested with the commands in readme.txt
2015-08-14 04:24:14 +02:00
Greg Landrum
98c4750bae Fixes #561
patch from Andrew Dalke
2015-08-14 04:12:39 +02:00
Greg Landrum
91f8c1e19d switch to using rdMMPA; note that this currently does *not* return the same results 2015-07-15 15:35:43 +02:00
Riccardo Vianello
95f60d21bc python3 portability fixes for pandas and the ipython notebook 2014-09-11 23:49:45 +02:00
Sereina Riniker
754f9c3e9f ConformerParser updated 2014-04-09 08:30:06 +02:00
Sereina Riniker
d54a35c8b4 option to build Contrib with RDKit added 2014-04-08 09:38:45 +02:00
Sereina Riniker
d333b047e4 ConformerParser updated 2014-04-08 09:03:32 +02:00
Sereina Riniker
56cd8e89fb ConformerParser updated 2014-04-07 17:02:32 +02:00
Sereina Riniker
b3a2a6fffb ConformerParser updated 2014-04-07 15:03:42 +02:00
Sereina Riniker
6c0d7ec564 ConformerParser updated 2014-04-07 13:54:11 +02:00
Sereina Riniker
6a67bb81d9 ConformerParser moved to Contrib 2014-04-07 12:59:13 +02:00
pzc
370f758a48 Train ChEMBL-based models 2014-02-03 16:29:40 +01:00
pzc
9180ca288b Documentation 2014-02-03 16:26:36 +01:00
pzc
bc2b988cad added p_con.py 2014-02-03 12:58:05 +01:00
pzc
ca56904303 renamed test to test3 2014-02-03 12:53:58 +01:00
Maltos
eb43c80b48 new Class-File to create Models and predict activity using Model for Compounds of Accession-Number or SDF-File 2014-01-31 12:37:28 +01:00
maltos
aab4872819 Create readme.md 2014-01-27 13:49:26 +01:00
Greg Landrum
4a5744a09f move base fraggle similarity code to rdkit.Chem.Fraggle 2013-10-22 07:32:37 +02:00
Greg Landrum
74a44124df move base fraggle similarity code to rdkit.Chem.Fraggle 2013-10-22 07:31:20 +02:00
Greg Landrum
4862fa9095 rename FraggleLib -> FraggleSim 2013-10-15 07:39:21 +02:00
Greg Landrum
87f2b3cee0 add some tests and a GetFraggleSimilarity() function 2013-10-15 07:32:27 +02:00
Greg Landrum
26d44ee7f5 more cleanup 2013-10-15 07:10:44 +02:00
Greg Landrum
54c9054ca9 efficiency 2013-10-15 07:00:04 +02:00