MCPcopy Create free account

hub / github.com/SantiagoMille/germinal / functions

Functions1,028 in github.com/SantiagoMille/germinal

↓ 3 callersMethoddesign
(self, iters=100, soft=0.0, e_soft=None, temp=1.0, e_temp=None, hard=0.
colabdesign/colabdesign/af/design.py:527
↓ 3 callersMethodfrom_tensor
(cls, tensor, normalize=False)
colabdesign/colabdesign/af/alphafold/model/quat_affine.py:253
↓ 3 callersFunctiongather_edges
(edges, neighbor_idx)
colabdesign/colabdesign/mpnn/legacy/utils.py:8
↓ 3 callersFunctiongenerate_local_msa
Generate an unpaired MSA for the given sequence using colabfold_search. Args: sequence (str): The sequence to generate an MSA for.
germinal/filters/af3.py:107
↓ 3 callersMethodget_ablm_grad
Compute AbLang gradient for the hallucination loop. Args: seq: logits dict (with key 'logits') or raw array, shape (..
colabdesign/colabdesign/ablang/model.py:315
↓ 3 callersFunctionget_ar_mask
compute autoregressive mask, given order of positions
colabdesign/colabdesign/mpnn/legacy/utils.py:43
↓ 3 callersFunctionget_best_pae_ipae
Extract Predicted Aligned Error metrics from the best model iteration. Retrieves the Predicted Aligned Error (PAE) and interface PAE (iPAE) v
germinal/design/design.py:466
↓ 3 callersFunctionget_best_plddt
Extract confidence metrics from the best model iteration. Calculates the predicted Local Distance Difference Test (pLDDT) and interface p
germinal/design/design.py:444
↓ 3 callersFunctionget_eff
compute weight per sequence
colabdesign/colabdesign/seq/utils.py:43
↓ 3 callersFunctionget_fape_loss
(inputs, outputs, copies=1, clamp=10.0, return_mtx=False)
colabdesign/colabdesign/af/loss.py:399
↓ 3 callersFunctionget_fields
(cls_or_instance, filterfn, return_values=False)
colabdesign/colabdesign/af/alphafold/model/geometry/struct_of_array.py:156
↓ 3 callersMethodget_loss
(self, k=None, get_best=True)
colabdesign/colabdesign/tr/model.py:305
↓ 3 callersFunctionget_plddt_loss
(outputs, mask_1d=None)
colabdesign/colabdesign/af/loss.py:275
↓ 3 callersFunctionget_ptm
(inputs, outputs, interface=False)
colabdesign/colabdesign/af/loss.py:232
↓ 3 callersFunctionget_sequence_from_pdb
Extract protein sequences from PDB file organized by chain. Parses a PDB file and extracts the amino acid sequence for each chain, conver
germinal/utils/utils.py:282
↓ 3 callersFunctionmake_bond_key
Unique key to lookup bonds.
colabdesign/colabdesign/af/alphafold/common/residue_constants.py:441
↓ 3 callersFunctionmodel
(params, key, length=100)
colabdesign/colabdesign/tr/trrosetta.py:91
↓ 3 callersFunctionnankabsch
(a,b,**kwargs)
colabdesign/colabdesign/shared/plot.py:201
↓ 3 callersMethodpredict
(self, seq=None, models=0)
colabdesign/colabdesign/tr/model.py:271
↓ 3 callersFunctionrepeat_idx
(idx, copies=1, offset=50)
colabdesign/colabdesign/af/prep.py:462
↓ 3 callersFunctionrobust_norm
(x, axis=-1, keepdims=False, eps=1e-8)
colabdesign/colabdesign/af/loss.py:401
↓ 3 callersMethodrun
run model to get outputs, losses and gradients
colabdesign/colabdesign/tr/model.py:214
↓ 3 callersMethodsample
I = { [[required]] 'X' = (L,4,3) 'mask' = (L,) 'residue_index' = (L,) 'chain_idx' = (L,) '
colabdesign/colabdesign/mpnn/sample.py:9
↓ 3 callersFunctionsample_msa
(samples=10000, burn_in=1, temp=1.0, order=None, ar=False, diff=False, seq=True)
colabdesign/colabdesign/seq/mrf.py:5
↓ 3 callersMethodscore
score sequence
colabdesign/colabdesign/mpnn/model.py:208
↓ 3 callersMethodset_opt
set [opt]ions ------------------- note: model.restart() resets the [opt]ions to their defaults use model.set_opt(..., set_defaults=Tr
colabdesign/colabdesign/tr/model.py:176
↓ 3 callersMethodset_optimizer
set/reset optimizer ---------------------------------- supported optimizers include: [adabelief, adafactor, adagrad, adam, adamw, fr
colabdesign/colabdesign/shared/model.py:164
↓ 3 callersFunctionsetup
(self, crop_len=128, crop_mode="slide", crop_iter=5)
colabdesign/colabdesign/af/contrib/crop.py:8
↓ 3 callersFunctionsigmoid
(x, L, x0, k, b)
germinal/filters/pDockQ.py:240
↓ 3 callersFunctionsquared_difference
(x, y)
colabdesign/colabdesign/af/alphafold/model/r3.py:54
↓ 3 callersFunctionsquared_difference
(x, y)
colabdesign/colabdesign/af/alphafold/model/folding.py:33
↓ 3 callersMethodto_tensor
(self)
colabdesign/colabdesign/af/alphafold/model/quat_affine.py:221
↓ 3 callersMethodupdate_other_metrics
Update additional analysis metrics and metadata. Updates supplementary metrics that don't fall into trajectory or filtering c
germinal/utils/io.py:254
↓ 2 callersFunctionTrRosetta
(bkg_model=False)
colabdesign/colabdesign/tr/trrosetta.py:5
↓ 2 callersFunction_M
(labels)
colabdesign/colabdesign/seq/kmeans.py:47
↓ 2 callersMethod__init__
Iterate a function `f` `count` times, with non-shared parameters.
colabdesign/colabdesign/af/alphafold/model/layer_stack.py:69
↓ 2 callersMethod_build_inputs
Build token IDs, soft input embeddings, and AA positions from sequence logits. Common setup shared by all three gradient variants (unmasked C
colabdesign/colabdesign/ablang/model.py:121
↓ 2 callersFunction_calculate_bin_centers
Gets the bin centers from the bin edges. Args: breaks: [num_bins - 1] the error bin edges. Returns: bin_centers: [num_bins] the error bin
colabdesign/colabdesign/af/alphafold/common/confidence.py:53
↓ 2 callersFunction_calculate_mean_lis
Calculate mean LIS for each subunit pair. Args: transformed_pae: The PAE matrix after LIS transformation. subunit_sizes: A l
germinal/filters/pDockQ.py:415
↓ 2 callersFunction_check_no_varargs
(f)
colabdesign/colabdesign/af/alphafold/model/layer_stack.py:38
↓ 2 callersFunction_ensure_2d
Return (arr2d, had_batch) where arr2d has shape (L, K).
colabdesign/colabdesign/af/design.py:26
↓ 2 callersFunction_expand_axes
(axes, values, name='sharded_apply')
colabdesign/colabdesign/af/alphafold/model/mapping.py:49
↓ 2 callersFunction_get_con_loss
dgram to contacts
colabdesign/colabdesign/af/loss.py:327
↓ 2 callersFunction_get_con_loss_beta
dgram to contacts
germinal/design/design.py:637
↓ 2 callersFunction_get_hhr_line_regex_groups
( regex_pattern: str, line: str)
colabdesign/colabdesign/af/alphafold/data/parsers.py:218
↓ 2 callersMethod_get_model
(self, cfg, callback=None)
colabdesign/colabdesign/af/model.py:140
↓ 2 callersFunction_get_pw_loss
(true, pred, loss_fn, weights=None, copies=1, return_mtx=False)
colabdesign/colabdesign/af/loss.py:434
↓ 2 callersMethod_get_score
logits to score/sequence_recovery
colabdesign/colabdesign/mpnn/model.py:187
↓ 2 callersFunction_inertia
(means)
colabdesign/colabdesign/seq/kmeans.py:54
↓ 2 callersMethod_init_model
Load AbLang model (lazy, cached).
colabdesign/colabdesign/ablang/model.py:48
↓ 2 callersFunction_layer_norm
(axis=-1, name='layer_norm')
colabdesign/colabdesign/af/alphafold/model/modules.py:913
↓ 2 callersFunction_multiply
(a, b)
colabdesign/colabdesign/af/alphafold/model/quat_affine.py:344
↓ 2 callersMethod_mutate
mutate random position
colabdesign/colabdesign/af/design.py:629
↓ 2 callersMethod_norm_seq_grad
(self, effective_length=None, zero_thr=1e-7)
colabdesign/colabdesign/shared/model.py:157
↓ 2 callersFunction_np_ang
given coordinates a-b-c, return angle
colabdesign/colabdesign/shared/protein.py:156
↓ 2 callersFunction_np_get_cb
compute CB placement from N, CA, C
colabdesign/colabdesign/shared/protein.py:195
↓ 2 callersFunction_np_len
given coordinates a-b, return length or distance
colabdesign/colabdesign/shared/protein.py:152
↓ 2 callersFunction_np_len_pw
compute pairwise distance
colabdesign/colabdesign/shared/protein.py:106
↓ 2 callersFunction_np_rmsdist
compute RMSD of distance matrices
colabdesign/colabdesign/shared/protein.py:121
↓ 2 callersMethod_print_log
(self, print_str=None, aux=None)
colabdesign/colabdesign/af/design.py:401
↓ 2 callersFunction_update_hhr_residue_indices_list
Computes the relative indices for each residue with respect to the original sequence.
colabdesign/colabdesign/af/alphafold/data/parsers.py:226
↓ 2 callersFunctionalign_axes
(coords, source_axis, target_axis)
colabdesign/colabdesign/rf/utils.py:19
↓ 2 callersMethodalign_scaling
(self, q)
colabdesign/colabdesign/esm_msa/axial_attention.py:37
↓ 2 callersMethodanimate
animate the trajectory - use [s]tart and [e]nd to define range to be animated - use dpi to specify the resolution of animation - colo
colabdesign/colabdesign/af/utils.py:100
↓ 2 callersMethodapply_to_point
Apply Rigid3Array transform to point.
colabdesign/colabdesign/af/alphafold/model/geometry/rigid_matrix_vector.py:48
↓ 2 callersFunctionblock
(x, params, dilation, key, rate=0.15)
colabdesign/colabdesign/tr/trrosetta.py:56
↓ 2 callersFunctioncalculate_percentages
Calculate secondary structure percentages from counts. Converts raw counts of secondary structure elements to percentages with proper han
germinal/utils/utils.py:917
↓ 2 callersFunctionchi_angle_atom
Define chi-angle rigid groups via one-hot representations.
colabdesign/colabdesign/af/alphafold/common/residue_constants.py:711
↓ 2 callersMethodcompute_attention_update
( self, x, attn_probs, )
colabdesign/colabdesign/esm_msa/axial_attention.py:89
↓ 2 callersMethodcompute_attention_update
( self, x, self_attn_padding_mask, )
colabdesign/colabdesign/esm_msa/axial_attention.py:158
↓ 2 callersMethodcompute_attention_weights
( self, x, scaling: float, self_attn_padding_mask, )
colabdesign/colabdesign/esm_msa/axial_attention.py:69
↓ 2 callersFunctioncompute_shard
(outputs, slice_start, slice_size)
colabdesign/colabdesign/af/alphafold/model/mapping.py:168
↓ 2 callersFunctioncosine_similarity
(g1, g2)
colabdesign/colabdesign/af/design.py:101
↓ 2 callersFunctioncreateGridItem
(row, col, bgColor, content, opacity)
colabdesign/colabdesign/rf/blueprint.js:54
↓ 2 callersFunctioncreateTextInput
(row, value)
colabdesign/colabdesign/rf/blueprint.js:57
↓ 2 callersMethoddesign_logits
optimize logits
colabdesign/colabdesign/af/design.py:588
↓ 2 callersMethoddesign_semigreedy
semigreedy search
colabdesign/colabdesign/af/design.py:663
↓ 2 callersMethoddesign_soft
optimize softmax(logits/temp)
colabdesign/colabdesign/af/design.py:592
↓ 2 callersFunctiondgram_from_positions
Compute distogram from amino acid positions. Arguments: positions: [N_res, 3] Position coordinates. num_bins: The number of bins in the dist
colabdesign/colabdesign/af/alphafold/model/modules.py:1187
↓ 2 callersFunctiondgram_from_positions_soft
soft positions to dgram converter
colabdesign/colabdesign/af/alphafold/model/modules.py:1212
↓ 2 callersFunctiondict_to_str
convert dictionary to string for print out
colabdesign/colabdesign/shared/utils.py:54
↓ 2 callersMethodfrom_quaternion
Construct Rot3Array from components of quaternion.
colabdesign/colabdesign/af/alphafold/model/geometry/rotation_matrix.py:117
↓ 2 callersMethodfrom_two_vectors
Construct Rot3Array from two Vectors. Rot3Array is constructed such that in the corresponding frame 'e0' lies on the positive x-Axis and 'e1'
colabdesign/colabdesign/af/alphafold/model/geometry/rotation_matrix.py:79
↓ 2 callersFunctionget_R
(N, CA, C)
colabdesign/colabdesign/af/loss.py:404
↓ 2 callersFunctionget_ar_mask
compute autoregressive mask, given order of positions
colabdesign/colabdesign/mpnn/utils.py:19
↓ 2 callersFunctionget_cb_coordinates
Get CB coordinates (CA for GLY)
germinal/filters/pyrosetta_utils.py:730
↓ 2 callersFunctionget_contact_map
get contact map from distogram
colabdesign/colabdesign/af/loss.py:251
↓ 2 callersFunctionget_exp_res_loss
(outputs, mask_1d=None)
colabdesign/colabdesign/af/loss.py:270
↓ 2 callersFunctionget_ij
(R,T)
colabdesign/colabdesign/af/loss.py:413
↓ 2 callersFunctionget_key_atoms
Get key atoms to check for each residue type Returns list of important atoms for VDW contacts
germinal/filters/pyrosetta_utils.py:737
↓ 2 callersFunctionget_metadata_fields
(cls, return_values=False)
colabdesign/colabdesign/af/alphafold/model/geometry/struct_of_array.py:174
↓ 2 callersFunctionget_model_params
parse TrRosetta params into dictionary
colabdesign/colabdesign/tr/trrosetta.py:102
↓ 2 callersFunctionget_pae
(outputs)
colabdesign/colabdesign/af/loss.py:224
↓ 2 callersFunctionget_plddt
(outputs)
colabdesign/colabdesign/af/loss.py:216
↓ 2 callersFunctioninstance_norm
(x, params)
colabdesign/colabdesign/tr/trrosetta.py:26
↓ 2 callersMethodinvert_point
Apply inverse of transformation to a point. Args: transformed_point: List of 3 tensors to apply affine extra_dims: Number of dimensi
colabdesign/colabdesign/af/alphafold/model/quat_affine.py:313
↓ 2 callersFunctionmake_fixed_size
pad input features
colabdesign/colabdesign/af/prep.py:547
↓ 2 callersFunctionmin_k
(x, k=1, mask=None)
colabdesign/colabdesign/af/loss.py:293
↓ 2 callersFunctionnorm
(vector: Vec3Array, epsilon: float = 1e-6)
colabdesign/colabdesign/af/alphafold/model/geometry/vector.py:159
↓ 2 callersFunctionparse
(s)
colabdesign/colabdesign/esm_msa/data.py:276
← previousnext →101–200 of 1,028, ranked by callers