Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Graphein 1.7.8
Logo
Graphein 1.7.8

Getting Started

  • Installation
  • Graphein
  • Usage
  • License

Tutorials

  • Protein
    • Graphein - Residue Graph Tutorial
    • Graphein - Atom Graph Tutorial
    • Constructing Graphs from AlphaFold Protein Structure Database
    • Secondary Structure Graphs & Chain Graphs
    • Constructing Subgraphs in Graphein
    • Creating Protein Meshes in Graphein & 3D Visualisation
    • Protein Graph Analytics
    • Interactive Visualisation with Plotly
  • Molecules
    • Creating Molecular Graphs in Graphein
    • Working with Molecules from ZINC and ChEMBL
  • RNA Graphs
    • Graphein RNA Graph Construction Tutorial
    • Constructing 2D RNA Graphs
    • Constructing 3D Graphs of RNA Structures
    • Extracting Subgraphs from 3D RNA Structure Graphs
  • PPI Networks
    • PPI Networks and Structural Interactomics
  • Gene Regulatory Networks
    • Gene Regulatory Network Tutorial

Machine Learning

  • Protein Tensors
    • Working with Protein Tensors in Graphein
    • Datasets and DataLoaders
  • Datasets
    • Graphein Protein Structure Dataloaders
    • Learning at Proteome Scale!
    • Selection
    • Creating Datasets from the PDB
    • Making Selections
    • I/O
    • PSCDB - Protein Structural Change Database
    • PSCDB - Baselines
    • PPISP - Protein Protein Interaction Structure Prediction
  • Examples
    • Antibody Developability Prediction with E(N) GNNs
    • Predicting Acute Toxicity LD50
    • Splitting a Protein Dataset into Training and Test Sets

API Reference

  • graphein.protein
  • graphein.protein.tensor
  • graphein.molecule
  • graphein.rna
  • graphein.ppi
  • graphein.grn
  • graphein.ml
  • graphein.utils

Contributing

  • Introduction
  • Contributor guidelines
  • Your first contribution
  • Getting started
  • How to report a bug
  • How to suggest a feature or enhancement
  • How add a recommended VSCode Plugin
  • In closing
  • Contributor Covenant Code of Conduct
  • Contributors
Back to top
View this page

Protein Tensors¶

Introduction¶

  • Working with Protein Tensors in Graphein
    • 1. Parsing proteins to Tensors
    • 2. Parsing to PyG Data
    • 3. Parsing to Graphein Protein
    • Plotting
    • ProteinBatch
    • Saving Proteins and ProteinBatches
    • To DataFrame
  • Datasets and DataLoaders
    • 1. List Datasets
    • 2. Datasets
    • DataLoaders
Next
Working with Protein Tensors in Graphein
Previous
Gene Regulatory Network Tutorial
Copyright © 2026, Arian Jamasb
Made with Sphinx and @pradyunsg's Furo
On this page
  • Protein Tensors
    • Introduction