Commit Graph

64 Commits

Author SHA1 Message Date
Greg Landrum
b0268d4631 Additional fingerprint documentation (#2506)
* document some of the fingerprints

* more FP details

* adjustments to the GettingStarted doc

* cleanup
2019-06-25 10:27:24 -04:00
Greg Landrum
4f71f0b9f7 Add Python2 warning. 2019-03-05 10:24:40 +01:00
Greg Landrum
213b776251 Stop building against python2 in travis (#2134)
* remove python2 from travis

* more python2 removal
2018-11-03 04:55:23 +01:00
Greg Landrum
1be160baaa Fixes #2057 (#2091)
* Fixes #2057
docs still need to be updated

* docs update

* Update getting started doc.
This still needs to have the doctests run and should probably be
proofread and tweaked

* some doc updates

* change in response to review
2018-10-05 08:18:44 -04:00
Greg Landrum
bcd3afe5e2 port fingerprint bit rendering code from CheTo (#2008)
* add basic fingerprint bit rendering code
This was inspired by/adapted from the CheTo code from Nadine

* add some tests

* add documentation
add option to control which example of the bit is used
2018-09-05 06:45:06 +02:00
Greg Landrum
66f5ca123d Fix github1973: support optional inclusion of S and P contributions to TPSA (#1977)
* Fixes #1973

* document the default behavior along with how to access the new stuff
2018-07-30 10:16:34 -04:00
Greg Landrum
d9b06a733b Fixes #1936 (#1945)
* Fixes #1936
doctests of the book still need to be verified

* a fix that is related to #1940

* add test for what was actually reported
2018-07-05 11:53:54 -04:00
Greg Landrum
b3ddf131a0 Switch Python API documentation generation over to Sphinx autodoc (#1849)
* first pass at something that kind of works

* no need to document sping

* add some imported modules

* forgot to add this before

* switch to using a file per module

* disable the old api copy

* update the way links are handled

* stop auto-running doctests (sigh)
2018-05-16 08:43:59 +02:00
Greg Landrum
76fd65efa0 update docs for release for release (#1802)
* update doctests

* update doctests

* update for release
2018-04-02 05:11:31 +02:00
Greg Landrum
d15efc1ac9 Make the defaults for some functions less error prone. (#1690)
* auto generate coords in mol block writer if includeChirality = True

* default to include chirality when writing mol blocks/files

* make isomeric smiles the default; note that not all tests are passing at the moment

* update a reaction test

* update expected cartridge search results
at this point all python, c++, and cartridge tests pass

* docs

* update incompatibility docs

* update doctests

* these now build

* minor example update

* update expected c++

* typo

* make allowCXSMILES=true the default

* add auto perception of chirality when reading 3D structures from mol blocks

* explain changes in release notes

* further doc update
2017-12-22 08:09:36 -05:00
Greg Landrum
51b5ef89cc Add a collection of new 3D descriptors (#1467)
* 3D Descriptors Dragons

* stripped down, not yet working

* get this building on a non C++-11 compiler

* move the python test to the python directory

* move the python test to the python directory

* add the python test

* now at least those tests runn

* warning comment

* some basic refactoring and cleanup

* get python wrapper "working" (completely untested)

* fix Name

* fixing AutoCorr & RDF

* AutoCorr test added
* RDF reviewed based on AutoCorr comments

* fix Morse code

* Morse reviewed

* Correct Morse & start Getaway

* correct MORSE test
* start Getaway clean up

* simplification of Whim

* better

* fix Getaway

* fix RCON

* merge repaired

* adding Dragon 2D autocorrelations descriptors

* fix the 3D autocorrelation descriptors based on the modification in
Dragon.
* Adding the 2D autocorrelation descriptors (no need of Eigen
dependency for this one)
* Adding 2D test case
* IState … no idea for the moment
* there is an error in 2D computation (memory error ???)

* fix the IState for molecules with Hs

* need to use getTotalNumHs(true) not getTotalNumHs()
* also need to remove Hs in both dv and d!

* fixing Rcov values

I fix the Rcov values

* fix Getaway

* remove push_back
* remove call to sum
* improve tests

* fix getaway

* adding precision parameter to GETAWAY
* adding rouding (1e-3)

* fix WHIM

* use void in declarations of function
* update MolDescriptors link

* remove print option in WHIM

* fix python wrapper to 3D descriptors.

- all modifications reduce computation time by a factor of 3!

* final fix for Getaway

* all output are fixed except the 2 first values due to clustering
approach.
* cluster cannot be fixed du tu float precision issue between Java &
c++

* best fix of ITH and ISH

* use the same algorithm as in Dragon 6 but there is still a deviation

* remove std::move

* std:move only works on c++ 11

* fixing issue based on Greg Comments

* auto2D still not working on my env

* update 3d test.py

* auto 2D not working after the first loop test

* tighten up the tests

* change name

* update, but still does not pass

* make this run (though it does not work)

* re-enable test3D

* some cleanup

* add GETAWAY test data. Note that the tests fail

* fix the ATS and ATSC autocorrelation 2D

Broto Moreau and Geary autocorrelation are not correct again a specificity of Dragon to compute them. The result are not consistant with Padel because we use the relative weigth not in Padel.

* one minor change to get things to compile

* fix the M & G matrix computation

fix inversion in the computation of the equations for both M & G matrixes

* update autocorr2d tests

* 192 examples

* fix issue in cluster 0.01 0.009 case

this is not correct all the cases

* update GETAWAY expected values to reflect the fact that we cannot reproduce the literature values exactly
fix a leak in GETAWAY

* fix the negative values in gamma

this is strickly the implementation that we find in the book molecular descriptors for chemoinformatics (except the case where an atom is already in the axis in this case it should be added in the symetric list which is not the case in this implementation)

* Update WHIM.cpp

adding the axis atoms to the symetrical list

* update WHIM tests

* add AUTOCORR2D to MolDescriptors and the python wrappers

* start adding tests

* test the python versions of the new descriptors

* update list of descriptors
2017-07-02 11:28:48 +02:00
David Cosgrove
fcc2e226ff Get started c++ (#1285)
* Start of GettingStartedInC++ documentation.

* Changed GettingStartedInC++ from rst to markdown format. Added some more text.

* Added Working with Molecules to GettingStartedInC++

* Expanded on behaviour of Kekulize wrt clearing aromatic flags on atoms and bonds.

* Added section Modifying Molecules.

* More plodding progress.

* A load more documentation.

* Undid change to global CMakeLists.txt

* Minor editing of docs.

* Changed examples so they use RDBASE to find test data rather than relative
path.

* Fixed use of -std=c++ in CMakeLists.txt. Extra waffling about memory.

* Modifications to examples and documentation as requested.

* Couple of minor changes.

* Change to example11.cpp and associated text in docs.
2017-03-30 04:50:53 +02:00
Greg Landrum
bada20dbaf Expose new default parameter objects to python (#1150)
* Fix a bug in the python DistGeom tests.

* test new features

* add simple parameter objects for ETDG, ETKDG, and KDG

* Update conformation generation documentation to use the new parameter objects.
2016-11-06 10:17:47 +01:00
Greg Landrum
cd9994d7b0 Documentation update. (#1100)
* update overview.md

* switch to using the MD docs when possible (works thanks to commonmark and recommonmark);
Fixes #1079

* doc update

* doc update
2016-10-14 11:37:01 -04:00
Greg Landrum
3d7b09cb8c doc updates from Dave Cosgrove (#1060) 2016-09-10 19:36:40 +02:00
Greg Landrum
4d17f8a4ec Dev/doc updates 2 sept (#1055)
* doc update from Dave Cosgrove

* update contrib docs

* actually do something with .gitignore
2016-09-02 16:02:04 +02:00
Greg Landrum
958298db34 final doc update
switch the demo screenshot for tab completion to jupyter
2016-04-18 08:24:18 +02:00
Greg Landrum
b30542c166 get doctests working with py27 again 2015-11-05 05:04:27 +01:00
Greg Landrum
70ed89ce61 get doctests working with py3 2015-11-05 04:54:35 +01:00
Greg Landrum
41d30443c3 change output image names 2015-09-21 17:58:24 +02:00
Greg Landrum
3b4a653c69 add implementation language 2015-09-21 17:31:05 +02:00
Greg Landrum
eda9602a11 copyright update 2015-09-21 17:05:13 +02:00
Greg Landrum
b55b4f951d doc update 2015-09-21 17:03:38 +02:00
Greg Landrum
46fbc78027 doc update 2015-09-21 16:40:23 +02:00
Greg Landrum
e72bcef156 update a doctest 2015-04-17 04:22:36 +02:00
Greg Landrum
3eda01daa8 update doctests to match new canonicalization 2015-04-11 07:31:55 +02:00
Greg Landrum
800799abb0 doc update 2015-04-09 04:43:15 +01:00
Greg Landrum
1caef95f82 update docs to show RWMol instead of EditableMol 2015-03-21 07:18:20 +01:00
Greg Landrum
a1f61caa72 doc update 2015-03-04 14:48:02 +01:00
Sereina
55f874c9fe Description of 3D functionality including torsion fingerprints added 2014-11-04 10:13:00 +01:00
Greg Landrum
cfffaf7a70 update docs for rdFMCS 2014-08-09 07:26:21 +02:00
Greg Landrum
659aa45768 doc cleanup 2014-04-06 05:54:01 +02:00
Greg Landrum
b142c586df fix a doctest failure 2014-02-08 07:43:09 +01:00
Greg Landrum
433b19f948 update descriptors list 2013-11-15 13:15:48 +01:00
Greg Landrum
fbf8a516a5 Fixes #146 2013-11-06 07:09:45 +01:00
Greg Landrum
4a08bb72c6 add docs for FragmentOnBonds() 2013-10-30 05:19:29 +01:00
Greg Landrum
8b9f987fd6 docs update 2013-10-22 07:24:06 +02:00
Greg Landrum
874f45c3c8 Merge pull request #125 from sriniker/master
Documentation of similarity maps and scikit-learn
2013-10-07 03:45:45 -07:00
sriniker
cd86af607b Update GettingStartedInPython.rst
Reference added for similarity maps.
2013-10-07 11:02:48 +02:00
Sereina Riniker
88133c7378 code fixes in documentation of similarity maps 2013-10-07 10:40:57 +02:00
sriniker
c39d6250ff Update GettingStartedInPython.rst
update on similarity maps
2013-10-07 10:23:31 +02:00
sriniker
43998d4fd0 Update GettingStartedInPython.rst
similarity maps for descriptors
2013-10-04 14:58:58 +02:00
sriniker
67fa61fb39 Update GettingStartedInPython.rst
Description of similarity maps
2013-10-04 12:55:48 +02:00
sriniker
50faf3cc4d Update GettingStartedInPython.rst
Description of similarity maps added.
2013-10-04 12:16:46 +02:00
ptosco
1957baadb0 - replaced the call to sanitizeMMFFMol() in the MMFFMolProperties
constructor (which is overkill, if the molecule had already been
  sanitized) with a call to MolOps::Kekulize(). Thus it is not
  necessary to call Kekulize() either from Python or from C++,
  and no changes are required to the scripts/source codes
  previously used for UFF
- removed the code which throws an exception asking to reload the
  molecule with sanitize=false since it is not necessary:
  only one test in the MMFF validation suite fails if the
  molecule is aromatized and then re-kekulized (CIKSEU10), and
  it represents a case where the position of double bonds in
  a conjugated, non-aromatic system makes a difference for atom
  type assignments, which in general is a nonsense. This is not
  due to a bug in the code, but rather depends on MMFF atom
  typing rules. Hence, I kept the sanitize=false and the call to
  sanitizeMMFFMol() in testMMFFForceField.cpp, but I would not
  generalize this requirement to "normal" molecules, because it
  is really not necessary, since you do not have a reference
  kekulization to refer to in the real world.
- updated Docs/Book/GettingStartedInPython.rst accordingly
- updated tests accordingly
2013-10-01 23:16:15 +02:00
Greg Landrum
ff85e5b5e6 this is a smarter way of doing things 2013-09-30 05:22:17 +02:00
Greg Landrum
3f9b3bbece add a bit of MMFF to the getting started doc 2013-09-29 12:24:33 +02:00
Greg Landrum
589cc4ca06 update doctests 2013-09-21 15:54:53 +02:00
Greg Landrum
1ac48b6242 docs update 2013-07-05 04:55:38 +02:00
Greg Landrum
0e408e14bf docs update 2013-04-15 14:55:39 +00:00