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

Add tensor parsing util #244

Merged
merged 127 commits into from
Jan 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
127 commits
Select commit Hold shift + click to select a range
1e99c01
Add tensor parsing util
a-r-j Dec 9, 2022
7526d99
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 9, 2022
7f43d74
add missing arg comma
a-r-j Dec 9, 2022
33026a8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 9, 2022
b99f06f
Add backbone check util
a-r-j Dec 12, 2022
5cc92d9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 12, 2022
cf1c7f4
linting
a-r-j Dec 12, 2022
69693b9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 12, 2022
fa5d86d
add chain tensor
a-r-j Dec 17, 2022
b533786
add test for io utils
a-r-j Dec 18, 2022
e9d4f6a
fix loguru import
a-r-j Dec 18, 2022
b9c183d
add torchtyping dependency
a-r-j Dec 18, 2022
1d181b1
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 18, 2022
1bb94e7
fix import message import
a-r-j Dec 18, 2022
f7c6141
Merge branch 'tensor_utils' of https://www.github.com/a-r-j/graphein …
a-r-j Dec 18, 2022
66bdfe5
add tests for angle utils
a-r-j Dec 19, 2022
83296ed
add tests for angle utils
a-r-j Dec 19, 2022
58584e8
add tests for tensor parsing
a-r-j Dec 21, 2022
8492a61
add tests for tensor parsing
a-r-j Dec 21, 2022
8059bcb
add sidechain atom groups
a-r-j Dec 21, 2022
059d188
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 21, 2022
c52acc4
add io tests
a-r-j Jan 2, 2023
8b9750b
add geometry tests
a-r-j Jan 2, 2023
4fca9bd
Merge branch 'tensor_utils' of https://www.github.com/a-r-j/graphein …
a-r-j Jan 2, 2023
8b1a5e3
add geom ad sequence mnodules
a-r-j Jan 2, 2023
a882125
add test for inferring sequence from coordinates
a-r-j Jan 4, 2023
2e8de26
add einops as an optional dependecy
a-r-j Jan 4, 2023
f5526ed
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 4, 2023
5aa15b6
add sequence inference utils
a-r-j Jan 4, 2023
ac86009
add data testing utils
a-r-j Jan 4, 2023
2094264
Merge branch 'tensor_utils' of https://www.github.com/a-r-j/graphein …
a-r-j Jan 4, 2023
dd1458b
add nan util
a-r-j Jan 4, 2023
ac34e9b
add angle computation utils
a-r-j Jan 4, 2023
c637049
add test for distmat reconstruction
a-r-j Jan 6, 2023
927d6de
wrap torch imports
a-r-j Jan 6, 2023
25227db
wrap imports
a-r-j Jan 6, 2023
355402d
wrap imports
a-r-j Jan 6, 2023
7f631ec
add representation utils
a-r-j Jan 6, 2023
9647bcd
wrap torch-dependent tests
a-r-j Jan 6, 2023
adcf47d
add edge tensor type
a-r-j Jan 6, 2023
20747ee
update changelog
a-r-j Jan 6, 2023
eb2cc05
add build params
a-r-j Jan 6, 2023
9d3d719
add updated angles script
a-r-j Jan 6, 2023
4d0912a
add graphein package test
a-r-j Jan 6, 2023
d9d87b1
wrap imports
a-r-j Jan 6, 2023
0157530
add plotting utils
a-r-j Jan 8, 2023
b0a08ff
push tensor utils
a-r-j Jan 8, 2023
6fd345d
update centering default args
a-r-j Jan 8, 2023
fc6947e
add reconstruction utils
a-r-j Jan 8, 2023
edf3421
add data objects
a-r-j Jan 8, 2023
3532196
add PyG dep
a-r-j Jan 9, 2023
0f5fde2
add PyG dep
a-r-j Jan 9, 2023
38672b2
add PyG dep
a-r-j Jan 9, 2023
fd14ff3
add PyG dep
a-r-j Jan 9, 2023
16a00e9
add PyG dep
a-r-j Jan 9, 2023
d8d3f79
add PyG dep
a-r-j Jan 9, 2023
0594758
add PyG dep
a-r-j Jan 9, 2023
d9eaf57
add PyG dep
a-r-j Jan 9, 2023
2e8e474
add pnerf
a-r-j Jan 9, 2023
bc0adab
update nx to numpy array to support 3.0
a-r-j Jan 9, 2023
ae0f483
fix kabsch test
a-r-j Jan 9, 2023
5004244
fix centering masking
a-r-j Jan 9, 2023
ebed037
remove nx.info - deprecated in nx 3.0
a-r-j Jan 9, 2023
cf3437f
rm gpickle reference - deprecated in nx 3.0
a-r-j Jan 9, 2023
4743b45
rm gpickle reference - deprecated in nx 3.0
a-r-j Jan 9, 2023
4c28f89
fix nx 3.0 adjacency issues
a-r-j Jan 9, 2023
e18bc62
fix for nx 3.0
a-r-j Jan 9, 2023
d93887c
ignore tensor tests for minimal build
a-r-j Jan 9, 2023
f069a87
ignore tensor tests for minimal build
a-r-j Jan 9, 2023
8919a5c
add additional docs
a-r-j Jan 11, 2023
b38ae4e
add additional testin utils
a-r-j Jan 11, 2023
2acd209
add docstrings to plot
a-r-j Jan 11, 2023
ebaf423
finish sequence docstrings
a-r-j Jan 11, 2023
ac17093
add notimplemented errors and todos
a-r-j Jan 11, 2023
aaf745a
finalise io
a-r-j Jan 11, 2023
9a96633
add tensor submodule to docs
a-r-j Jan 11, 2023
01f1161
add edges
a-r-j Jan 12, 2023
899ae4d
update license year
a-r-j Jan 12, 2023
ec8021a
add documented code
a-r-j Jan 12, 2023
fa1efb2
add documented code and edge funcs
a-r-j Jan 12, 2023
7ee4bf0
add updated tests
a-r-j Jan 12, 2023
986679c
update doc config
a-r-j Jan 12, 2023
64e4322
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 12, 2023
659cb5d
add additional constants
a-r-j Jan 12, 2023
62c82f4
Merge branch 'tensor_utils' of https://www.github.com/a-r-j/graphein …
a-r-j Jan 12, 2023
bcb801e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 12, 2023
5db50f2
fix test
a-r-j Jan 13, 2023
bf427af
Merge branch 'tensor_utils' of https://www.github.com/a-r-j/graphein …
a-r-j Jan 13, 2023
fdcb681
update changelog
a-r-j Jan 13, 2023
04b12a0
update readme
a-r-j Jan 13, 2023
1a051db
update docstrings
a-r-j Jan 13, 2023
9df4b8b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 13, 2023
b8ff8df
update docstrings
a-r-j Jan 13, 2023
f8d491a
update docstrings
a-r-j Jan 13, 2023
6b7e9ad
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 13, 2023
c31dd2e
bump license year
a-r-j Jan 14, 2023
6d6396b
fix angle dims
a-r-j Jan 14, 2023
682cb90
add noising and plotting
a-r-j Jan 14, 2023
012fd45
add node id to plots
a-r-j Jan 14, 2023
02ff7c0
add esmfold util
a-r-j Jan 14, 2023
7e7580a
add noise util
a-r-j Jan 14, 2023
494801d
Add structural metrics (#245)
a-r-j Jan 20, 2023
1530153
add dataloader
a-r-j Jan 25, 2023
ece5825
add folding utils
a-r-j Jan 26, 2023
f7a72eb
Merge branch 'tensor_utils' of https://www.github.com/a-r-j/graphein …
a-r-j Jan 26, 2023
f467ee1
update readme
a-r-j Jan 27, 2023
62b68a1
add docs
a-r-j Jan 27, 2023
2936c1b
add tutorial notebooks
a-r-j Jan 27, 2023
68fa522
add fasta parsing util
a-r-j Jan 27, 2023
6661fe5
add data updates
a-r-j Jan 27, 2023
d47b733
fix df output
a-r-j Jan 27, 2023
5331854
Merge branch 'tensor_utils' of https://www.github.com/a-r-j/graphein …
a-r-j Jan 27, 2023
b4f084d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 27, 2023
474e0c9
remove DL-dependent notebooks from minimal install test
a-r-j Jan 27, 2023
06026c4
Merge branch 'tensor_utils' of https://www.github.com/a-r-j/graphein …
a-r-j Jan 27, 2023
ccc07e8
add watermark
a-r-j Jan 27, 2023
57b0a47
rm dataloaders from test
a-r-j Jan 27, 2023
6b10cfe
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 27, 2023
a10f9ff
fix typo in inc_dict attr
a-r-j Jan 27, 2023
533f127
Merge branch 'tensor_utils' of https://www.github.com/a-r-j/graphein …
a-r-j Jan 27, 2023
50c789e
add doc dep install to build
a-r-j Jan 27, 2023
1b9c3d0
fix typo
a-r-j Jan 29, 2023
e861145
remove wildcard pyyaml version
a-r-j Jan 29, 2023
c9dde87
add try/except for atomic peptide bonds
a-r-j Jan 29, 2023
ed463a4
Merge branch 'master' into tensor_utils
a-r-j Jan 29, 2023
1c7447b
update tensor tutorial
a-r-j Jan 30, 2023
58829a0
Merge branch 'tensor_utils' of https://www.github.com/a-r-j/graphein …
a-r-j Jan 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
51 changes: 28 additions & 23 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,26 @@ jobs:
runs-on: ubuntu-18.04
strategy:
matrix:
python-version: [3.7, 3.8]
torch: [1.6.0, 1.7.0, 1.8.0, 1.9.0]
include:
- torch: 1.6.0
torchvision: 0.7.0
- torch: 1.7.0
torchvision: 0.8.1
- torch: 1.8.0
torchvision: 0.9.0
- torch: 1.9.0
torchvision: 0.10.0
- torch: 1.8.0
torchvision: 0.9.0
python-version: 3.9
- torch: 1.9.0
torchvision: 0.10.0
python-version: 3.8
- torch: 1.9.0
torchvision: 0.10.0
python-version: 3.9
python-version: [3.8, 3.9]
torch: [1.12.0, 1.13.0]
#include:
# - torch: 1.6.0
# torchvision: 0.7.0
# - torch: 1.7.0
# torchvision: 0.8.1
# - torch: 1.8.0
# torchvision: 0.9.0
# - torch: 1.9.0
# torchvision: 0.10.0
# - torch: 1.8.0
# torchvision: 0.9.0
# python-version: 3.9
# - torch: 1.9.0
# torchvision: 0.10.0
# python-version: 3.8
# - torch: 1.9.0
# torchvision: 0.10.0
# python-version: 3.9
steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand All @@ -44,7 +44,7 @@ jobs:
uses: s-weigand/setup-conda@v1
with:
python-version: ${{ matrix.python-version }}
conda-channels: "conda-forge, salilab"
conda-channels: "conda-forge, salilab, pytorch, pyg"

#- name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v2
Expand All @@ -57,7 +57,10 @@ jobs:
- name: Install DSSP
run: conda install -c salilab dssp
- name: Install PyTorch
run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html
run: conda install -c pytorch pytorch==${{matrix.torch}} cpuonly
#run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html
- name: Install PyG
run: conda install -c pyg pyg
- name: Install BLAST
run: sudo apt install ncbi-blast+
- name: Install Graphein
Expand All @@ -66,7 +69,9 @@ jobs:
run: pip install -r .requirements/extras.in
- name: Install Dev Dependencies
run: pip install -r .requirements/dev.in
- name: Install doc dependencies
run: pip install -r .requirements/docs.in
- name: Run unit tests and generate coverage report
run: pytest .
- name: Test notebook execution
run: pytest --nbval-lax notebooks/ --current-env --ignore-glob="notebooks/dataloader_tutorial.ipynb"
run: pytest --nbval-lax notebooks/ --current-env --ignore-glob="notebooks/dataloader_tutorial.ipynb" --ignore-glob="notebooks/datasets_and_dataloaders.ipynb"
4 changes: 2 additions & 2 deletions .github/workflows/minimal__install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ jobs:
- name: Install Dev Dependencies
run: pip install -r .requirements/dev.in
- name: Run unit tests and generate coverage report
run: pytest .
run: pytest . --ignore-glob="tests/protein/tensor"
- name: Test notebook execution
run: pytest --nbval-lax notebooks/ --current-env --ignore-glob="notebooks/dataloader_tutorial.ipynb" --ignore-glob="notebooks/higher_order_graphs.ipynb" --ignore-glob="notebooks/protein_graph_analytics.ipynb" --ignore-glob="notebooks/subgraphing_tutorial.ipynb" --ignore-glob="notebooks/splitting_a_dataset.ipynb"
run: pytest --nbval-lax notebooks/ --current-env --ignore-glob="notebooks/dataloader_tutorial.ipynb" --ignore-glob="notebooks/higher_order_graphs.ipynb" --ignore-glob="notebooks/protein_graph_analytics.ipynb" --ignore-glob="notebooks/subgraphing_tutorial.ipynb" --ignore-glob="notebooks/splitting_a_dataset.ipynb" --ignore-glob="notebooks/protein_tensors.ipynb" --ignore-glob="notebooks/datasets_and_dataloaders.ipynb"
3 changes: 2 additions & 1 deletion .requirements/base.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ pydantic
rich
rich-click
seaborn
pyyaml>=5.1,<6.*
pyyaml>=5.1,<6.0
scikit-learn
scipy
tqdm
typing_extensions
wget
xarray
torchtyping
1 change: 1 addition & 0 deletions .requirements/docs.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ sphinx-inline-tabs
sphinxext-opengraph
sphinxcontrib-gtagjs
ipython
watermark
1 change: 1 addition & 0 deletions .requirements/extras.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ mpl_chord_diagram==0.3.2
rdkit
selfies
smilite
einops
21 changes: 20 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
### 1.5.3 - UNRELEASED
### 1.6.0dev - UNRELEASED

#### New Features
* [Metrics] - [#245](https://github.com/a-r-j/graphein/pull/221) Adds a selection of structural metrics relevant to protein structures.
* [Tensor Operations] - [#244](https://github.com/a-r-j/graphein/pull/244) Adds suite of utilities for working directly with tensor-based representations of proteins (graphein.protein.tensor).
* [Tensor Operations] - [#244](https://github.com/a-r-j/graphein/pull/244) Adds suite of utilities for working with ESMfold (graphein.protein.folding_utils).



#### Improvements

* [Logging] - [#221](https://github.com/a-r-j/graphein/pull/221) Adds global control of logging with `graphein.verbose(enabled=False)`.
* [Logging] - [#242](https://github.com/a-r-j/graphein/pull/242) Adds control of protein graph construction logging. Resolves [#238](https://github.com/a-r-j/graphein/issues/238)

Expand All @@ -14,6 +21,18 @@
* [Bugfix] - [#220](https://github.com/a-r-j/graphein/pull/220) Fixes edge metadata conversion to PyG. Contribution by @manonreau.
* [Bugfix] - [#220](https://github.com/a-r-j/graphein/pull/220) Fixes centroid atom grouping & avoids unnecessary edge computation where none are found. Contribution by @manonreau.


#### Documentation
* [Tensor Module] - [#244](https://github.com/a-r-j/graphein/pull/244) Documents new graphein.protein.tensor module.
* [CI] - [#244](https://github.com/a-r-j/graphein/pull/244) Updates to intersphinx maps


#### Package
* [CI] - [#244](https://github.com/a-r-j/graphein/pull/244) CI now runs for python 3.8, 3.9 and torch 1.12.0 and 1.13.0
* [CI] - [#244](https://github.com/a-r-j/graphein/pull/244) Separate builds for core library and library with DL dependencies.
* [Licence] - [#244](https://github.com/a-r-j/graphein/pull/244) Bump to 2023


### 1.5.2 - 19/9/2022

#### Protein
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019-2022 Arian Jamasb
Copyright (c) 2019-2023 Arian Jamasb

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ This package provides functionality for producing geometric representations of p

| | |
|---|---|
| [Protein Tensor Module](http://graphein.ai/notebooks/protein_tensors.html) | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/a-r-j/graphein/blob/master/notebooks/protein_tensors.ipynb) |
| [Constructing molecular graphs](http://graphein.ai/notebooks/molecule_tutorial.html) | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/a-r-j/graphein/blob/master/notebooks/molecule_tutorial.ipynb) |
| [Ready-to-go Dataloaders for PyTorch Geometric](http://graphein.ai/notebooks/dataloader_tutorial.html) | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/a-r-j/graphein/blob/master/notebooks/dataloader_tutorial.ipynb) |
| [Extracting subgraphs from protein graphs](http://graphein.ai/notebooks/subgraphing_tutorial.html) | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/a-r-j/graphein/blob/master/notebooks/subgraphing_tutorial.ipynb) |
Expand Down
31 changes: 24 additions & 7 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

# -- Path setup --------------------------------------------------------------

import datetime

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
Expand All @@ -14,6 +16,9 @@
import sys

import plotly.io as pio
import sphinx.ext.autodoc

sphinx.ext.autodoc.NewTypeDataDocumenter.directivetype = "class"

os.environ["PLOTLY_RENDERER"] = "sphinx_gallery"

Expand All @@ -25,11 +30,11 @@
# -- Project information -----------------------------------------------------

project = "Graphein"
copyright = "2022, Arian Jamasb"
author = "Arian Jamasb"
copyright = f"{datetime.datetime.now().year}, {author}"

# The full version, including alpha/beta/rc tags
release = "1.5.2"
release = "1.6.0dev"


# -- General configuration ---------------------------------------------------
Expand All @@ -39,6 +44,7 @@
# ones.
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"sphinx.ext.intersphinx",
"sphinx.ext.viewcode",
"sphinx_copybutton",
Expand All @@ -48,7 +54,11 @@
"m2r2",
"nbsphinx",
"nbsphinx_link",
"sphinx.ext.napoleon",
# "sphinx_autorun",
]

autosummary_generate = True # Turn on sphinx.ext.autosummary
nbsphinx_allow_errors = True
nbsphinx_require_js_path = (
"https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"
Expand All @@ -67,16 +77,23 @@
intersphinx_mapping = {
"python": ("https://docs.python.org/3", None),
"matplotlib": ("https://matplotlib.org/stable/", None),
"networkx": ("https://networkx.github.io/documentation/stable/", None),
"nx": ("https://networkx.github.io/documentation/stable/", None),
"numpy": ("https://numpy.org/doc/stable/", None),
"xarray": ("https://xarray.pydata.org/en/stable/", None),
"np": ("https://numpy.org/doc/stable/", None),
"pandas": ("https://pandas.pydata.org/docs/", None),
"pd": ("https://pandas.pydata.org/docs/", None),
"plotly": ("https://plotly.com/python-api-reference/", None),
"scipy": ("https://docs.scipy.org/doc/scipy/reference/", None),
"scikit-learn": ("https://scikit-learn.org/stable/", None),
"sklearn": ("https://scikit-learn.org/stable/", None),
"scipy": ("https://docs.scipy.org/doc/scipy/reference/", None),
"Sphinx": ("https://www.sphinx-doc.org/en/stable/", None),
"networkx": ("https://networkx.github.io/documentation/stable/", None),
"nx": ("https://networkx.github.io/documentation/stable/", None),
"torch": ("https://pytorch.org/docs/master/", None),
"xarray": ("https://xarray.pydata.org/en/stable/", None),
"torch_geometric": (
"https://pytorch-geometric.readthedocs.io/en/latest/",
None,
),
}

mathjax_path = "https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
Expand All @@ -98,7 +115,7 @@
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = []
exclude_patterns = ["_build"]
source_suffix = [".rst", ".md"]


Expand Down
2 changes: 2 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ The repository can be found at `a-r-j/graphein <https://www.github.com/a-r-j/gra
:hidden:
:caption: Machine Learning

ml_protein_tensors
datasets
ml_examples

Expand All @@ -55,6 +56,7 @@ The repository can be found at `a-r-j/graphein <https://www.github.com/a-r-j/gra
:caption: API Reference

modules/graphein.protein
modules/graphein.protein.tensor
modules/graphein.molecule
modules/graphein.rna
modules/graphein.ppi
Expand Down
2 changes: 1 addition & 1 deletion docs/source/license.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ License

MIT License

Copyright (c) 2019-2022 Arian Jamasb
Copyright (c) 2019-2023 Arian Jamasb

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
13 changes: 13 additions & 0 deletions docs/source/ml_protein_tensors.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
===============
Protein Tensors
===============


Introduction
---------
.. toctree::
:maxdepth: 2
:glob:

notebooks/protein_tensors.nblink
notebooks/datasets_and_dataloaders.nblink
11 changes: 10 additions & 1 deletion docs/source/modules/graphein.protein.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
graphein.protein
================

.. currentmodule:: graphein.protein

Config
------
---------

.. currentmodule:: graphein.protein.config


.. autosummary::
:nosignatures:

.. automodule:: graphein.protein.config
:members:

Expand Down
77 changes: 77 additions & 0 deletions docs/source/modules/graphein.protein.tensor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
graphein.protein.tensor
=======================

.. currentmodule:: graphein.protein.tensor

Data and Batch Objects
------------------------
.. automodule:: graphein.protein.tensor.data
:members:

I/O
------
.. automodule:: graphein.protein.tensor.io
:members:

Representation
---------------
.. automodule:: graphein.protein.tensor.representation
:members:


Geometry
------
Geometry Utils
^^^^^^^^^
.. automodule:: graphein.protein.tensor.geometry
:members:

Angles
^^^^^^^^^^^^^^^
.. automodule:: graphein.protein.tensor.angles
:members:


Reconstruction
---------

.. automodule:: graphein.protein.tensor.reconstruction
:members:

pNERF
^^^^^^^
.. automodule:: graphein.protein.tensor.pnerf
:members:

Sequence
---------
.. automodule:: graphein.protein.tensor.sequence
:members:

Plotting
---------
.. currentmodule:: graphein.protein.tensor.plot

.. autosummary::
:nosignatures:

graphein.protein.tensor.plot

.. automodule:: graphein.protein.tensor.plot
:members:

Types
---------
.. automodule:: graphein.protein.tensor.types
:members:


Testing
---------
.. automodule:: graphein.protein.tensor.testing
:members:

Constants
----------
.. automodule:: graphein.protein.resi_atoms
:members:
3 changes: 3 additions & 0 deletions docs/source/notebooks/datasets_and_dataloaders.nblink
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"path": "../../../notebooks/datasets_and_dataloaders.ipynb"
}
3 changes: 3 additions & 0 deletions docs/source/notebooks/protein_tensors.nblink
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"path": "../../../notebooks/protein_tensors.ipynb"
}