qp.cluster.spheres.build_hydrogen¶
- qp.cluster.spheres.build_hydrogen(parent: Bio.PDB.Residue.Residue, template: Bio.PDB.Residue.Residue | None, atom: Literal['N', 'C', 'CG'])[source]¶
Cap with hydrogen, building based on the upstream or downstream residue
- Parameters:
chain (Bio.PDB.Chain) – Chain with desired residue
parent (Bio.PDB.Residue) – Residue to cap
template (Bio.PDB.Residue) – Upstream or downstream residue
atom (str) – Flag for adding to the ‘N’ or ‘C’ or ‘CG’ (IAS) side of the residue
- Returns:
res – Residue containing added hydrogen
- Return type:
Bio.PDB.Residue