bis_protein_structure.TORSION2ΒΆ
Functions
|
Convert angles to sine and cosine values. |
|
Calculates the pairwise distance matrix for atom positions. |
|
Calculates the accuracy of torsion angles by comparing native angles with target angles and optional alternative angles. |
Calculate the bond angle formed by three points. |
|
|
Retrieves the coordinates of atoms from the residues in a chain. |
|
Get reference atom indices based on residue type and angle type. |
|
Computes the torsion angles for a set of residues. |
|
Calculate the dihedral angle between four points. |
|
Reads a PDB file and extracts residue information. |
|
Get reference atom indices for a given residue type. |
|
Adjusts the target angles of sidechain torsions based on their differences with native angles and alternative angles. |
|
Computes the loss for torsion angles based on the difference between predicted angles and ground truth angles, including penalties for angle normalization. |