MCPcopy Create free account

hub / github.com/Wangchentong/Proteus / functions

Functions1,071 in github.com/Wangchentong/Proteus

↓ 1 callersMethod_parse_mmcif
(self, path, file_id, chain_id, alignment_dir, _alignment_index)
openfold/data/data_modules.py:128
↓ 1 callersMethod_parse_msa_data
( self, alignment_dir: str, _alignment_index: Optional[Any] = None, )
openfold/data/data_pipeline.py:422
↓ 1 callersFunction_parse_obsolete
Parses the data file from PDB that lists which PDB ids are obsolete.
openfold/data/templates.py:133
↓ 1 callersFunction_parse_release_dates
Parses release dates file, returns a mapping from PDBs to release dates.
openfold/data/templates.py:174
↓ 1 callersFunction_prefilter_hit
( query_sequence: str, query_pdb_code: Optional[str], hit: parsers.TemplateHit, max_template_d
openfold/data/templates.py:753
↓ 1 callersMethod_prep_batch_properties_probs
(self)
openfold/data/data_modules.py:386
↓ 1 callersMethod_process_angles
Auxiliary function for performing additional processing steps on the sampled angles. One example would be to ensure sampled angles ar
data/so3_utils.py:1003
↓ 1 callersFunction_process_single_hit
Tries to extract template features from a single HHSearch hit.
openfold/data/templates.py:795
↓ 1 callersFunction_process_translations_dict
(d, top_layer=True)
openfold/utils/import_weights.py:55
↓ 1 callersFunction_prod
(nums)
openfold/model/primitives.py:35
↓ 1 callersFunction_prod
(nums)
model/layers.py:237
↓ 1 callersFunction_prod
(nums)
model/ipa_pytorch.py:38
↓ 1 callersMethod_quaternions
Convert a batch of 3D rotations [R] to quaternions [Q] R [...,3,3] Q [...,4]
ProteinMPNN/protein_mpnn_utils.py:811
↓ 1 callersFunction_realign_pdb_template_to_query
Aligns template from the mmcif_object to the query. In case PDB70 contains a different version of the template sequence, we need to perform a
openfold/data/templates.py:340
↓ 1 callersFunction_remove_chains_of_length_one
Removes chains that correspond to a single amino acid. A single amino acid in a chain is both N and C terminus. There is no force template fo
openfold/np/relax/cleanup.py:111
↓ 1 callersFunction_remove_heterogens
Removes the residues that Pdbfixer considers to be heterogens. Args: fixer: A Pdbfixer instance. alterations_info: A dict that will s
openfold/np/relax/cleanup.py:75
↓ 1 callersFunction_replace_met_se
Replace the Se in any MET residues that were not marked as modified.
openfold/np/relax/cleanup.py:97
↓ 1 callersFunction_rots_diffuse_mask
(rotmats_t, rotmats_1, diffuse_mask)
data/interpolant.py:26
↓ 1 callersMethod_rots_euler_step
(self, d_t, t, rotmats_1, rotmats_t)
data/interpolant.py:136
↓ 1 callersFunction_run_one_iteration
Runs the minimization pipeline. Args: pdb_string: A pdb string. max_iterations: An `int` specifying the maximum number of L-BFGS iter
openfold/np/relax/amber_minimize.py:406
↓ 1 callersFunction_script_submodules_helper_
( model, types, attempt_trace, to_trace, )
openfold/model/torchscript.py:149
↓ 1 callersMethod_set_t_feats
(self, feats, t, t_placeholder)
model/fold_module.py:501
↓ 1 callersMethod_setup_lookup
Master function for setting up the lookup tables. These can either be loaded from a npz cache file or computed on the fly. Lookup tab
data/so3_utils.py:830
↓ 1 callersFunction_standardize
Makes sure that Var(W) = 1 and E[W] = 0
model/layers.py:9
↓ 1 callersFunction_superimpose_np
Superimposes coordinates onto a reference by minimizing RMSD using SVD. Args: reference: [N, 3] referenc
openfold/utils/superimposition.py:20
↓ 1 callersFunction_superimpose_single
(reference, coords)
openfold/utils/superimposition.py:38
↓ 1 callersFunction_tied_attention
(query: torch.Tensor, key: torch.Tensor, value: torch.Tensor, biases: List[torch.Tensor])
openfold/model/primitives.py:246
↓ 1 callersFunction_to_a3m
Converts sequences to an a3m file.
openfold/data/tools/kalign.py:26
↓ 1 callersFunction_trace_module
(module, batch_dims=None)
openfold/model/torchscript.py:88
↓ 1 callersFunction_trace_submodules_
( model, types, batch_dims=None, )
openfold/model/torchscript.py:170
↓ 1 callersFunction_trans_diffuse_mask
(trans_t, trans_1, diffuse_mask)
data/interpolant.py:23
↓ 1 callersMethod_trans_euler_step
(self, d_t, t, trans_1, trans_t)
data/interpolant.py:132
↓ 1 callersMethod_transition
(self, m, mask)
openfold/model/evoformer.py:68
↓ 1 callersMethod_transition
(self, z, mask)
openfold/model/pair_transition.py:48
↓ 1 callersMethod_transition
(self, m, mask)
model/msa.py:116
↓ 1 callersFunction_uniform_so3
(num_batch, num_res, device)
data/interpolant.py:16
↓ 1 callersMethod_update_cos_sin_tables
(self, x, seq_dimension=1)
model/utils.py:81
↓ 1 callersMethod_update_state_dict_
(self, update, state_dict)
openfold/utils/exponential_moving_average.py:41
↓ 1 callersMethod_update_state_dict_
(self, update, state_dict)
model/utils.py:137
↓ 1 callersMethod_wrap_up
(self, o: torch.Tensor, q_x: torch.Tensor )
model/msa.py:230
↓ 1 callersMethodalign
Aligns the sequences and returns the alignment in A3M string. Args: sequences: A list of query sequence strings. The sequences have
openfold/data/tools/kalign.py:50
↓ 1 callersFunctionalign_metric
( gt_atom37_pos, atom37_pos, atom37_mask, diffuse_mask, metrics = ["tm
analysis/metrics.py:97
↓ 1 callersFunctionangle_from_rotmat
Compute rotation angles (as well as their sines and cosines) encoded by rotation matrices. Uses atan2 for better numerical stability for smal
data/so3_utils.py:429
↓ 1 callersMethodapply_rot_fn
Applies a Rotation -> Rotation function to the stored rotation object. Args: fn: A function of t
openfold/utils/rigid_utils.py:1326
↓ 1 callersFunctionassign
(translation_dict, orig_weights)
openfold/utils/import_weights.py:103
↓ 1 callersFunctionassign
(d1, d2)
openfold/utils/tensor_utils.py:387
↓ 1 callersFunctionbackbone_loss
( backbone_rigid_tensor: torch.Tensor, backbone_rigid_mask: torch.Tensor, traj: torch.Tensor,
openfold/utils/loss.py:152
↓ 1 callersFunctionbetween_residue_bond_loss
Flat-bottom loss to penalize structural violations between residues. This is a loss penalizing any violation of the geometry around the peptide
openfold/utils/loss.py:712
↓ 1 callersFunctionbetween_residue_clash_loss
Loss to penalize steric clashes between residues. This is a loss penalizing any steric clashes due to non bonded atoms in different peptides
openfold/utils/loss.py:871
↓ 1 callersFunctionbuild_extra_msa_feat
(batch)
openfold/utils/feats.py:155
↓ 1 callersFunctionbuild_training_clusters
(params, debug)
ProteinMPNN/training/utils.py:315
↓ 1 callersFunctioncalc_aligned_rmsd
(pos_1, pos_2)
analysis/metrics.py:78
↓ 1 callersFunctioncalc_mdtraj_metrics
(pdb_path)
analysis/metrics.py:62
↓ 1 callersMethodcalc_rot_score
(self, rots_t, rots_0, t)
data/se3_diffuser.py:119
↓ 1 callersFunctioncalc_rot_vf
Computes the vector field Log_{mat_t}(mat_1). Args: mat_t (torch.Tensor): base point to compute vector field at. mat_1 (torc
data/so3_utils.py:658
↓ 1 callersFunctioncalc_tm_score
(pos_1, pos_2,)
analysis/metrics.py:49
↓ 1 callersMethodcalc_trans_score
(self, trans_t, trans_0, t, use_torch=False, scale=True)
data/se3_diffuser.py:115
↓ 1 callersFunctioncalculate_igso3
calculate_igso3 pre-computes numerical approximations to the IGSO3 cdfs and score norms and expected squared score norms. Args: num_t
data/igso3.py:58
↓ 1 callersFunctionchunker
(s, e)
openfold/utils/checkpointing.py:67
↓ 1 callersMethodcompose_r
Composes the current rigid object with another. Args: r: Another Rigid object
openfold/utils/rigid_utils.py:1087
↓ 1 callersFunctioncompute_drmsd
(structure_1, structure_2, mask=None)
openfold/utils/loss.py:1518
↓ 1 callersFunctioncompute_plddt
(logits: torch.Tensor)
openfold/utils/loss.py:368
↓ 1 callersFunctioncompute_predicted_aligned_error
Computes aligned confidence metrics from logits. Args: logits: [*, num_res, num_res, num_bins] the logits output from PredictedAlig
openfold/utils/loss.py:581
↓ 1 callersFunctioncompute_renamed_ground_truth
Find optimal renaming of ground truth based on the predicted positions. Alg. 26 "renameSymmetricGroundTruthAtoms" This renamed ground t
openfold/utils/loss.py:1353
↓ 1 callersFunctioncompute_tm
( logits: torch.Tensor, residue_weights: Optional[torch.Tensor] = None, max_bin: int = 31, no_
openfold/utils/loss.py:621
↓ 1 callersFunctioncompute_violation_metrics
Compute several metrics to assess the structural violations.
openfold/utils/loss.py:1272
↓ 1 callersFunctionconcat_np_features
Performs a nested concatenation of feature dicts. Args: np_dicts: list of dicts with the same structure. Each dict must have
data/utils.py:597
↓ 1 callersMethodconditional_probs
Graph-conditioned sequence model
ProteinMPNN/protein_mpnn_utils.py:1351
↓ 1 callersFunctioncreate_scatter
Creates Scatter3D objects for use in plotly. Args: pos_3d: [N, 3] array containing N points with euclidean coordinates.
analysis/plotting.py:15
↓ 1 callersFunctioncrop_feats
Crop randomly to `crop_size`, or keep as is if shorter than that.
data/utils.py:401
↓ 1 callersMethoddelete_cache
Delete the cache file.
data/so3_utils.py:723
↓ 1 callersFunctiondensity
IGSO(3) density. Args: expansion: truncated approximation of the power series in the IGSO(3) density. omega: length of an
data/so3_diffuser.py:52
↓ 1 callersFunctiondeterministic_train_filter
( chain_data_cache_entry: Any, max_resolution: float = 9., max_single_aa_prop: float = 0.8, )
openfold/data/data_modules.py:215
↓ 1 callersFunctiondict_map
(fn, dic, leaf_type)
openfold/utils/tensor_utils.py:83
↓ 1 callersMethoddiffusion_coef
Compute diffusion coefficient (g_t).
data/so3_diffuser.py:201
↓ 1 callersMethoddiffusion_sample
Sample based on length. Args: sample_length: length to sample Returns: Sample outputs.
model/fold_module.py:349
↓ 1 callersFunctiondigso3_expansion
Compute the derivative of the IGSO(3) angle probability distribution function with respect to the angles for pairs of angles and std dev leve
data/so3_utils.py:1365
↓ 1 callersFunctiondistogram_loss
( logits, pseudo_beta, pseudo_beta_mask, min_bin=2.3125, max_bin=21.6875, no_bins=64,
openfold/utils/loss.py:513
↓ 1 callersMethoddistribution
(self, x_t, score_t, t, mask, dt)
data/r3_diffuser.py:71
↓ 1 callersMethodembed_templates
(self, batch, z, pair_mask, templ_dim)
openfold/model/model.py:109
↓ 1 callersFunctionensembled_transform_fns
Input pipeline data transformers that can be ensembled and averaged.
openfold/data/input_pipeline.py:70
↓ 1 callersMethodexpansion_function
Function for generating the angle probability distribution. Should return a 2D tensor with values for the std dev at the first dimens
data/so3_utils.py:902
↓ 1 callersFunctionexperimentally_resolved_loss
( logits: torch.Tensor, atom37_atom_exists: torch.Tensor, all_atom_mask: torch.Tensor, resolut
openfold/utils/loss.py:1461
↓ 1 callersFunctionextreme_ca_ca_distance_violations
Counts residues whose Ca is a large distance from its neighbour. Measures the fraction of CA-CA pairs between consecutive amino acids that are
openfold/utils/loss.py:1235
↓ 1 callersFunctionfape_loss
( out: Dict[str, torch.Tensor], batch: Dict[str, torch.Tensor], config: ml_collections.ConfigDict,
openfold/utils/loss.py:260
↓ 1 callersFunctionfinal_init_
(weights)
openfold/model/primitives.py:83
↓ 1 callersFunctionfinal_init_
(weights)
model/layers.py:284
↓ 1 callersFunctionfinal_init_
(weights)
model/ipa_pytorch.py:85
↓ 1 callersFunctionfind_violations
Analyzes a protein and returns structural violation information. Args: prot_np: A protein. Returns: violations: A `dict` of stru
openfold/np/relax/amber_minimize.py:354
↓ 1 callersMethodframes_and_literature_positions_to_atom14_pos
( self, r, f # [*, N, 8] # [*, N] )
openfold/model/structure_module.py:808
↓ 1 callersMethodframes_and_literature_positions_to_atom14_pos
( self, r, f # [*, N, 8] # [*, N] )
model/score_network.py:754
↓ 1 callersFunctiongating_init_
(weights)
openfold/model/primitives.py:88
↓ 1 callersFunctiongating_init_
(weights)
model/layers.py:289
↓ 1 callersFunctiongating_init_
(weights)
model/ipa_pytorch.py:90
↓ 1 callersFunctiongenerate_igso3_lookup_table
Generate a lookup table for the IGSO(3) probability distribution function of angles. Args: omega_grid: Grid of angle values ranging
data/so3_utils.py:1494
↓ 1 callersFunctionget_angles
(a, b, c)
openfold/data/data_transforms.py:1211
↓ 1 callersFunctionget_angles
(a, b, c)
data/data_transforms.py:682
↓ 1 callersFunctionget_chi_atom_indices
Returns atom indices needed to compute chi angles for all residue types. Returns: A tensor of shape [residue_types=21, chis=4, atoms=4]. Th
openfold/data/data_transforms.py:897
↓ 1 callersFunctionget_chi_atom_indices
Returns atom indices needed to compute chi angles for all residue types. Returns: A tensor of shape [residue_types=21, chis=4, atoms=4]. Th
data/data_transforms.py:454
↓ 1 callersFunctionget_rate_matrix
(rate)
data/discrete_diffuser.py:51
← previousnext →301–400 of 1,071, ranked by callers