qp.cluster.spheres_bad.build_heavy

qp.cluster.spheres_bad.build_heavy(chain, parent, template, atom)[source]

Cap with ACE/NME, 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” (ACE) or “C” (NME) side of the residue

Returns:

res – Residue containing added group

Return type:

Bio.PDB.Residue