Skip to main content

Entities

Entities are the core data objects that tools consume and produce. They provide a consistent interface for working with biological data: protein structures, small molecules, and antibodies.
python

Structure

Represents a 3D molecular structure (protein, RNA, DNA, or complex). Supports both PDB and mmCIF formats.

Creating Structures

python

Inspecting Structures

python

Saving Structures

python

Visualizing Structures

python

B-Factor Types

Structures carry a b_factor_type annotation that describes what the B-factor column represents: Tools that produce structures (e.g., ESMFold, AlphaFold3) automatically set the appropriate B-factor type.

Structure Utilities

python

StructureEnsemble

Represents multiple conformations of the same sequence, produced by tools like BioEmu or structure sampling methods:
python

Ligands

Represents small molecules (drugs, metabolites, cofactors). Built on RDKit.

Fragment (Single Molecule)

python

Ligands (Collection)

python

Ligand Utilities

python

How Tools Use Entities

Tools consume and produce entities through their Input and Output Pydantic models:
python

Built-in Example

A GFP structure is included for testing:
python

Next Steps

Tools

How tools consume and produce entities

Quickstart

Run your first tool