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

Catch AF2 download error #225 #226

Merged
merged 8 commits into from
Nov 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ jobs:
- uses: actions/checkout@v3
- uses: dangoslen/changelog-enforcer@v3
with:
skipLabels: 'skip-changelog'
skipLabels: 'skip-changelog'
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ repos:
- repo: https://github.com/pycqa/isort
rev: 5.10.1
hooks:
- id: isort
- id: isort
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ python:
version: 3.8
install:
- method: setuptools
path: .
path: .
2 changes: 1 addition & 1 deletion .requirements/base.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ rich-click
seaborn
pyyaml>=5.1,<6.*
scikit-learn
scipy
scipy
tqdm
typing_extensions
wget
Expand Down
2 changes: 1 addition & 1 deletion .requirements/extras.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ pyaaisc
mpl_chord_diagram==0.3.2
rdkit-pypi
selfies
smilite
smilite
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* [Logging] - [#221](https://github.com/a-r-j/graphein/pull/221) Adds global control of logging with `graphein.verbose(enabled=False)`.

#### Protein

* [Bugfix] - [#226](https://github.com/a-r-j/graphein/pull/226) Catches failed AF2 structure downloads [#225](https://github.com/a-r-j/graphein/issues/225)
* [Feature] - [#229](https://github.com/a-r-j/graphein/pull/220) Adds support for filtering KNN edges based on self-loops and chain membership. Contribution by @anton-bushuiev.
* [Bugfix] - [#229](https://github.com/a-r-j/graphein/pull/220) Fixes bug in KNN edge computation. Contribution by @anton-bushuiev.
* [Bugfix] - [#220](https://github.com/a-r-j/graphein/pull/220) Fixes edge metadata conversion to PyG. Contribution by @manonreau.
Expand Down
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.ht
[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq
https://www.contributor-covenant.org/faq
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ RUN export CUDA=$(python -c "import torch; print('cu'+torch.version.cuda.replace
&& pip install torch-spline-conv -f https://pytorch-geometric.com/whl/torch-${TORCH}+${CUDA}.html --no-cache-dir \
&& pip install torch-geometric --no-cache-dir

RUN pip install jupyter_contrib_nbextensions
RUN pip install jupyter_contrib_nbextensions
RUN jupyter nbextension enable --py widgetsnbextension

# Testing
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ include versioneer.py
include README.md
include .requirements/*
include graphein/protein/features/nodes/amino_acid_properties.csv
include graphein/protein/features/nodes/meiler_embeddings.csv
include graphein/protein/features/nodes/meiler_embeddings.csv
2 changes: 1 addition & 1 deletion datasets/proteins_ligands/parse_dataset.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -409,4 +409,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
2 changes: 1 addition & 1 deletion datasets/proteins_metal/parse_dataset.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -311,4 +311,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
2 changes: 1 addition & 1 deletion datasets/proteins_nucleic/parse_dataset.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -300,4 +300,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
2 changes: 1 addition & 1 deletion datasets/proteins_nucleotides/parse_dataset.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -313,4 +313,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
2 changes: 1 addition & 1 deletion datasets/pscdb/process_data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1894,4 +1894,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}
2 changes: 1 addition & 1 deletion docs/source/dataset_readme.rst
Original file line number Diff line number Diff line change
@@ -1 +1 @@
.. mdinclude:: ../../datasets/README.md
.. mdinclude:: ../../datasets/README.md
1 change: 0 additions & 1 deletion docs/source/datasets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@ Summaries
notebooks/pscdb_processing.nblink
notebooks/pscdb_baselines.nblink
datasets/ppisp

2 changes: 1 addition & 1 deletion docs/source/datasets/ppisp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ The dataset can be viewed here: `a-r-j/graphein/datasets/pscdb <https://www.gith
Reference
----------
[1] Min Zeng, Fuhao Zhang, Fang-Xiang Wu, Yaohang Li, Jianxin Wang, Min Li. Protein-protein interaction site prediction
through combining local and global features with deep neural networks. Bioinformatics. DOI:10.1093/bioinformatics/btz699
through combining local and global features with deep neural networks. Bioinformatics. DOI:10.1093/bioinformatics/btz699
2 changes: 1 addition & 1 deletion docs/source/datasets/pscdb.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ The dataset can be viewed here: `a-r-j/graphein/datasets/pscdb <https://www.gith
Reference
----------
[1] Amemiya, T., Koike, R., Kidera, A., & Ota, M. (2011). PSCDB: a database for protein structural change upon ligand
binding. Nucleic Acids Research, 40(D1), D554–D558. https://doi.org/10.1093/nar/gkr966
binding. Nucleic Acids Research, 40(D1), D554–D558. https://doi.org/10.1093/nar/gkr966
1 change: 0 additions & 1 deletion docs/source/getting_started/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ Graphein
Graphein is a python library for constructing graph and surface-mesh representations of protein structures for computational analysis. The library interfaces with popular geometric deep learning libraries: `DGL <https://www.dgl.ai/>`_ (and `DGL-LifeSci <https://lifesci.dgl.ai/>`_), `PyTorch Geometric <https://pytorch-geometric.readthedocs.io/en/latest/>`_ and `PyTorch3D <https://pytorch3d.org/>`_.

As feature engineering is a vital step in a machine learning project, the library is designed to be highly flexible, allowing the user to parameterise the graph construction, scalable to facilitate working with large protein complexes,and containing useful pre-processing tools for preparing experimental structure files. Graphein is also designed to facilitate network-based and graph-theoretic analyses of protein structures in a high-throughput manner.

2 changes: 1 addition & 1 deletion docs/source/license.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
2 changes: 1 addition & 1 deletion docs/source/modules/graphein.ml.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ Dataset Splitting
Utils
-------
.. automodule:: graphein.ml.utils
:members:
:members:
2 changes: 1 addition & 1 deletion docs/source/modules/graphein.ppi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ BioGrid
STRINGDB
^^^^^^^^^
.. automodule:: graphein.ppi.parse_stringdb
:members:
:members:
2 changes: 1 addition & 1 deletion docs/source/molecule_notebooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ Molecules
:glob:

notebooks/molecule_tutorial.nblink
notebooks/molecules_from_zinc_and_chembl.nblink
notebooks/molecules_from_zinc_and_chembl.nblink