-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed 'modules/core/dependency/python-ihm/' changes from c75b4bdd9…
…5..29985eda1e 29985eda1e Update copyright year 78b985e34c Fix use of Sphinx data:: 0c3d63071b Improve cross linker docs e2decbe80d Fix documentation of cross-linkers b57bc554d4 Add a module with commonly-used cross-linkers 5d46a680dc Test ChemDescriptors referenced by restraints 2883917c4a Use chemical descriptors in cross link restraints 3552247632 Fix typo 826dc56f30 Add basic support for chemical descriptors 1768608ab5 Fix typo 0bb0e3a048 ihm_feature_pseudo_site -> ihm_pseudo_site_feature 6cec1809b4 Add support for pseudo sites 756ebed7d6 Use trusty for Python 2.6 builds 8b8b554ba7 Check to see if Travis works with Python 3.7 now 4c9485782e Prepare for 0.4 release git-subtree-dir: modules/core/dependency/python-ihm git-subtree-split: 29985eda1e1e73a27a8d75c7ed43926eed6008d2
- Loading branch information
Showing
19 changed files
with
395 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
.. highlight:: rest | ||
|
||
.. _cross_linkers_module: | ||
|
||
The :mod:`ihm.cross_linkers` Python module | ||
========================================== | ||
|
||
.. automodule:: ihm.cross_linkers | ||
|
||
.. data:: dss | ||
|
||
DSS cross-linker that links a primary amine with another primary amine. | ||
|
||
.. data:: edc | ||
|
||
EDC cross-linker that links a carboxyl group with a primary amine. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,7 @@ API Reference: | |
representation | ||
geometry | ||
restraint | ||
cross_linkers | ||
protocol | ||
analysis | ||
model | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,3 +77,6 @@ The :mod:`ihm` Python module | |
|
||
.. autoclass:: Assembly | ||
:members: | ||
|
||
.. autoclass:: ChemDescriptor | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
"""Chemical descriptors of commonly-used cross-linkers. | ||
Each of these is an instance of the :class:`ihm.ChemDescriptor` class, | ||
and so can be used anywhere these objects are required, generally for | ||
:class:`ihm.restraint.CrossLinkRestraint`. | ||
""" | ||
|
||
import ihm | ||
|
||
dss = ihm.ChemDescriptor('DSS', chemical_name='disuccinimidyl suberate', | ||
smiles='C1CC(=O)N(C1=O)OC(=O)CCCCCCC(=O)ON2C(=O)CCC2=O', | ||
inchi='1S/C16H20N2O8/c19-11-7-8-12(20)17(11)25-15(23)5-' | ||
'3-1-2-4-6-16(24)26-18-13(21)9-10-14(18)22/h1-10H2', | ||
inchi_key='ZWIBGKZDAWNIFC-UHFFFAOYSA-N') | ||
|
||
edc = ihm.ChemDescriptor('EDC', | ||
chemical_name='1-ethyl-3-(3-dimethylaminopropyl)carbodiimide', | ||
smiles='CCN=C=NCCCN(C)C', | ||
inchi='1S/C8H17N3/c1-4-9-8-10-6-5-7-11(2)3/h4-7H2,1-3H3', | ||
inchi_key='LMDZBCPBFSXMTL-UHFFFAOYSA-N') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.