MCPcopy Create free account

hub / github.com/Wangchentong/Proteus / functions

Functions1,071 in github.com/Wangchentong/Proteus

↓ 1 callersFunctionrun
(conf: DictConfig)
ProteinMPNN/protein_mpnn_pyrosetta.py:168
↓ 1 callersFunctionrun
(conf: DictConfig)
experiments/inference_se3_diffusion.py:314
↓ 1 callersMethodrun
Runs alignment tools on a sequence
openfold/data/data_pipeline.py:359
↓ 1 callersMethodrun_folding
Run ESMFold on sequence.
model/fold_module.py:482
↓ 1 callersMethodrun_sampling
Sets up inference run. All outputs are written to {output_dir}/{date_time} where {output_dir} is created at initializati
experiments/inference_se3_diffusion.py:186
↓ 1 callersMethodsample
( self, batch, model, )
data/interpolant.py:147
↓ 1 callersMethodsample
Generate samples from the target SO(3) distribution by sampling a rotation axis angle, which are then combined into a rotation vector
data/so3_utils.py:977
↓ 1 callersMethodsample_angle
Uses the inverse cdf to sample an angle of rotation from IGSO(3). Args: t: time of Brownian motion n_samples: number
data/igso3.py:160
↓ 1 callersMethodsample_angle
Create a series of samples from the IGSO(3) angle distribution. Args: sigma_indices (torch.Tensor): Indices of the IGSO3
data/so3_utils.py:1032
↓ 1 callersMethodsample_igso3
Uses the inverse cdf to sample an angle of rotation from IGSO(3). Args: t: continuous time in [0, 1]. n_samples: numb
data/so3_diffuser.py:215
↓ 1 callersFunctionsample_msa
Sample MSA randomly, remaining sequences are stored are stored as `extra_*`.
openfold/data/data_transforms.py:186
↓ 1 callersMethodsample_ref
(self, n_samples: float=1)
data/r3_diffuser.py:39
↓ 1 callersMethodsample_t
(self, num_batch)
data/interpolant.py:45
↓ 1 callersMethodsample_vector
Uniformly sample rotation axis for constructing the overall rotation. Args: num_sigma (int): Number of samples to draw f
data/so3_utils.py:1017
↓ 1 callersMethodsave_cache
Save a dictionary of tensors to the cache file. If overwrite is set to True, an existing file is overwritten, otherwise a warning is
data/so3_utils.py:746
↓ 1 callersMethodscore
(self,pose)
ProteinMPNN/pyrosetta_utils.py:338
↓ 1 callersMethodscore
(self, x_t, x_0, t, use_torch=False, scale=False)
data/r3_diffuser.py:160
↓ 1 callersMethodscore
Computes the score of IGSO(3) density as a rotation vector. Args: vec: [..., 3] array of axis-angle rotation vectors.
data/so3_diffuser.py:253
↓ 1 callersMethodscore
( self, rigid_0: ru.Rigid, rigid_t: ru.Rigid, t: float)
data/se3_diffuser.py:134
↓ 1 callersMethodscore_scaling
(self, t: float)
data/r3_diffuser.py:105
↓ 1 callersFunctionscript_submodules_
Convert all submodules whose types match one of those in the input list to recursively scripted equivalents in place. To script the entire
openfold/model/torchscript.py:183
↓ 1 callersFunctionseed_everything
(seed = None)
data/utils.py:1016
↓ 1 callersMethodself_condition_embed
(self, out,pair_mask)
model/score_network.py:511
↓ 1 callersMethodself_consistency_eval
Run self-consistency on design proteins against reference protein. Args: decoy_pdb_dir: directory where designed protein
model/fold_module.py:514
↓ 1 callersFunctionset_inf
(c, inf)
openfold/config.py:5
↓ 1 callersFunctionshaped_categorical
(probs, epsilon=1e-10)
openfold/data/data_transforms.py:411
↓ 1 callersFunctionshaped_categorical
(probs, epsilon=1e-10)
data/discrete_diffuser.py:79
↓ 1 callersFunctionsidechain_loss
( sidechain_frames: torch.Tensor, sidechain_atom_pos: torch.Tensor, rigidgroups_gt_frames: torch.T
openfold/utils/loss.py:210
↓ 1 callersMethodsigma_idx
Calculates the index for discretized sigma during IGSO(3) initialization.
data/so3_diffuser.py:188
↓ 1 callersFunctionsigmoid_cross_entropy
(logits, labels)
openfold/utils/loss.py:45
↓ 1 callersFunctionsoftmax
(x, T)
ProteinMPNN/helper_scripts/other_tools/make_pssm_dict.py:10
↓ 1 callersMethodsquence_design
(self,config,scaffold_path)
model/fold_module.py:135
↓ 1 callersMethodstop_rot_gradient
Detaches the underlying rotation object Returns: A transformation object with detached rotations
openfold/utils/rigid_utils.py:1364
↓ 1 callersFunctionsupervised_chi_loss
Implements Algorithm 27 (torsionAngleLoss) Args: angles_sin_cos: [*, N, 7, 2] predicted angles
openfold/utils/loss.py:284
↓ 1 callersMethodtemplate_embed
(self, batch, pair_mask)
model/score_network.py:445
↓ 1 callersMethodtied_sample
(self, X, randn, S_true, chain_mask, chain_encoding_all, residue_idx, mask=None, temperature=1.0, omit_AAs_np=
ProteinMPNN/protein_mpnn_utils.py:1250
↓ 1 callersFunctiontm_loss
( logits, final_affine_tensor, backbone_rigid_tensor, backbone_rigid_mask, resolution,
openfold/utils/loss.py:655
↓ 1 callersFunctionto_pdb
Converts a `Protein` instance to a PDB string. Args: prot: The protein to convert to PDB. Returns: PDB string.
data/protein.py:145
↓ 1 callersMethodtorsion_angles_to_frames
(self, r, alpha, f)
openfold/model/structure_module.py:802
↓ 1 callersMethodunconditional_probs
Graph-conditioned sequence model
ProteinMPNN/protein_mpnn_utils.py:1411
↓ 1 callersFunctionunsorted_segment_sum
Computes the sum along segments of a tensor. Similar to tf.unsorted_segment_sum, but only supports 1-D indices. :param data: A tensor w
openfold/data/data_transforms.py:311
↓ 1 callersFunctionusvt
(eigvecs, inv_eigvecs, diag_embed)
data/discrete_diffuser.py:57
↓ 1 callersFunctionvee
(A)
data/so3_utils.py:24
↓ 1 callersFunctionviolation_loss
( violations: Dict[str, torch.Tensor], atom14_atom_exists: torch.Tensor, eps=1e-6, **kwargs, )
openfold/utils/loss.py:1331
↓ 1 callersFunctionviolation_metric
( atom37_pos, atom37_mask, diffuse_mask, )
analysis/metrics.py:82
↓ 1 callersFunctionwill_restrain
Returns True if the atom will be restrained by the given restraint set.
openfold/np/relax/amber_minimize.py:40
↓ 1 callersFunctionwithin_residue_violations
Loss to penalize steric clashes within residues. This is a loss penalizing any steric violations or clashes of non-bonded atoms in a given pe
openfold/utils/loss.py:1018
↓ 1 callersFunctionwrap_ensemble_fn
Function to be mapped over the ensemble dimension.
openfold/data/input_pipeline.py:158
↓ 1 callersFunctionwrite_pkl
Serialize data into a pickle file.
data/utils.py:140
↓ 1 callersMethodzero_grad
(self)
ProteinMPNN/training/utils.py:122
FunctionAA_to_N
(x)
ProteinMPNN/protein_mpnn_utils.py:80
FunctionAA_to_N
(x)
ProteinMPNN/helper_scripts/parse_multiple_chains.py:24
FunctionExp
(A)
data/so3_utils.py:43
Method__call__
(self, raw_prots)
openfold/data/data_modules.py:362
Method__enter__
(self)
openfold/utils/suppress_output.py:6
Method__enter__
(self)
openfold/utils/suppress_output.py:21
Method__exit__
(self, typ, value, traceback)
openfold/utils/suppress_output.py:11
Method__exit__
(self, typ, value, traceback)
openfold/utils/suppress_output.py:24
Method__getitem__
Allows torch-style indexing over the virtual shape of the rotation object. See documentation for the shape property.
openfold/utils/rigid_utils.py:384
Method__getitem__
Indexes the affine transformation with PyTorch-style indices. The index is applied to the shared dimensions of both the rota
openfold/utils/rigid_utils.py:938
Method__getitem__
(self, idx)
openfold/data/data_modules.py:158
Method__getitem__
(self, idx)
openfold/data/data_modules.py:335
Method__getitem__
(self, idx)
openfold/data/data_modules.py:680
Method__getitem__
(self, idx)
ProteinMPNN/protein_mpnn_utils.py:521
Method__getitem__
(self, idx)
ProteinMPNN/protein_mpnn_utils.py:562
Method__getitem__
(self, idx)
ProteinMPNN/training/utils.py:49
Method__getitem__
(self, index)
ProteinMPNN/training/utils.py:221
Method__init__
(self, config)
openfold/utils/loss.py:1553
Method__init__
(self, fn)
openfold/utils/import_weights.py:44
Method__init__
Args: rot_mats: A [*, 3, 3] rotation matrix tensor. Mutually exclusive with quats
openfold/utils/rigid_utils.py:305
Method__init__
Args: rots: A [*, 3, 3] rotation tensor trans: A corresponding [*, 3] translation tensor
openfold/utils/rigid_utils.py:866
Method__init__
(self, log_file, global_batch_size, warmup_steps: int = 0, profile: bool = False)
openfold/utils/logger.py:31
Method__init__
(self, optimizer, last_epoch: int = -1, verbose: bool = False, base_lr: flo
openfold/utils/lr_schedulers.py:13
Method__init__
(self, level)
openfold/utils/suppress_output.py:18
Method__init__
Args: model: A torch.nn.Module whose parameters are to be tracked decay: A value (usu
openfold/utils/exponential_moving_average.py:21
Method__init__
Args: c_in: Input channel dimension c_hidden: Overall hidden channel dimension (not p
openfold/model/triangular_attention.py:32
Method__init__
(self, c_in, eps=1e-5)
openfold/model/primitives.py:172
Method__init__
Args: c_q: Input dimension of query data c_k: Input dimension of key data
openfold/model/primitives.py:317
Method__init__
(self, c_in, c_hidden, no_heads, inf, eps)
openfold/model/primitives.py:465
Method__init__
Args: c_z: Input channel dimension c: Hidden channel dimension
openfold/model/triangular_multiplicative_update.py:30
Method__init__
( self, c_m: int, c_z: int, c_hidden_opm: int, c_hidden_mul: int,
openfold/model/evoformer.py:121
Method__init__
(self, c_m: int, c_z: int, c_hidden_msa_att: int, c_hidden_opm: int, c
openfold/model/evoformer.py:216
Method__init__
(self, c_m: int, c_z: int, c_hidden_msa_att: int, c_hidden_opm: int, c
openfold/model/evoformer.py:295
Method__init__
Args: c_m: MSA channel dimension c_z: Pair channel dimension c_hidden_msa
openfold/model/evoformer.py:401
Method__init__
(self, c_m: int, c_z: int, c_hidden_msa_att: int, c_hidden_opm: int, c
openfold/model/evoformer.py:544
Method__init__
Args: c_hidden: Hidden channel dimension
openfold/model/structure_module.py:48
Method__init__
Args: c_s: Single representation channel dimension c_z: Pair representation channel d
openfold/model/structure_module.py:165
Method__init__
Args: c_s: Single representation channel dimension
openfold/model/structure_module.py:439
Method__init__
(self, c)
openfold/model/structure_module.py:465
Method__init__
(self, c, num_layers, dropout_rate)
openfold/model/structure_module.py:490
Method__init__
Args: c_s: Single representation channel dimension c_z: Pair representation channel d
openfold/model/structure_module.py:516
Method__init__
Args: c_m: MSA channel dimension c_z: Pair embedding channel dimension mi
openfold/model/embedders.py:136
Method__init__
Args: c_in: Final dimension of "template_angle_feat" c_out: Output channel dimension
openfold/model/embedders.py:235
Method__init__
Args: c_in: c_out: Output channel dimension
openfold/model/embedders.py:278
Method__init__
Args: c_in: Input channel dimension c_out: Output channel dimension
openfold/model/embedders.py:322
Method__init__
Args: r: Dropout rate batch_dim: Dimension(s) along which the dropout mask is shared
openfold/model/dropout.py:30
Method__init__
Args: c_m: Input channel dimension c_z: Pair embedding channel dimension
openfold/model/msa.py:231
Method__init__
Args: c_m: MSA channel dimension c_hidden: Per-head hidden channel dimension
openfold/model/msa.py:263
Method__init__
( self, c_in, c_hidden, no_heads, inf=1e9, eps=1e-10, )
openfold/model/msa.py:323
Method__init__
Args: c_z: Pair transition channel dimension n: Factor by which c_z is multiplied to
openfold/model/pair_transition.py:29
← previousnext →501–600 of 1,071, ranked by callers