MCPcopy Create free account

hub / github.com/SantiagoMille/germinal / functions

Functions1,028 in github.com/SantiagoMille/germinal

↓ 1 callersMethod_score
(X, mask, residue_idx, chain_idx, key, **kwargs)
colabdesign/colabdesign/mpnn/model.py:238
↓ 1 callersMethod_setup
(self)
colabdesign/colabdesign/mpnn/model.py:237
↓ 1 callersFunction_transform_pae_matrix
Transform PAE matrix to LIS scores. Args: pae_matrix: Input PAE matrix pae_cutoff: PAE threshold for transformation Ret
germinal/filters/pDockQ.py:349
↓ 1 callersMethod_triangle_multiplication
Implementation of TriangleMultiplication used in AF2 and AF-M<2.3.
colabdesign/colabdesign/af/alphafold/model/modules.py:951
↓ 1 callersMethod_update_template
dynamically update template features
colabdesign/colabdesign/af/inputs.py:50
↓ 1 callersFunctionabmpnn_design
Generate redesigned sequences using AbMPNN for a given PDB structure. Args: trajectory_pdb: Path to the input PDB file. targ
germinal/filters/redesign.py:21
↓ 1 callersFunctionadd_assembly_features
Add features to distinguish between chains. Args: all_chain_features: A dictionary which maps chain_id to a dictionary of features for ea
colabdesign/colabdesign/af/alphafold/data/pipeline_multimer.py:119
↓ 1 callersFunctionadd_beta_sheet_loss
Add beta sheet secondary structure loss function for CDR regions. Implements a sophisticated loss function that promotes beta sheet formation
germinal/design/design.py:683
↓ 1 callersFunctionadd_beta_strand_loss
Add beta strand secondary structure loss function. Implements a loss function that promotes beta strand secondary structure in specified
germinal/design/design.py:621
↓ 1 callersFunctionadd_cb
add missing CB atoms based on N,CA,C
colabdesign/colabdesign/af/prep.py:474
↓ 1 callersFunctionadd_helix_loss
Add helical secondary structure loss function. Implements a loss function that promotes alpha-helical secondary structure in specified re
germinal/design/design.py:541
↓ 1 callersFunctionadd_i_ptm_loss
Add interface predicted Template Modeling score loss function. Implements an interface pTM loss to optimize the predicted confidence of t
germinal/design/design.py:516
↓ 1 callersFunctionadd_rg_loss
Add radius of gyration loss function to control protein compactness. Implements a radius of gyration constraint to encourage compact protein
germinal/design/design.py:486
↓ 1 callersFunctionadd_termini_distance_loss
Add N- and C-terminus distance constraint loss function. Implements a loss function that constrains the distance between the N- and C-ter
germinal/design/design.py:800
↓ 1 callersMethodaf_callback
(self, weight=1.0, seed=None)
colabdesign/colabdesign/tr/model.py:314
↓ 1 callersFunctionapc
Perform average product correct, used for contact prediction.
colabdesign/colabdesign/esm_msa/modules.py:22
↓ 1 callersFunctionapply_dropout
Applies dropout to a tensor.
colabdesign/colabdesign/af/alphafold/model/modules.py:36
↓ 1 callersFunctionapply_fun_to_slice
(slice_start, slice_size)
colabdesign/colabdesign/af/alphafold/model/mapping.py:138
↓ 1 callersFunctionapply_inverse_rot_to_vec
Multiply the inverse of a rotation matrix by a vector.
colabdesign/colabdesign/af/alphafold/model/quat_affine.py:173
↓ 1 callersMethodapply_inverse_to_point
Applies inverse Rot3Array to point.
colabdesign/colabdesign/af/alphafold/model/geometry/rotation_matrix.py:60
↓ 1 callersFunctionar_mask
compute autoregressive mask, given order of positions
colabdesign/colabdesign/seq/utils.py:55
↓ 1 callersFunctionassert_rot_trans_close_to_rigid
(rot: rotation_matrix.Rot3Array, trans: vector.Vec3Array,
colabdesign/colabdesign/af/alphafold/model/geometry/test_utils.py:94
↓ 1 callersFunctionassert_rot_trans_equal_to_rigid
(rot: rotation_matrix.Rot3Array, trans: vector.Vec3Array,
colabdesign/colabdesign/af/alphafold/model/geometry/test_utils.py:87
↓ 1 callersFunctionassert_rotation_matrix_close
(mat1: rotation_matrix.Rot3Array, mat2: rotation_matrix.Rot3Array)
colabdesign/colabdesign/af/alphafold/model/geometry/test_utils.py:33
↓ 1 callersFunctionassert_rotation_matrix_equal
(matrix1: rotation_matrix.Rot3Array, matrix2: rotation_matrix.Rot3Array)
colabdesign/colabdesign/af/alphafold/model/geometry/test_utils.py:25
↓ 1 callersFunctionassert_vectors_close
(vec1: vector.Vec3Array, vec2: vector.Vec3Array)
colabdesign/colabdesign/af/alphafold/model/geometry/test_utils.py:63
↓ 1 callersFunctionassert_vectors_equal
(vec1: vector.Vec3Array, vec2: vector.Vec3Array)
colabdesign/colabdesign/af/alphafold/model/geometry/test_utils.py:57
↓ 1 callersFunctionavg_sap_hydrophobic_patch
(sap_score, residues)
germinal/filters/pyrosetta_utils.py:380
↓ 1 callersFunctionbuild_filter_metrics
Aggregate all metrics into comprehensive evaluation dict (floats rounded to 4 decimals). Returns: Dict[str, Any]: Confidence, interf
germinal/filters/filter_utils.py:336
↓ 1 callersFunctioncalc_pdockq
N-chain pDockQ: - Builds a full distance matrix across all chains - Uses only cross-chain contacts (< contact_cutoff Å) - Avera
germinal/filters/pDockQ.py:73
↓ 1 callersFunctioncalc_pmidockq
(ifpae_norm, ifplddt)
germinal/filters/pDockQ.py:224
↓ 1 callersFunctioncalculate_clash_score
Calculate structural clash score for protein structure validation. Analyzes a protein structure to identify and count atomic clashes based on
germinal/utils/utils.py:455
↓ 1 callersFunctioncalculate_loop_sc
Calculate shape complementarity between loop residues on chain A and all residues on chain B, with automatic loop detection. Args:
germinal/filters/pyrosetta_utils.py:43
↓ 1 callersFunctioncategorical
(p)
colabdesign/colabdesign/shared/utils.py:107
↓ 1 callersFunctioncdr_loss_fn
(outputs, masks=jax_masks)
germinal/design/design.py:760
↓ 1 callersMethodcheck_existing_seed
Check if a design seed has already been processed in this run. Searches through all structure directories (trajectories, redesign_can
germinal/utils/io.py:362
↓ 1 callersMethodcheck_termination_conditions
Evaluate termination conditions for the design optimization loop. Checks multiple termination criteria including maximum accepted des
germinal/utils/io.py:388
↓ 1 callersMethodclear_best
(self)
colabdesign/colabdesign/af/utils.py:178
↓ 1 callersFunctionclear_mem
()
colabdesign/colabdesign/shared/utils.py:7
↓ 1 callersFunctionclear_memory
Clear GPU and system memory caches for optimal performance. Performs comprehensive memory cleanup including Python garbage collection, Py
germinal/utils/utils.py:150
↓ 1 callersFunctioncmd_ok
(cmd: List[str])
validate_install.py:18
↓ 1 callersFunctioncompute_cdr_positions
Compute CDR residue positions from framework and CDR length specifications. Calculates the absolute residue positions for all CDRs based on f
germinal/utils/utils.py:252
↓ 1 callersFunctioncompute_hotspot_proximity
Compute CDR contacts with target hotspot residues (5.3Å threshold, ≥3 contacts required). Args: external_relaxed_pdb: Relaxed comple
germinal/filters/filter_utils.py:672
↓ 1 callersFunctioncompute_pdockq
(pdb)
germinal/filters/pDockQ.py:132
↓ 1 callersFunctioncompute_pdockq_and_lis
Compute docking quality metrics. pDockQ2 and LIS now come exclusively from the upstream ``ipsae`` tool (single scalar each), avoiding th
germinal/filters/filter_utils.py:744
↓ 1 callersMethodcompute_pll
Compute MLM pseudolikelihood by masking each residue position once. For each residue, mask it and score log p(residue | all other po
colabdesign/colabdesign/ablang/model.py:268
↓ 1 callersFunctionconv_2D
(x, params, dilation=1, stride=1, padding="SAME")
colabdesign/colabdesign/tr/trrosetta.py:32
↓ 1 callersFunctionconvert_cif_paths_to_pdb
Convert Chai-1 output CIF files to PDB format. Chai-1 outputs structures in mmCIF format, but many downstream tools expect PDB format. T
germinal/filters/chai.py:241
↓ 1 callersFunctionconvert_monomer_features
Reshapes and modifies monomer features for multimer models.
colabdesign/colabdesign/af/alphafold/data/pipeline_multimer.py:72
↓ 1 callersFunctioncopy_missing
(a,b)
colabdesign/colabdesign/shared/utils.py:114
↓ 1 callersMethodcreate
Create complete directory structure for a new Germinal design run. Initializes the full directory hierarchy required for a Germinal d
germinal/utils/io.py:104
↓ 1 callersFunctioncreate_extra_msa_feature
Expand extra_msa into 1hot and concat with other extra msa features. We do this as late as possible as the one_hot extra msa can be very large.
colabdesign/colabdesign/af/alphafold/model/modules.py:78
↓ 1 callersFunctioncreate_extra_msa_feature
Expand extra_msa into 1hot and concat with other extra msa features. We do this as late as possible as the one_hot extra msa can be very large. Ar
colabdesign/colabdesign/af/alphafold/model/modules_multimer.py:41
↓ 1 callersFunctioncreate_input_dict
Create input JSON data for AlphaFold3 inference. Args: binder_seq (str): Amino acid sequence of the binder protein. target_s
germinal/filters/af3.py:36
↓ 1 callersFunctioncreate_protenix_input
Create input JSON data for Protenix inference. Protenix uses a different JSON schema from AF3: sequences are specified as 'proteinChain'
germinal/filters/protenix.py:40
↓ 1 callersFunctioncreate_starting_structure
Create combined PDB structure from separate binder and target files. Combines a binder PDB and target PDB into a single complex structure,
germinal/utils/utils.py:304
↓ 1 callersFunctioncrop_feat
crop features to specified [pos]itions
colabdesign/colabdesign/af/contrib/crop.py:21
↓ 1 callersMethoddesign
(self, iters=100, opt=None, weights=None, save_best=True, verbose=1)
colabdesign/colabdesign/tr/model.py:277
↓ 1 callersMethoddesign_3stage
three stage design (logits→soft→hard)
colabdesign/colabdesign/af/design.py:603
↓ 1 callersMethoddesign_hard
optimize argmax(logits)
colabdesign/colabdesign/af/design.py:596
↓ 1 callersMethoddesign_pssm_semigreedy
(self, soft_iters=300, hard_iters=32, tries=10, e_tries=None, ramp_recycles=True,
colabdesign/colabdesign/af/design.py:722
↓ 1 callersFunctiondropout
(x, key, rate)
colabdesign/colabdesign/tr/trrosetta.py:45
↓ 1 callersMethodembeddings
(self)
colabdesign/colabdesign/mpnn/modules.py:287
↓ 1 callersMethodembeddings
(self)
colabdesign/colabdesign/mpnn/legacy/modules.py:292
↓ 1 callersFunctionencoder
(x, params)
colabdesign/colabdesign/tr/trrosetta.py:51
↓ 1 callersFunctionevaluate_filters
Evaluate metrics against quality filters (operators: <, <=, >, >=, ==, =). Args: filter_set: {metric_name: {"value": threshold, "ope
germinal/filters/filter_utils.py:451
↓ 1 callersFunctionexpand_copies
given msa (N,L,20) expand to (1+N*copies,L*copies,22) if block_diag else (N,L*copies,22)
colabdesign/colabdesign/af/inputs.py:157
↓ 1 callersFunctionextend
input: 3 coords (a,b,c), (L)ength, (A)ngle, and (D)ihedral output: 4th coord
colabdesign/colabdesign/tr/legacy/utils.py:92
↓ 1 callersFunctionextract_protenix_scores
Extract predicted structure and confidence scores from Protenix output. Converts the best/worst CIF output to PDB format and extracts confid
germinal/filters/protenix.py:239
↓ 1 callersFunctionextract_structure_and_scores
Extract predicted structure and confidence scores from AF3 output. Processes AF3 results by converting the output CIF file to PDB format,
germinal/filters/af3.py:420
↓ 1 callersFunctionfind
(x,k)
colabdesign/colabdesign/af/contrib/crop.py:24
↓ 1 callersMethodfit
train model
colabdesign/colabdesign/seq/mrf.py:203
↓ 1 callersFunctionfix_contig
(contig)
colabdesign/colabdesign/rf/utils.py:96
↓ 1 callersMethodforward
Args: seq_logits (torch.Tensor): Input sequence (seq_length, 20). Returns: ce_loss (nll) log_lik
colabdesign/colabdesign/iglm/model.py:83
↓ 1 callersMethodfrom_architecture
(cls, name: str)
colabdesign/colabdesign/esm_msa/data.py:140
↓ 1 callersMethodfrom_array4x4
Construct Rigid3Array from homogeneous 4x4 array.
colabdesign/colabdesign/af/alphafold/model/geometry/rigid_matrix_vector.py:86
↓ 1 callersFunctiongather_nodes
(nodes, neighbor_idx)
colabdesign/colabdesign/mpnn/utils.py:4
↓ 1 callersFunctiongenerate_affines
Generate predicted affines for a single chain. Jumper et al. (2021) Suppl. Alg. 20 "StructureModule" This is the main part of the structure modu
colabdesign/colabdesign/af/alphafold/model/folding.py:388
↓ 1 callersFunctiongenerate_monomer_rigids
Generate predicted Rigid's for a single chain. This is the main part of the iterative fold head - it iteratively applies folding to produce a set
colabdesign/colabdesign/af/alphafold/model/folding_multimer.py:477
↓ 1 callersFunctiongenerate_msas
Generate Multiple Sequence Alignments (MSAs) for protein chains. Creates MSAs for each protein chain in the input data using the specified
germinal/filters/af3.py:298
↓ 1 callersFunctiongenerate_new_affine
(sequence_mask)
colabdesign/colabdesign/af/alphafold/model/folding.py:885
↓ 1 callersFunctiongenerate_unique_hash
Generate a unique hash identifier for temporary directories. Creates a collision-resistant hash using timestamp, process ID, and random numb
germinal/filters/chai.py:41
↓ 1 callersFunctiongerminal_design
Conduct binder hallucination with ColabDesign AF2 model. Args: design_name: Unique name for this design trajectory run_setti
germinal/design/design.py:43
↓ 1 callersFunctionget_TrR
(blocks=12, trainable=False, weights=None, name="TrR")
colabdesign/colabdesign/tr/legacy/model.py:32
↓ 1 callersFunctionget_TrR_weights
(filename)
colabdesign/colabdesign/tr/legacy/model.py:26
↓ 1 callersFunctionget_ablang_ll
Calculate antibody sequence pseudo-log-likelihood using AbLang (MLM scoring). Each residue is masked once and scored against the full bidire
germinal/filters/filter_utils.py:847
↓ 1 callersFunctionget_abmpnn_sequences
Generate AbMPNN redesigned sequences for a given trajectory. Args: trajectory_pdb_af: Path to the trajectory PDB file from AF2/Colab
germinal/filters/redesign.py:121
↓ 1 callersMethodget_af_inputs
get inputs from alphafold model
colabdesign/colabdesign/mpnn/model.py:105
↓ 1 callersFunctionget_atom37_mask
(aatype)
colabdesign/colabdesign/af/alphafold/model/all_atom_multimer.py:204
↓ 1 callersFunctionget_atom37_to_atom14_map
(aatype)
colabdesign/colabdesign/af/alphafold/model/all_atom_multimer.py:216
↓ 1 callersFunctionget_chain_length
Get the number of residues in a specific chain Parameters: - pose: PyRosetta pose - chain_id: Chain identifier (default 'A') Re
germinal/filters/pyrosetta_utils.py:712
↓ 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]. The re
colabdesign/colabdesign/af/alphafold/model/all_atom.py:50
↓ 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]. The re
colabdesign/colabdesign/af/alphafold/model/all_atom_multimer.py:854
↓ 1 callersFunctionget_framework_mutations
Identify mutations outside CDR regions (format: 'A123B'). Args: trajectory_sequence: Final designed sequence framework_seque
germinal/filters/filter_utils.py:515
↓ 1 callersMethodget_grad
Unmasked CE gradient (fast, one forward pass). NOTE: NOT Salazar-style masked PLL. The embedding hook supplies the actual (soft) toke
colabdesign/colabdesign/ablang/model.py:178
↓ 1 callersMethodget_grad_pll
Masked PLL gradient (Salazar-style), chunked to bound peak GPU memory. Processes AA positions in chunks of chunk_size. Each chunk runs a forw
colabdesign/colabdesign/ablang/model.py:206
↓ 1 callersFunctionget_helix_loss
(inputs, outputs)
colabdesign/colabdesign/af/loss.py:338
↓ 1 callersFunctionget_iglm_ll
Calculate antibody sequence log-likelihood using IgLM language model. Attribution: Shuai, R. W., Ruffolo, J. A., & Gray, J. J. (2023). IgLM:
germinal/filters/filter_utils.py:793
↓ 1 callersFunctionget_info
(contig)
colabdesign/colabdesign/rf/designability_test.py:13
↓ 1 callersFunctionget_initializer_scale
Get Initializer for weights and scale to multiply activations by.
colabdesign/colabdesign/af/alphafold/model/common_modules.py:29
← previousnext →301–400 of 1,028, ranked by callers