deeporigin.drug_discovery.structure_report.StructureReportResult¶
StructureReportResult holds one graded row from a
StructureReport run(): metadata fields, component
scores, weighted score, and letter grade as returned by the platform tool.
One graded Structure Report row from jobOutputs.structure_reports.
Attributes:
| Name | Type | Description |
|---|---|---|
metadata_source |
MetadataSource
|
Provenance of experimental metadata used for scoring. |
field_status |
dict[str, FieldStatusValue]
|
Per-field status map ( |
resolution_score |
float
|
Resolution component score. |
coverage_score |
float
|
Coverage component score. |
rfree_score |
float
|
Rfree component score. |
inhibitor_score |
float
|
Inhibitor/holo component score. |
method_score |
float
|
Method component score. |
organism_score |
float
|
Organism component score. |
weighted_score |
float
|
Weighted Structure Report score from the tool. |
grade |
StructureReportGrade
|
Letter grade |
coverage |
float | None
|
Polymer residue coverage fraction (0–1), if known. |
has_ligand |
bool | None
|
Whether a non-water, non-ion ligand is present. |
method |
str | None
|
Experimental method string. |
method_class |
str | None
|
Normalized method class. |
organism |
str | None
|
Source organism scientific name. |
organism_class |
str | None
|
Normalized organism class. |
pdb_id |
str | None
|
PDB ID used for experimental metadata. |
protein_id |
str | None
|
Platform protein entity id when provided. |
resolution |
float | None
|
Structure resolution in Angstroms. |
rfree |
float | None
|
Rfree (X-ray). |
source_sha256 |
str | None
|
SHA-256 of uploaded structure bytes (omitted in remote PDB-ID-only mode). |
Attributes¶
Methods:¶
from_json
classmethod
¶
from_json(data: dict[str, Any]) -> StructureReportResult
Build a result from one structure_reports[] object.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data
|
dict[str, Any]
|
Raw row from |
required |
Returns:
| Name | Type | Description |
|---|---|---|
A |
StructureReportResult
|
class: |
Raises:
| Type | Description |
|---|---|
DeepOriginException
|
If required fields are missing or mistyped. |