API reference¶
The names below are available directly from the alphacert package.
Functions¶
alphacert.evaluate_plddt_profile(plddt_values, binding_site_indices=None, min_pass_mean=70.0, min_pass_frac_70=0.6, min_pocket_plddt=80.0)
¶
Evaluates residue-level pLDDT confidence scores from AlphaFold / ESMFold.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
plddt_values
|
list of float
|
Per-residue pLDDT values on a 0-100 scale. |
required |
binding_site_indices
|
list of int
|
Residue indices (0-indexed or 1-indexed) forming the active/binding site. |
None
|
min_pass_mean
|
float
|
Minimum average pLDDT for overall structure pass. |
70.0
|
min_pass_frac_70
|
float
|
Minimum fraction of confident residues (pLDDT >= 70). |
0.60
|
min_pocket_plddt
|
float
|
Minimum average pLDDT required for binding pocket. |
80.0
|
Returns:
| Name | Type | Description |
|---|---|---|
result |
PLDDTAnalysisResult
|
Calculated confidence metrics and certification status. |
alphacert.evaluate_pae_matrix(pae_matrix, chain_boundaries=None, iptm_score=None, warn_ipae_cutoff=10.0, fail_ipae_cutoff=15.0, plddt=None)
¶
Evaluates 2D Predicted Aligned Error (PAE) matrix for domain rigidity and multimer interface confidence.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
pae_matrix
|
ndarray
|
(N, N) matrix of expected position error in Angstroms. |
required |
chain_boundaries
|
list of int
|
Residue lengths of each chain in multimer (e.g. [250, 150]). |
None
|
iptm_score
|
float
|
AlphaFold-Multimer / AlphaFold3 interface pTM score (primary criterion for complexes). |
None
|
plddt
|
list of float
|
Per-residue pLDDT, used to discard disordered PAE clusters from the domain count. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
result |
PAEAnalysisResult
|
Rigidity, inter-chain interface error, and complex validation status. |
alphacert.evaluate_stereochemistry(coordinates, atom_elements, backbone_atoms=None, max_clashscore_pass=10.0, min_rama_favored_pass=0.88, max_rama_outliers_pass=0.03)
¶
Evaluates steric clashes, Ramachandran phi/psi distributions, and cis-peptide stereochemistry.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
coordinates
|
ndarray
|
(N_atoms, 3) Cartesian coordinates. |
required |
atom_elements
|
list of str
|
Element symbols for each atom. |
required |
backbone_atoms
|
list of dict
|
Residue list with backbone atom coordinates {'N', 'CA', 'C', 'O', 'res_name', 'chain'}. Without it, the Ramachandran analysis is not performed (fractions are NaN). |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
result |
StereochemistryResult
|
Stereochemical validation metrics and pass/fail score. |
alphacert.assess_alphafold_quality(metadata, plddt_values, pae_matrix=None, coordinates=None, atom_elements=None, backbone_atoms=None, binding_site_indices=None, chain_boundaries=None, iptm_score=None)
¶
Evaluates predicted protein structure confidence and certifies downstream application readiness.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
metadata
|
dict
|
Protein name, prediction engine (AlphaFold2, ColabFold, ESMFold), UniProt ID. |
required |
plddt_values
|
list of float
|
Residue pLDDT values. |
required |
pae_matrix
|
ndarray
|
2D PAE matrix. |
None
|
coordinates
|
ndarray
|
Cartesian coordinates. |
None
|
atom_elements
|
list of str
|
Element symbols. |
None
|
backbone_atoms
|
list of dict
|
Segmented backbone atoms. |
None
|
binding_site_indices
|
list of int
|
Residue indices forming target binding pocket. |
None
|
chain_boundaries
|
list of int
|
Lengths of chains in complex. |
None
|
iptm_score
|
float
|
Interface pTM score. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
report |
AlphaFoldValidationReport
|
Comprehensive certification report. |