MCPcopy Create free account

hub / github.com/SantiagoMille/germinal / functions

Functions1,028 in github.com/SantiagoMille/germinal

↓ 166 callersMethodget
(self, num=1)
colabdesign/colabdesign/shared/utils.py:94
↓ 150 callersMethodzeros
Return Vec3Array corresponding to zeros of given shape.
colabdesign/colabdesign/af/alphafold/model/geometry/vector.py:103
↓ 81 callersMethodsplit
(self, num_keys=2)
colabdesign/colabdesign/shared/prng.py:20
↓ 49 callersMethodsplit
(self, num_keys=2)
colabdesign/colabdesign/af/alphafold/model/prng.py:42
↓ 46 callersMethodget
(self)
colabdesign/colabdesign/af/alphafold/model/prng.py:37
↓ 39 callersMethodadd
(self, arg, default, type, help=None)
colabdesign/colabdesign/tr/legacy/utils.py:270
↓ 22 callersMethodnorm
Compute Norm of Vec3Array, clipped to epsilon.
colabdesign/colabdesign/af/alphafold/model/geometry/vector.py:87
↓ 20 callersMethod__init__
(self, config, name='alphafold')
colabdesign/colabdesign/af/alphafold/model/modules.py:145
↓ 20 callersMethodcross
Compute cross product between 'self' and 'other'.
colabdesign/colabdesign/af/alphafold/model/geometry/vector.py:76
↓ 19 callersMethoddot
Compute dot product between 'self' and 'other'.
colabdesign/colabdesign/af/alphafold/model/geometry/vector.py:83
↓ 19 callersFunctionprint_status
(prefix: str, msg: str)
validate_install.py:7
↓ 18 callersMethodcopy
Create a deep copy of this trajectory instance. Creates a new Trajectory instance with identical data but independent from th
germinal/utils/io.py:296
↓ 14 callersFunctioncat_neighbors_nodes
(h_nodes, h_neighbors, E_idx)
colabdesign/colabdesign/mpnn/legacy/utils.py:30
↓ 13 callersMethodapply
(params, key, feat)
colabdesign/colabdesign/af/alphafold/model/model.py:56
↓ 13 callersMethodprep_inputs
prep inputs for TrDesign
colabdesign/colabdesign/tr/model.py:114
↓ 11 callersFunctioncopy_dict
deepcopy dictionary
colabdesign/colabdesign/shared/utils.py:42
↓ 11 callersFunctionsquared_difference
(x, y)
colabdesign/colabdesign/af/alphafold/model/all_atom.py:46
↓ 10 callersFunctioncat_neighbors_nodes
(h_nodes, h_neighbors, E_idx)
colabdesign/colabdesign/mpnn/utils.py:14
↓ 10 callersFunctionprep_pos
given input [pos]itions (a string of segment ranges seperated by comma, for example: "1,3-4,10-15"), return list of indices to constrain.
colabdesign/colabdesign/shared/prep.py:3
↓ 10 callersMethodto_array
(self)
colabdesign/colabdesign/af/alphafold/model/geometry/vector.py:109
↓ 9 callersMethodplot
plot predictions
colabdesign/colabdesign/tr/model.py:283
↓ 9 callersMethodtxt
(self,help)
colabdesign/colabdesign/tr/legacy/utils.py:267
↓ 8 callersFunction_np_kabsch
get alignment matrix for two sets of coodinates
colabdesign/colabdesign/shared/protein.py:128
↓ 8 callersFunction_unwrap
Unwrap Protenix's single-element list serialization. Protenix's ``save_json`` converts tensors via ``.tolist()``. A shape-[1] tensor becomes
germinal/filters/protenix.py:26
↓ 8 callersMethodget_loss
output the loss (for entire trajectory)
colabdesign/colabdesign/af/utils.py:60
↓ 8 callersFunctionglorot_uniform
()
colabdesign/colabdesign/af/alphafold/model/modules.py:306
↓ 8 callersFunctionsoftmax
(x, axis=-1)
colabdesign/colabdesign/shared/utils.py:102
↓ 7 callersMethod__init__
(self, num_hidden, num_in, dropout=0.1, num_heads=None, scale=30, name=None)
colabdesign/colabdesign/mpnn/modules.py:27
↓ 7 callersMethod__init__
(self, num_hidden, num_in, dropout=0.1, num_heads=None, scale=30, name=None)
colabdesign/colabdesign/mpnn/legacy/modules.py:27
↓ 7 callersMethodapply_to_point
Apply affine to a point. Args: point: List of 3 tensors to apply affine. extra_dims: Number of dimensions at the end of the transfor
colabdesign/colabdesign/af/alphafold/model/quat_affine.py:287
↓ 7 callersMethodfrom_array
(cls, array)
colabdesign/colabdesign/af/alphafold/model/geometry/vector.py:113
↓ 7 callersFunctionget_con_loss
(inputs, outputs, con_opt, mask_1d=None, mask_1b=None, mask_2d=None)
colabdesign/colabdesign/af/loss.py:289
↓ 6 callersMethod__init__
(self, config, output_dim, weight)
colabdesign/colabdesign/esm_msa/modules.py:81
↓ 6 callersFunction_aa_convert
(x, rev=False)
colabdesign/colabdesign/mpnn/model.py:314
↓ 6 callersFunctionget_dgram_bins
(outputs)
colabdesign/colabdesign/af/loss.py:243
↓ 6 callersFunctionget_stats
compute f_i/f_ij/f_ijk given msa
colabdesign/colabdesign/seq/stats.py:5
↓ 6 callersMethodnormalized
Return unit vector with optional clipping.
colabdesign/colabdesign/af/alphafold/model/geometry/vector.py:98
↓ 6 callersFunctionplot_pseudo_3D
(xyz, c=None, ax=None, chainbreak=5, Ls=None, cmap="gist_rainbow", line_w=2.0,
colabdesign/colabdesign/shared/plot.py:80
↓ 6 callersFunctionrots_mul_vecs
Apply rotations 'm' to vectors 'v'.
colabdesign/colabdesign/af/alphafold/model/r3.py:248
↓ 6 callersMethodrun
run model to get outputs, losses and gradients
colabdesign/colabdesign/af/design.py:199
↓ 6 callersMethodset_seq
set sequence params and bias ----------------------------------- -seq=str or seq=[str,str] or seq=array(shape=(L,20) or shape=(?,L,20))
colabdesign/colabdesign/shared/model.py:27
↓ 6 callersFunctionupdate_dict
robust function for updating dictionary
colabdesign/colabdesign/shared/utils.py:17
↓ 5 callersMethod__init__
Module projecting a Rigid Object. For this Module the Rotation is parametrized as a quaternion, If 'full_quat' is True a 4 vector is produced
colabdesign/colabdesign/af/alphafold/model/folding_multimer.py:68
↓ 5 callersMethod__init__
(self, config, name='alphafold')
colabdesign/colabdesign/af/alphafold/model/modules_multimer.py:159
↓ 5 callersFunctionget_array_fields
(cls, return_values=False)
colabdesign/colabdesign/af/alphafold/model/geometry/struct_of_array.py:167
↓ 5 callersMethodget_idx
(self, tok)
colabdesign/colabdesign/esm_msa/data.py:120
↓ 5 callersFunctionloss_fn
(t,p,m)
colabdesign/colabdesign/af/loss.py:386
↓ 5 callersFunctionprep_pdb
extract features from pdb
colabdesign/colabdesign/af/prep.py:469
↓ 5 callersMethodset_opt
set [opt]ions ------------------- note: model.restart() resets the [opt]ions to their defaults use model.set_opt(..., set_defaults=Tr
colabdesign/colabdesign/af/utils.py:18
↓ 5 callersMethodset_weights
set weights ------------------- note: model.restart() resets the weights to their defaults use model.set_weights(..., set_defaults=Tr
colabdesign/colabdesign/shared/model.py:14
↓ 5 callersFunctionuncrop_feat
uncrop features
colabdesign/colabdesign/af/contrib/crop.py:48
↓ 5 callersMethodupdate_failures
Thread-safe increment of failure counts in tracking CSV. Increments failure counts for specific failure types using thread-safe
germinal/utils/io.py:436
↓ 4 callersMethod__init__
(self, config, global_config)
colabdesign/colabdesign/af/alphafold/model/folding.py:476
↓ 4 callersFunction_dist
(a,b)
colabdesign/colabdesign/seq/kmeans.py:9
↓ 4 callersFunction_make_rigid_transformation_4x4
Create a rigid 4x4 transformation matrix from two axes and transl.
colabdesign/colabdesign/af/alphafold/common/residue_constants.py:753
↓ 4 callersFunction_np_dih
given coordinates a-b-c-d, return dihedral
colabdesign/colabdesign/shared/protein.py:166
↓ 4 callersFunction_np_norm
compute norm of vector
colabdesign/colabdesign/shared/protein.py:147
↓ 4 callersMethod_prep_features
process features
colabdesign/colabdesign/af/prep.py:36
↓ 4 callersMethod_prep_model
prep model
colabdesign/colabdesign/af/prep.py:24
↓ 4 callersMethod_save_results
(self, aux=None, save_best=False, best_metric=None, metric_higher_better=False,
colabdesign/colabdesign/af/design.py:427
↓ 4 callersMethodapply_to_point
Applies Rot3Array to point.
colabdesign/colabdesign/af/alphafold/model/geometry/rotation_matrix.py:53
↓ 4 callersFunctiongather_nodes
(nodes, neighbor_idx)
colabdesign/colabdesign/mpnn/legacy/utils.py:14
↓ 4 callersFunctionget_dgram_loss
(inputs, outputs, copies=1, aatype=None, return_mtx=False, pos=None, target_len=None)
colabdesign/colabdesign/af/loss.py:370
↓ 4 callersFunctionget_multi_id
set info for alphafold-multimer
colabdesign/colabdesign/af/prep.py:652
↓ 4 callersFunctionget_pae_loss
(outputs, mask_1d=None, mask_1b=None, mask_2d=None)
colabdesign/colabdesign/af/loss.py:279
↓ 4 callersFunctionget_rmsd_loss
(inputs, outputs, L=None, include_L=True, copies=1)
colabdesign/colabdesign/af/loss.py:472
↓ 4 callersFunctionhotspot_residues
Identify interface hotspot residues between binder and target. Analyzes a protein complex structure to identify binder residues that are
germinal/utils/utils.py:390
↓ 4 callersMethodinverse
Returns inverse of Rot3Array.
colabdesign/colabdesign/af/alphafold/model/geometry/rotation_matrix.py:47
↓ 4 callersFunctionkmeans
(x, x_weights, k, seed=0, max_iter=300)
colabdesign/colabdesign/seq/kmeans.py:96
↓ 4 callersFunctionmask_loss
(x, mask=None, mask_grad=False)
colabdesign/colabdesign/af/loss.py:260
↓ 4 callersFunctionmmcif_loop_to_list
Extracts loop associated with a prefix from mmCIF data as a list. Reference for loop_ in mmCIF: http://mmcif.wwpdb.org/docs/tutorials/mechanics
colabdesign/colabdesign/af/alphafold/data/mmcif_parsing.py:111
↓ 4 callersFunctionmtx2bins
(x_ref, start, end, nbins, mask)
colabdesign/colabdesign/shared/protein.py:278
↓ 4 callersFunctionmtx2bins
(x_ref, start, end, nbins, mask)
colabdesign/colabdesign/tr/legacy/utils.py:147
↓ 4 callersMethodnorm2
(self)
colabdesign/colabdesign/af/alphafold/model/geometry/vector.py:95
↓ 4 callersMethodpredict
predict structure for input sequence (if provided)
colabdesign/colabdesign/af/design.py:488
↓ 4 callersMethodsave_pdb
save pdb coordinates (if filename provided, otherwise return as string) - get_best: False to get the last sampled sequence - save_all: Tr
colabdesign/colabdesign/af/utils.py:64
↓ 4 callersMethodscale_translation
Return a new quat affine with a different scale for translation.
colabdesign/colabdesign/af/alphafold/model/quat_affine.py:243
↓ 4 callersFunctionscatter
(x, value=0)
colabdesign/colabdesign/af/prep.py:517
↓ 4 callersFunctionscatter
(input, dim, index, src)
colabdesign/colabdesign/mpnn/legacy/utils.py:35
↓ 4 callersMethodset_save_location
Set the target directory for trajectory storage. Specifies which directory category this trajectory should be saved to based
germinal/utils/io.py:267
↓ 4 callersMethodset_seed
(self, seed=None)
colabdesign/colabdesign/mpnn/model.py:233
↓ 4 callersMethodsub
(x, axis=0)
colabdesign/colabdesign/af/loss.py:121
↓ 3 callersFunction_E
(means)
colabdesign/colabdesign/seq/kmeans.py:43
↓ 3 callersMethod_assert_not_used
(self)
colabdesign/colabdesign/af/alphafold/model/prng.py:33
↓ 3 callersMethod_assert_not_used
(self)
colabdesign/colabdesign/shared/prng.py:11
↓ 3 callersMethod_calculate_passing
(self, aux, save_filters)
colabdesign/colabdesign/af/design.py:424
↓ 3 callersMethod_call_wrapped
(self, x: jnp.ndarray, *args, )
colabdesign/colabdesign/af/alphafold/model/layer_stack.py:160
↓ 3 callersMethod_get_iglm_grad
(self, seq_logits: torch.Tensor, chain='[HEAVY]')
colabdesign/colabdesign/iglm/model.py:139
↓ 3 callersMethod_get_model_nums
decide which model params to use
colabdesign/colabdesign/af/design.py:181
↓ 3 callersMethod_loss_unsupervised
(self, inputs, outputs, aux)
colabdesign/colabdesign/af/loss.py:177
↓ 3 callersFunction_np_get_6D
get 6D features (see TrRosetta paper)
colabdesign/colabdesign/shared/protein.py:199
↓ 3 callersFunction_run_af3
Execute AlphaFold3 structure prediction via Singularity container. Runs AF3 inference using the provided input JSON and configuration settin
germinal/filters/af3.py:538
↓ 3 callersMethod_single
single pass through the model
colabdesign/colabdesign/af/design.py:256
↓ 3 callersFunctionapply_rot_to_vec
Multiply rotation matrix by a vector.
colabdesign/colabdesign/af/alphafold/model/quat_affine.py:162
↓ 3 callersMethodbuild_residual
(self, layer: hk.Module, name=None)
colabdesign/colabdesign/esm_msa/modules.py:52
↓ 3 callersFunctioncall_generate_colabfold_msa_with_timeout
Generate MSA via ColabFold API with timeout protection. Uses ProcessPoolExecutor to enforce a timeout on MSA generation. If timeout is e
germinal/filters/af3.py:209
↓ 3 callersFunctionclean_pdb
Remove unnecessary information from PDB files for clean processing. Filters PDB files to retain only essential structural information by
germinal/utils/utils.py:127
↓ 3 callersMethodcompose_rotation
(self, other_rotation)
colabdesign/colabdesign/af/alphafold/model/geometry/rigid_matrix_vector.py:57
↓ 3 callersFunctioncopy_residues_with_reindex
Copy residues to new chain with sequential renumbering. Creates a new chain containing copies of the input residues with residue numbers
germinal/utils/utils.py:650
↓ 3 callersFunctiondense
(x, params)
colabdesign/colabdesign/tr/trrosetta.py:42
next →1–100 of 1,028, ranked by callers