Skip to content

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 (value, not_applicable, or unknown).

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 AD from the tool.

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

coverage class-attribute instance-attribute

coverage: float | None = None

coverage_score instance-attribute

coverage_score: float

field_status instance-attribute

field_status: dict[str, FieldStatusValue]

grade instance-attribute

grade: StructureReportGrade

has_ligand class-attribute instance-attribute

has_ligand: bool | None = None

inhibitor_score instance-attribute

inhibitor_score: float

metadata_source instance-attribute

metadata_source: MetadataSource

method class-attribute instance-attribute

method: str | None = None

method_class class-attribute instance-attribute

method_class: str | None = None

method_score instance-attribute

method_score: float

organism class-attribute instance-attribute

organism: str | None = None

organism_class class-attribute instance-attribute

organism_class: str | None = None

organism_score instance-attribute

organism_score: float

pdb_id class-attribute instance-attribute

pdb_id: str | None = None

protein_id class-attribute instance-attribute

protein_id: str | None = None

resolution class-attribute instance-attribute

resolution: float | None = None

resolution_score instance-attribute

resolution_score: float

rfree class-attribute instance-attribute

rfree: float | None = None

rfree_score instance-attribute

rfree_score: float

source_sha256 class-attribute instance-attribute

source_sha256: str | None = None

weighted_score instance-attribute

weighted_score: float

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 jobOutputs.structure_reports.

required

Returns:

Name Type Description
A StructureReportResult

class:StructureReportResult with tool fields populated.

Raises:

Type Description
DeepOriginException

If required fields are missing or mistyped.