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 ab_factor_type annotation that describes what the B-factor column represents:
| Type | Description |
|---|---|
pLDDT | Per-residue confidence (0-100 scale) |
normalized_pLDDT | Per-residue confidence (0-1 scale) |
confidence | General confidence score |
temperature_factor | Crystallographic B-factors |
unknown | B-factor column present but its meaning could not be determined |
unspecified | Default when not set |
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