bis_protein_structure.TORSION2.sidechain_sym_angle¶
- bis_protein_structure.TORSION2.sidechain_sym_angle(target_residues, tor_masks, native_angles, target_angles, target_alter_angles)[source]¶
Adjusts the target angles of sidechain torsions based on their differences with native angles and alternative angles.
- Parameters:
target_residues (dict) – A dictionary containing the target residues indexed by their residue numbers.
tor_masks (np.ndarray) – A boolean array indicating the availability of torsion angles for each residue.
native_angles (np.ndarray) – An array of native torsion angles.
target_angles (np.ndarray) – An array of target torsion angles to be modified.
target_alter_angles (np.ndarray) – An array of alternative target torsion angles for comparison.
- Returns:
The modified target angles after adjusting based on comparisons with native and alternative angles.
- Return type:
np.ndarray