Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple RDKitConverter #2775

Merged
merged 107 commits into from
Aug 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
90fccce
simple converter
Jun 19, 2020
ba0f89e
add PDB residue info and guessers
Jun 22, 2020
b54ec60
fix 2 letter atom names and fix bond order
Jun 24, 2020
ac38ceb
test mol2 topology and pdb info
Jun 24, 2020
de5560b
autopep8
Jun 25, 2020
b00dee3
fix code review
Jun 25, 2020
495217d
store other attributes in each atom
Jun 25, 2020
eb5d365
more tests on topology + pep8
Jun 25, 2020
1774963
fix other props type
Jun 26, 2020
81eea81
bond order and charges
Jun 26, 2020
6d6a65b
fix indentation and bonds with atoms outside of atomgroup
Jun 26, 2020
cf0706c
fix test
Jun 26, 2020
d41fa5b
fix test minimal build
Jun 29, 2020
fe27f0b
add icodes to MonomerInfo
Jun 29, 2020
3590113
better attributes conversion
Jun 29, 2020
2d79014
test mda to rdkit MonomerInfo conversion
Jun 29, 2020
df660b7
Merge branch 'rdkit-converter' into rdkit-sanitize
Jun 29, 2020
68dc7ca
test mda to rdkit MonomerInfo conversion
Jun 29, 2020
f57e9e6
docs
Jun 29, 2020
99da261
fix minimal deps test
Jun 29, 2020
18a05ab
fix for minimal deps tests 🙏
Jun 30, 2020
1c14478
use util functions
Jun 30, 2020
5493fd1
Merge branch 'develop' into rdkit-converter
Jun 30, 2020
f5c798a
move min deps test up
Jun 30, 2020
558f7cd
capitalize elements by default
Jun 30, 2020
984f507
store index in MDA object
Jul 1, 2020
e582e63
fetch singular from _TOPOLOGY_ATTRS
Jul 1, 2020
931a81b
updated changelog
Jul 2, 2020
c432ea9
use ag intersection for bonds instead of try except
Jul 3, 2020
b0c39eb
more tests + pep8
Jul 3, 2020
7b002f1
Merge branch 'develop' into rdkit-converter
Jul 3, 2020
dc0c276
fix test for numpy 1.13.3
Jul 6, 2020
6b8cd9d
Merge branch 'rdkit-converter' of https://github.com/cbouy/mdanalysis…
Jul 6, 2020
0fd38b0
docs + pep8
Jul 7, 2020
25ee227
fix too long atom names in PDB output
Jul 7, 2020
cfce278
table of supported attributes for the converter
Jul 7, 2020
3717f57
changelog convention
Jul 7, 2020
499010a
catch no bonds
Jul 7, 2020
9604b6a
use match in pytest.raises and pytest.warns
Jul 7, 2020
30871ab
remove bondtype attribute
Jul 8, 2020
9c0a42e
fix bond attributes
Jul 8, 2020
66d644d
Merge branch 'rdkit-sanitize' into rdkit-converter
Jul 8, 2020
1bbfb09
simplified the code for infering
Jul 8, 2020
4a79cfd
include negative charges
Jul 9, 2020
bd88908
skip failing test for now
Jul 10, 2020
d9e088e
new test
Jul 10, 2020
f6aa736
update doc
Jul 10, 2020
b943af1
standardize groups
Jul 13, 2020
0105419
fix tests
Jul 13, 2020
7168e2d
add previously failing tests
Jul 13, 2020
de324fd
Merge branch 'develop' into rdkit-converter
Jul 13, 2020
d1f06f3
simpler pattern standardization
Jul 14, 2020
5a661f8
more tests on inferring and patterns
Jul 14, 2020
6e9c221
test atom properties and reaction mapping
Jul 14, 2020
b02fef6
fix docs
Jul 14, 2020
67dc9c2
Merge branch 'rdkit-converter' of https://github.com/cbouy/mdanalysis…
Jul 14, 2020
c8acda0
fix minimal build tests
Jul 15, 2020
9defa40
pep8
Jul 15, 2020
39ae42b
bfactors as TempFactor
Jul 15, 2020
ff45d3b
Update CHANGELOG
Jul 15, 2020
7d7f3f2
pep8
Jul 16, 2020
9d895bc
Merge branch 'rdkit-converter' of https://github.com/cbouy/mdanalysis…
Jul 16, 2020
f3f6f01
pep8
Jul 16, 2020
5d342db
no hydrogen warning
Jul 16, 2020
eff29a2
quickfix for polycyclic conjugated systems
Jul 17, 2020
5a37d84
Merge branch 'develop' into rdkit-converter
Jul 17, 2020
ca07796
save any atom property instead of just the ones tagged with "_MDAnaly…
Jul 20, 2020
28d04ed
general solution
Jul 21, 2020
ae73aff
back to old method for conjugated systems
Jul 21, 2020
8eaebbd
Merge branch 'rdkit-converter' of https://github.com/cbouy/mdanalysis…
Jul 21, 2020
425369e
Merge branch 'develop' into rdkit-converter
Jul 22, 2020
d6cd44d
added "RDKit" in changelog
Jul 22, 2020
1398f8c
fix when first atom is charged
Jul 22, 2020
e71a686
working general solution to conjugated systems
Jul 22, 2020
925bd7f
pep8
Jul 22, 2020
5a24ff6
Merge branch 'rdkit-converter' of https://github.com/cbouy/mdanalysis…
Jul 22, 2020
e5282f3
for loop instead of while
Jul 22, 2020
b7ac69e
bugfix for conjugated system with N at one edge
Jul 23, 2020
aba4b1b
fix typos
Jul 27, 2020
49f3bff
fix test for min deps
Jul 27, 2020
70cce99
use indirect parametrization
Jul 27, 2020
e82cf0a
add coordinates + tests + fix index property
Jul 29, 2020
3427c3c
cache the molecule and only update conformers when iterating trajectory
Jul 29, 2020
5218daa
update docs
Jul 30, 2020
3313b56
add kwargs to the cache key
Jul 30, 2020
a72a51b
use fstrings
Jul 31, 2020
76102fb
Merge branch 'develop' into rdkit-converter
orbeckst Aug 7, 2020
b9a25b2
Merge branch 'develop' into rdkit-converter
Aug 10, 2020
cec1f68
cache kwarg + fix cache tests
Aug 10, 2020
75f6262
Merge branch 'rdkit-converter' of https://github.com/cbouy/mdanalysis…
Aug 10, 2020
6c4c123
fix code review + improve docs
Aug 13, 2020
cdb60b2
improve doc
Aug 13, 2020
ebd0416
add test nan in coordinates
Aug 13, 2020
a1aab5b
warn nan coordinates
Aug 13, 2020
dcb8f33
end of code review
Aug 13, 2020
47b2755
corrections to smarts patterns for reactions
Aug 14, 2020
89efcd3
sort atoms by NUE + more standardization tests
Aug 14, 2020
a595e69
pdb atom names formating
Aug 14, 2020
f394e72
test RDKit->MDA->RDKit->MDA equal
Aug 14, 2020
e525e41
tackle conjugated systems ending with O-
Aug 14, 2020
9e22681
docs + pep8
Aug 14, 2020
eaf6887
tests
Aug 14, 2020
ded60c0
add max_iter kwarg
Aug 14, 2020
c18c7cd
Merge branch 'develop' into rdkit-converter
Aug 14, 2020
4ed0483
reorder docstring standardize_patterns
Aug 14, 2020
d288e87
Merge branch 'rdkit-converter' of https://github.com/cbouy/mdanalysis…
Aug 14, 2020
4e49616
fix doc build
Aug 14, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions package/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ Enhancements
* Added new kwargs `select_remove` and `select_protein` to
analysis.dihedrals.Janin analysis to give user more fine grained control
over selections (PR #2899)
* Added an RDKit converter that works for any input with all hydrogens
explicit in the topology (Issue #2468, PR #2775)

Changes
* deprecated NumPy type aliases have been replaced with their actual types
Expand Down
769 changes: 751 additions & 18 deletions package/MDAnalysis/coordinates/RDKit.py

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions package/doc/sphinx/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,4 +346,5 @@
'https://gsd.readthedocs.io/en/stable/': None,
'https://parmed.github.io/ParmEd/html/': None,
'https://docs.h5py.org/en/stable': None,
'https://www.rdkit.org/docs/': None,
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ you will have to specify a package name (case-insensitive). ::
:maxdepth: 1

converters/ParmEdParser
converters/RDKitParser

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.. automodule:: MDAnalysis.topology.RDKitParser

.. automodule:: MDAnalysis.coordinates.RDKit

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ topology file format in the *topology_format* keyword argument to
topology/PDBQTParser
topology/PQRParser
topology/PSFParser
topology/RDKitParser
topology/TOPParser
topology/TPRParser
topology/TXYZParser
Expand Down
Loading