a-r-j/graphein
Protein Graph Library
What it solves
Biologists and researchers need to represent biomolecular structures in formats that machine learning models can process. Graphein solves this by building graph representations from protein and RNA structures, molecular structures, and interaction networks, making it easy to feed this data into deep learning pipelines.
How it works
Graphein offers both a programmatic API and a command-line interface. You provide a structure—such as a PDB code, an AlphaFold prediction, a SMILES string, or a dotbracket notation—and Graphein constructs a graph with nodes and edges representing residues, atoms, or interactions. It supports multiple graph types: protein graphs at residue or atomic level, molecular graphs, RNA graphs, protein-protein interaction graphs, and gene regulatory networks. The library integrates with popular PyData formats and graph objects for deep learning libraries, and includes utilities for featurization, subgraph extraction, and visualisation.
Who it's for
Researchers and developers working in computational biology, bioinformatics, and geometric deep learning who need to convert biomolecular structures into machine-readable graph formats for training models or performing network analysis.
Highlights
- Build protein graphs from PDB files, AlphaFold structures, or custom configs.
- Create molecular graphs from SMILES or structure files.
- Construct RNA graphs from dotbracket notation.
- Generate protein-protein interaction and gene regulatory network graphs.
- Provides CLI for batch processing via YAML configs.
- Integrates with PyTorch Geometric and other deep learning libraries.
- Includes tutorials and Colab notebooks for easy onboarding.
Related
- Project
- Project
- Project
- Project
- Project