Skip to main content
Structure pLDDT Score
License: This constraint can use multiple tools, each under its own license. See the Tools Used tab and each tool’s page for license details.

This constraint is open source. Any third-party models, product names, or trademarks referenced are the property of their respective owners, and Proto is not affiliated with them.


Structure Prediction · 7 tools
Go to Category
proto-bio/proto-language/proto_language/constraint/protein_structure/structure_confidence_constraint.py
View source
Evaluate structure quality using predicted LDDT (pLDDT) score. pLDDT (predicted Local Distance Difference Test) measures per-residue confidence in the predicted structure. Values range from 0.0 to 100.0 (sometimes, these are normalized from 0.0 to 1.0) where higher values indicate more reliable predictions. This constraint returns 1.0 - normalized pLDDT, so lower scores indicate better predicted structure quality. Note that for Boltz2, this is based on the "complex_plddt" score returned natively by the package. Supported tools: ESMFold, ESMFold2, AlphaFold3, Boltz2, Chai1, Protenix, AlphaFold2, AlphaFold2 binder

API Reference

ConfigStructureBasedConstraintConfig Source
Base configuration for constraints using structure prediction tools.This base class standardizes how structure prediction tools and their configurations are specified across all structure-based constraints. Each tool has its own dedicated config field.Subclasses can optionally restrict which tools are supported by overriding the structure_tool field with a narrower Literal type.
structure_tool
enum
default:"esmfold"
Predictor: esmfold/esmfold2/alphafold3/boltz2/chai1/protenix/alphafold2/alphafold2_binder.Options: esmfold, esmfold2, alphafold3, boltz2, chai1, protenix, alphafold2, alphafold2_binder
esmfold_config
ESMFoldConfig
Configuration for ESMFold structure prediction.
esmfold2_config
ESMFold2Config
Configuration for ESMFold2 structure prediction.
alphafold3_config
AlphaFold3Config
Configuration for AlphaFold3 structure prediction.
boltz2_config
Boltz2Config
Configuration for Boltz2 structure prediction.
chai1_config
Chai1Config
Configuration for Chai1 structure prediction.
protenix_config
ProtenixConfig
Configuration for Protenix structure prediction.
alphafold2_config
AlphaFold2Config
Configuration for the general AlphaFold2 multimer structure predictor.
alphafold2_binder_config
AlphaFold2BinderStructureConfig
Configuration for the AF2 binder-design backend.
ReturnsConstraintOutput
Per-proposal score and avg_plddt / pdb_output / structure_tool metadata for the predicted full input tuple; predicted Structure attaches to slot 0.

Usage

Programming a homo-trimer with ESMFold:
python
>>> from proto_language.core import Segment
>>> protomer = Segment(length=10, sequence_type="protein")
>>> esmfold_plddt = Constraint(
...     inputs=[protomer, protomer, protomer],
...     function=structure_plddt_constraint,
...     function_config={"structure_tool": "esmfold"},
... )

Metadata

PropertyValue
Keystructure-plddt
Functionstructure_plddt_constraint
Categoryprotein_structure
Modediscrete
Uses GPUTrue
Supported Typesprotein, rna, dna, ligand