MCPcopy Create free account

hub / github.com/SantiagoMille/germinal / functions

Functions1,028 in github.com/SantiagoMille/germinal

↓ 1 callersFunctionget_jax_device
Detect and verify JAX GPU device availability. Checks for JAX GPU devices and returns available GPU device list. Provides comprehensive G
germinal/utils/utils.py:175
↓ 1 callersFunctionget_mlm_loss
(outputs, mask, truth=None)
colabdesign/colabdesign/af/loss.py:577
↓ 1 callersFunctionget_nearby_residues
Get all residues within a specified distance of a target residue Args: pose: PyRosetta Pose object target_residue_number: in
germinal/filters/pyrosetta_utils.py:422
↓ 1 callersFunctionget_r
(a,b)
colabdesign/colabdesign/seq/stats.py:32
↓ 1 callersFunctionget_range
(contig)
colabdesign/colabdesign/rf/utils.py:134
↓ 1 callersFunctionget_release_date
Returns the oldest revision date.
colabdesign/colabdesign/af/alphafold/data/mmcif_parsing.py:287
↓ 1 callersFunctionget_sc_pos
get sidechain indices/weights for all_atom14_positions
colabdesign/colabdesign/af/prep.py:571
↓ 1 callersMethodget_seq
get sequences as strings - set get_best=False, to get the last sampled sequence
colabdesign/colabdesign/shared/model.py:197
↓ 1 callersFunctionget_seq_ent_loss
(inputs)
colabdesign/colabdesign/af/loss.py:563
↓ 1 callersMethodget_seqs
(self, get_best=True)
colabdesign/colabdesign/shared/model.py:206
↓ 1 callersFunctionget_sequence_from_pdb
Extract protein sequences from PDB/mmCIF structure files. Parses structural files to extract amino acid sequences for each protein chain.
germinal/filters/chai.py:207
↓ 1 callersFunctionget_torch_device
Detect and return available PyTorch device. Checks for CUDA availability and returns the appropriate device string for PyTorch operations
germinal/utils/utils.py:112
↓ 1 callersMethodget_trajectory
Consolidate all trajectory information into a single dictionary. Combines trajectory metrics, filtering metrics, and other metrics wi
germinal/utils/io.py:202
↓ 1 callersFunctionget_w
(seq)
colabdesign/colabdesign/seq/utils.py:48
↓ 1 callersFunctionheads
(x, params)
colabdesign/colabdesign/tr/trrosetta.py:76
↓ 1 callersMethodidentity
Returns identity of given shape.
colabdesign/colabdesign/af/alphafold/model/geometry/rotation_matrix.py:72
↓ 1 callersFunctionidx_from_ranges
Convert range string specification to zero-based index list. Parses a range string (e.g., 'B1-10,A5') into a list of zero-based indices,
germinal/utils/utils.py:219
↓ 1 callersFunctionint_id_to_str_id
Encodes a number as a string, using reverse spreadsheet style naming. Args: num: A positive integer. Returns: A string that encodes the
colabdesign/colabdesign/af/alphafold/data/pipeline_multimer.py:97
↓ 1 callersFunctioninvert_rots
Computes inverse of rotations 'm'.
colabdesign/colabdesign/af/alphafold/model/r3.py:66
↓ 1 callersFunctionis_binder_near_hotspot
Check whether the binder interface is near target hotspot residues. Args: target_contacts: Target residue indices at the interface (1-ind
germinal/filters/filter_utils.py:538
↓ 1 callersFunctionl2_normalize
(x: jnp.ndarray, axis: int = -1, epsilon: float = 1e-12 )
colabdesign/colabdesign/af/alphafold/model/folding_multimer.py:927
↓ 1 callersFunctionl2_normalize
(x, axis=-1, epsilon=1e-12)
colabdesign/colabdesign/af/alphafold/model/folding.py:895
↓ 1 callersMethodlayer
(carry: LayerStackCarry, scanned: LayerStackScanned)
colabdesign/colabdesign/af/alphafold/model/layer_stack.py:128
↓ 1 callersFunctionload_stereo_chemical_props
Load stereo_chemical_props.txt into a nice structure. Load literature values for bond lengths and bond angles and translate bond angles into the
colabdesign/colabdesign/af/alphafold/common/residue_constants.py:391
↓ 1 callersFunctionlog_trajectory
Log design trajectory metrics to CSV file for analysis. Extracts and saves various optimization metrics from the design trajectory to a C
germinal/design/design.py:841
↓ 1 callersFunctionmain
()
validate_install.py:26
↓ 1 callersFunctionmain
(cfg: DictConfig)
run_germinal.py:19
↓ 1 callersFunctionmain
(argv)
colabdesign/colabdesign/rf/designability_test.py:29
↓ 1 callersFunctionmain
( input_json: str, output_dir: str, msa_db_dir: str, binder_chain: str, msa_mode: str,
germinal/filters/af3.py:721
↓ 1 callersFunctionmake_animation
(seq, con=None, xyz=None, plddt=None, pae=None, losses=None, pos_ref=None, line_w=2.0,
colabdesign/colabdesign/shared/plot.py:196
↓ 1 callersFunctionmake_canonical_transform
Returns translation and rotation matrices to canonicalize residue atoms. Note that this method does not take care of symmetries. If you provide the
colabdesign/colabdesign/af/alphafold/model/quat_affine.py:359
↓ 1 callersFunctionmake_metadata_class
(cls)
colabdesign/colabdesign/af/alphafold/model/geometry/struct_of_array.py:145
↓ 1 callersMethodmake_tied_positions_for_homomers
(pdb_dict_list)
colabdesign/colabdesign/mpnn/legacy/wrapper.py:282
↓ 1 callersFunctionmaybe_fold_in
(key, data)
colabdesign/colabdesign/af/alphafold/model/layer_stack.py:59
↓ 1 callersFunctionmaybe_with_rng
(key)
colabdesign/colabdesign/af/alphafold/model/layer_stack.py:52
↓ 1 callersFunctionmgda
Solves multi-task gradient combination using quadratic programming with regularization. Implements the Multi-Task Learning as Multi-Objective
colabdesign/colabdesign/af/design.py:47
↓ 1 callersFunctionmmcif_loop_to_dict
Extracts loop associated with a prefix from mmCIF data as a dictionary. Args: prefix: Prefix shared by each of the data items in the loop.
colabdesign/colabdesign/af/alphafold/data/mmcif_parsing.py:141
↓ 1 callersMethodmodel
(params, inputs)
colabdesign/colabdesign/seq/mrf.py:157
↓ 1 callersFunctionnormalize_ablm_grad
(ablm_grad, af2_grad)
colabdesign/colabdesign/af/design.py:37
↓ 1 callersFunctionnullcontext
()
colabdesign/colabdesign/af/alphafold/model/layer_stack.py:48
↓ 1 callersFunctionpad_msa
(np_example, min_num_seq)
colabdesign/colabdesign/af/alphafold/data/pipeline_multimer.py:158
↓ 1 callersMethodparse
(self,argv)
colabdesign/colabdesign/tr/legacy/utils.py:282
↓ 1 callersFunctionparse_PDB
(path_to_pdb, input_chain_list=None)
colabdesign/colabdesign/mpnn/legacy/utils.py:188
↓ 1 callersFunctionparse_PDB
input: x = PDB filename atoms = atoms to extract (optional) output: (length, atoms, coords=(x,y,z)), sequence
colabdesign/colabdesign/tr/legacy/utils.py:43
↓ 1 callersFunctionparse_PDB_biounits
input: x = PDB filename atoms = atoms to extract (optional) output: (length, atoms, coords=(x,y,z)), sequence
colabdesign/colabdesign/mpnn/legacy/utils.py:95
↓ 1 callersFunctionparse_atm_record
Get the atm record
germinal/filters/pDockQ.py:24
↓ 1 callersFunctionparse_fasta
Parses FASTA string and returns list of strings with amino-acid sequences. Arguments: fasta_string: The string contents of a FASTA file. Ret
colabdesign/colabdesign/af/alphafold/data/parsers.py:38
↓ 1 callersFunctionpatch_exists
(hydrophobic_patches, nearby_res)
germinal/filters/pyrosetta_utils.py:387
↓ 1 callersFunctionpcgrad
PCGrad algorithm for two gradients using numpy. Args: grad1 (np.ndarray): First gradient vector grad2 (np.ndarray): Seco
colabdesign/colabdesign/af/design.py:89
↓ 1 callersFunctionpdb_2_coords
Read a pdb file predicted with AF and rewritten to conatin all chains
germinal/filters/pDockQ.py:45
↓ 1 callersFunctionpdb_to_string
read pdb file and return as string
colabdesign/colabdesign/shared/protein.py:24
↓ 1 callersFunctionpll_loss
(params, inputs, order=None, labels=None)
colabdesign/colabdesign/seq/mrf.py:87
↓ 1 callersMethodplot_pdb
use py3Dmol to plot pdb coordinates - color=["pLDDT","chain","rainbow"]
colabdesign/colabdesign/af/utils.py:123
↓ 1 callersFunctionplot_trajectory
Generate and save trajectory loss plots for design analysis. Creates individual plots for key optimization metrics throughout the design
germinal/design/design.py:900
↓ 1 callersMethodpre_compose
Return a new QuatAffine which applies the transformation update first. Args: update: Length-6 vector. 3-vector of x, y, and z such that the
colabdesign/colabdesign/af/alphafold/model/quat_affine.py:259
↓ 1 callersMethodprep_ablang
(self, lens, **kwargs)
colabdesign/colabdesign/af/prep.py:53
↓ 1 callersMethodprep_iglm
(self, lens, **kwargs)
colabdesign/colabdesign/af/prep.py:41
↓ 1 callersFunctionprep_input_features
given [L]ength, [N]umber of sequences and number of [T]emplates return dictionary of blank features
colabdesign/colabdesign/af/prep.py:609
↓ 1 callersMethodprocess
Runs alignment tools on the input sequences and creates features.
colabdesign/colabdesign/af/alphafold/data/pipeline_multimer.py:240
↓ 1 callersFunctionpseudo_beta_fn
Create pseudo beta features.
colabdesign/colabdesign/af/alphafold/model/modules.py:1221
↓ 1 callersFunctionpseudo_mrf
single sequence
colabdesign/colabdesign/tr/trrosetta.py:7
↓ 1 callersFunctionquat_multiply_by_vec
Multiply a quaternion by a pure-vector quaternion.
colabdesign/colabdesign/af/alphafold/model/quat_affine.py:144
↓ 1 callersFunctionquat_to_rot
Convert a normalized quaternion to a rotation matrix.
colabdesign/colabdesign/af/alphafold/model/quat_affine.py:131
↓ 1 callersFunctionread_alignment_lines
( lines, keep_gaps=True, keep_insertions=True, to_upper=False, )
colabdesign/colabdesign/esm_msa/data.py:268
↓ 1 callersFunctionreg_loss
(params, lam)
colabdesign/colabdesign/seq/mrf.py:73
↓ 1 callersMethodrename
Change the design name identifier for this trajectory. Args: new_name (str): New unique identifier for this trajectory.
germinal/utils/io.py:288
↓ 1 callersFunctionrenum_pdb_str
(pdb_str, Ls=None, renum=True, offset=1)
colabdesign/colabdesign/shared/protein.py:73
↓ 1 callersFunctionrepeat_pos
(pos, copies, length)
colabdesign/colabdesign/af/prep.py:466
↓ 1 callersFunctionresnet
(x, params, key, rate=0.15)
colabdesign/colabdesign/tr/trrosetta.py:66
↓ 1 callersMethodrestart
restart the optimization ------------ note: model.restart() resets the [opt]ions and weights to their defaults use model.set_opt(...,
colabdesign/colabdesign/af/design.py:144
↓ 1 callersFunctionretrieve_IFPAEinter
(structure, paeMat, contact_lst, max_dist)
germinal/filters/pDockQ.py:180
↓ 1 callersFunctionretrieve_IFplddt
(structure, chain1, chain2_lst, max_dist)
germinal/filters/pDockQ.py:146
↓ 1 callersFunctionrewire
Given a list of segment [length]s, move them around given an [offset], [order] and [loop] lengths. The [order] of the segments and the length of
colabdesign/colabdesign/shared/prep.py:51
↓ 1 callersFunctionrotation_matrix
(axis, theta)
colabdesign/colabdesign/rf/utils.py:11
↓ 1 callersFunctionrun_structure_prediction
Run AF3 or Chai structure prediction for antibody-target complex. Args: trajectory_sequence: Designed antibody sequence targ
germinal/filters/filter_utils.py:578
↓ 1 callersMethodsample
sample sequence
colabdesign/colabdesign/mpnn/model.py:147
↓ 1 callersMethodsample_parallel
sample new sequence(s) in parallel
colabdesign/colabdesign/mpnn/model.py:154
↓ 1 callersFunctionsample_pll
(key,msa,par)
colabdesign/colabdesign/seq/mrf.py:17
↓ 1 callersMethodsave_current_pdb
save pdb coordinates (if filename provided, otherwise return as string)
colabdesign/colabdesign/af/utils.py:181
↓ 1 callersMethodsave_run_config
Save run and target configuration to persistent YAML file. Persists the complete configuration for the design run to enable r
germinal/utils/io.py:342
↓ 1 callersMethodscale_translation
Scale translation in Rigid3Array by 'factor'.
colabdesign/colabdesign/af/alphafold/model/geometry/rigid_matrix_vector.py:70
↓ 1 callersMethodscore
I = { [[required]] 'X' = (L,4,3) 'mask' = (L,) 'residue_index' = (L,) 'chain_idx' = (L,)
colabdesign/colabdesign/mpnn/score.py:9
↓ 1 callersFunctionscore_interface
(pdb_file, binder_chain="B", target_chain="A")
germinal/filters/pyrosetta_utils.py:103
↓ 1 callersFunctionshow_pdb
(pdb_str, show_sidechains=False, show_mainchains=False, color="pLDDT", chains=None, Ls=None, vmin
colabdesign/colabdesign/shared/plot.py:34
↓ 1 callersFunctionsingle_run
(key)
colabdesign/colabdesign/seq/kmeans.py:59
↓ 1 callersFunctionsplit
(params)
colabdesign/colabdesign/tr/trrosetta.py:109
↓ 1 callersFunctionsquare_euclidean_distance
Computes square of euclidean distance between 'vec1' and 'vec2'. Args: vec1: Vec3Array to compute distance to vec2: Vec3Array to compute
colabdesign/colabdesign/af/alphafold/model/geometry/vector.py:129
↓ 1 callersFunctionsquared_difference
(x, y)
colabdesign/colabdesign/af/alphafold/model/modules.py:1198
↓ 1 callersMethodstep
do one step of gradient descent
colabdesign/colabdesign/af/design.py:329
↓ 1 callersMethodstep
(self, backprop=True, callback=None, save_best=True, verbose=1)
colabdesign/colabdesign/tr/model.py:245
↓ 1 callersFunctionsymmetrize
Make layer symmetric in final two dimensions, used for contact prediction.
colabdesign/colabdesign/esm_msa/modules.py:17
↓ 1 callersFunctiontemp_fasta_file
(fasta_str: str)
colabdesign/colabdesign/af/alphafold/data/pipeline_multimer.py:65
↓ 1 callersFunctiontemplate_embedding_1d
Embed templates into an (num_res, num_templates, num_channels) embedding. Args: batch: A batch containing: template_aatype, (num_template
colabdesign/colabdesign/af/alphafold/model/modules_multimer.py:747
↓ 1 callersFunctionto_ang
given coordinates a-b-c, return angle
colabdesign/colabdesign/tr/legacy/utils.py:115
↓ 1 callersFunctionto_float
convert to float
colabdesign/colabdesign/shared/utils.py:46
↓ 1 callersFunctionto_len
given coordinates a-b, return length or distance
colabdesign/colabdesign/tr/legacy/utils.py:104
↓ 1 callersFunctionto_list
(xs)
colabdesign/colabdesign/shared/utils.py:110
↓ 1 callersFunctiontoggleCellContent
(cell, row, col)
colabdesign/colabdesign/rf/blueprint.js:5
↓ 1 callersFunctionupdate_aatype
(aatype, inputs)
colabdesign/colabdesign/af/inputs.py:147
↓ 1 callersMethodupdate_trajectory_metrics
Update core trajectory optimization metrics. Updates the trajectory metrics with values from the design optimization process.
germinal/utils/io.py:226
← previousnext →401–500 of 1,028, ranked by callers