Skip to content

reconstruct

Split refined complexes and restore the known partner's original residue IDs.

reconstruct_refined_structures(refinement_dir, original_known_structure, *, remove_known_chains=None)

Write fitted/known PDB pairs and an index with paths relative to refinement_dir.

Restore chain and residue identifiers using the sequential numbering assigned by prepare_known_structure. Retain HADDOCK's atoms and refined coordinates.

Parameters:

Name Type Description Default
refinement_dir Path

Completed HADDOCK3 refinement workflow directory.

required
original_known_structure Path

Saved, unmodified known input.

required
remove_known_chains set[str] | None

Original chains omitted when preparing the partner.

None

Returns:

Type Description
Path

Path to 9_reconstruct/io.csv.