-
-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for 3D RNA Graphs (#165)
* add RNA atomic edge funcs * add RNA 3D constants * add bpRNA parser * add Ryan's Nussinov algo implementation * add radius of gyration feature * add positional encoding of sequence * update docstrings and add interface subgraphs * docstring * rm unused import * add rich as a base requirement * update version string * black * add additional RNA tests * update rna docs * finalise RNA tutorial with 3D structures * merge * add edge funcs * add RNA graphs * add rna subgraphs * add rna features * update rna constants * resolve circular import * move edge funcs to submodule * make subgraphs editable downstream * set node size multiplier to a saner default * add smiles test file * use rich-click for cli, minor linting * add distance edges * add RNA visualisation * add nussinov test * use rich-click instead of click * add rna test structure * skip nussinov cell to avoid timeout * simplify af2 structure retrieval #168 * add plddt colouring for AF2 * linting * bugfixes for AF2 * add edge distance func * add graph feats to docs * add fully connected and distance window edges * remove erroneous import * add molecule features * add conformer generation and fragment graphs * update top level init with version and loguru logging * update changelog * black, isort * add loguru as dependency * fix edge construction funcs * fix rdkit util tests * fix tests * fix tests * try converting everything to tensor * fix edge distance func * fix conversion * add zinc & chembl utils * add molecule modelling tutorial.ipynb * add smilite dependency * fix notebook test * remove tests for molecule tutorial * update requirements * isort * add sequence homology splitting * update docs * rollback nx version * fix blast * fix blast * add antibody tutorial * update notebook for docs * fix dataset readme tables * add notebooks * update notebooks and docs * remove antibody_dev example * add line graph * update rna tests * update CLI * update ML utils * add dynamics features * add degree oh * fix naming * add naming changes to RNA * update molecule utils * update chain graph tutorial * update intersphinx mappings * isort * black * fix test * skip inconsistent mol test * skip zinc tests * add skip to ppi graph test if HGNC unavailable * remove debug cell * pin nx version * remove nx version pin * pin mpl chord dependency * proper HETATM handling * add pyg visualisation * resolve dataframe handling * update to tutorial for df handling * restore plddt vis * pin scipy version for plots * unpin scipy dependency * skip API calls in tutorials * update changelog * update version to 1.5.0rc1
- Loading branch information
Showing
87 changed files
with
745,405 additions
and
20,719 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
biovec | ||
propy3 | ||
pyaaisc | ||
mpl_chord_diagram | ||
rdkit-pypi | ||
mpl_chord_diagram==0.3.2 | ||
rdkit-pypi | ||
selfies | ||
smilite |
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 @@ | ||
.. mdinclude:: ../../datasets/README.md |
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
Datasets | ||
============== | ||
|
||
.. include:: dataset_readme.rst | ||
|
||
|
||
Summaries | ||
|
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,22 @@ | ||
============== | ||
Examples | ||
============== | ||
|
||
|
||
Proteins | ||
--------- | ||
.. toctree:: | ||
:maxdepth: 2 | ||
:glob: | ||
|
||
notebooks/tdc_developability.nblink | ||
|
||
|
||
Molecules | ||
---------- | ||
.. toctree:: | ||
:maxdepth: 2 | ||
:glob: | ||
|
||
notebooks/molecule_model_tutorial_tox.nblink | ||
notebooks/splitting_a_dataset.nblink |
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
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,3 @@ | ||
{ | ||
"path": "../../../notebooks/molecule_model_tutorial_tox.ipynb" | ||
} |
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,3 @@ | ||
{ | ||
"path": "../../../notebooks/molecules_from_zinc_and_chembl.ipynb" | ||
} |
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,3 @@ | ||
{ | ||
"path": "../../../notebooks/splitting_a_dataset.ipynb" | ||
} |
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,3 @@ | ||
{ | ||
"path": "../../../notebooks/tdc_developability.ipynb" | ||
} |
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 |
---|---|---|
@@ -1,18 +1,22 @@ | ||
from graphein.utils.utils import * | ||
|
||
# Graphein | ||
# Author: Arian Jamasb <[email protected]> | ||
# License: BSD 3 clause | ||
# Code Repository: https://github.com/a-r-j/graphein | ||
from .protein import * | ||
from .rna import * | ||
from .testing import * | ||
from loguru import logger | ||
from rich.logging import RichHandler | ||
|
||
# from ._version import get_versions | ||
from graphein.utils.utils import * | ||
|
||
# from .protein import * | ||
# from .rna import * | ||
from .testing import * | ||
|
||
__author__ = "Arian Jamasb <[email protected]>" | ||
__version__ = "1.5.0rc1" | ||
|
||
|
||
__version__ = "1.4.0" # get_versions()["version"] | ||
# del get_versions | ||
logger.configure( | ||
handlers=[ | ||
{"sink": RichHandler(rich_tracebacks=True), "format": "{message}"} | ||
] | ||
) |
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
Oops, something went wrong.