Function_np_get_6D_loss(true, pred, mask=None, use_theta=True, use_dist=False, use_jax=True)
colabdesign/colabdesign/shared/protein.py:252
Method_prep_inputs(pdb_filename, chain, binder_len=50, binder_chain=None,
ignore_missing=True, **kwargs)
colabdesign/colabdesign/tr/joint_model.py:12
Method_sample(X, mask, residue_idx, chain_idx, key,
temperature=0.1, tied_lengths=False, **kwargs)
colabdesign/colabdesign/mpnn/model.py:261
Functionatom37_to_torsion_anglesComputes the 7 torsion angles (in sin, cos encoding) for each residue. The 7 torsion angles are in the order '[pre_omega, phi, psi, chi_1, chi_2,
colabdesign/colabdesign/af/alphafold/model/all_atom.py:266
Functiondihedral_angleComputes torsion angle for a quadruple of points. For points (a, b, c, d), this is the angle between the planes defined by points (a, b, c) and (
colabdesign/colabdesign/af/alphafold/model/geometry/vector.py:187