
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.
API Reference
Configuration for protein globularity constraint.This class defines configuration parameters for evaluating protein structural
compactness using ESMFold structure prediction. Globularity measures how
compact and spherical a protein structure is, based on the spatial distribution
of backbone atoms around the structure’s center of mass. More globular proteins
have backbone atoms clustered tightly around the centroid, while extended
structures show higher dispersion. Globularity is measured as the standard
deviation of distances from backbone atoms (N, CA, C, O) to the structure’s
centroid. Lower values indicate more compact, spherical structures.
The score is normalized by dividing by max_globularity (default 20.0 Ångströms) and
capped at 1.0.
Max std (Ã…) of backbone-atom distances to the structure centroid; above this is treated as unfolded.
ESMFold configuration for structure prediction.
ReturnsConstraintOutput
Per-proposal score in [0.0, 1.0] (lower = more
compact). The predicted complex Structure attaches to slot 0.
metadata carries:avg_plddt: Float average pLDDT score for structure confidence (0.0-1.0)ptm: Float predicted TM-score for structure accuracy (0.0-1.0)pdb_output: String PDB format structure file contentesmfolded_sequence: String colon-separated protein-chain representationraw_globularity: Float standard deviation of backbone-to-centroid distances in Ångströms (lower = more compact)normalized_globularity: Float normalized globularity score (0.0-1.0, capped by max_globularity)dna_chain_orfs: Per-DNA-chain ORFipy metadata when DNA chains are present
Usage
Evaluating protein structural compactness:python
python
Metadata
| Property | Value |
|---|---|
| Key | protein-globularity |
| Function | protein_globularity_constraint |
| Category | protein_structure |
| Mode | discrete |
| Uses GPU | True |
| Supported Types | dna, protein |

