MCPcopy Create free account

hub / github.com/SantiagoMille/germinal / functions

Functions1,028 in github.com/SantiagoMille/germinal

↓ 2 callersFunctionplot_ticks
(ax, Ls, Ln=None, add_yticks=False)
colabdesign/colabdesign/shared/plot.py:182
↓ 2 callersFunctionremove_a3m_insertions
Remove insertion characters from A3M MSA file for AF3 compatibility. AlphaFold3 requires MSA sequences to have uniform length, so we remove
germinal/filters/af3.py:84
↓ 2 callersFunctionrescale
(a, amin=None, amax=None)
colabdesign/colabdesign/shared/plot.py:85
↓ 2 callersFunctionresnet
(X, dilation=1, filters=64, win=3)
colabdesign/colabdesign/tr/legacy/model.py:94
↓ 2 callersMethodrestart
(self, seed=None, opt=None, weights=None, seq=None, reset_opt=True, **kwargs)
colabdesign/colabdesign/tr/model.py:194
↓ 2 callersMethodrewire
helper function for "partial" protocol ----------------------------------------- -order=[0,1,2] - change order of specified segments
colabdesign/colabdesign/shared/model.py:209
↓ 2 callersFunctionrots_from_two_vecs
Create rotation matrices from unnormalized vectors for the x and y-axes. This creates a rotation matrix from two vectors using Gram-Schmidt ortho
colabdesign/colabdesign/af/alphafold/model/r3.py:212
↓ 2 callersFunctionrots_mul_rots
Composition of rotations 'a' and 'b'.
colabdesign/colabdesign/af/alphafold/model/r3.py:240
↓ 2 callersMethodsample
(self, key, X, randn, S_true, chain_mask, chain_idx, residue_idx, mask=None, temperature=1.0
colabdesign/colabdesign/mpnn/legacy/sample.py:9
↓ 2 callersFunctionsample_cat
(key, logits=None, probs=None)
colabdesign/colabdesign/seq/mrf.py:8
↓ 2 callersMethodsave_trajectory
Save trajectory data and structure with thread-safe operations. Saves trajectory information to the appropriate directory based on it
germinal/utils/io.py:495
↓ 2 callersMethodset_args
set [arg]uments
colabdesign/colabdesign/af/utils.py:38
↓ 2 callersFunctionset_dict
(d, x, override=False)
colabdesign/colabdesign/shared/utils.py:19
↓ 2 callersMethodset_final_struct
Set the path to the final structure file for this trajectory. Args: final_struct (str): Path to the final PDB structure f
germinal/utils/io.py:279
↓ 2 callersFunctionsharded_apply
Sharded apply. Applies `fun` over shards to axes, in a way similar to vmap, but does so in shards of `shard_size`. Shards are stacked after. Th
colabdesign/colabdesign/af/alphafold/model/mapping.py:86
↓ 2 callersFunctionsoft_seq
(x, bias, opt, key=None, num_seq=None, shuffle_first=True)
colabdesign/colabdesign/shared/model.py:224
↓ 2 callersFunctionsplit_feat
(feat)
colabdesign/colabdesign/tr/legacy/utils.py:160
↓ 2 callersFunctionsquared_difference
Computes Squared difference between two arrays.
colabdesign/colabdesign/af/alphafold/model/folding_multimer.py:40
↓ 2 callersFunctionsquared_difference
(x, y)
colabdesign/colabdesign/af/alphafold/model/all_atom_multimer.py:26
↓ 2 callersFunctiontied_featurize
Pack and pad batch into torch tensors
colabdesign/colabdesign/mpnn/legacy/utils.py:233
↓ 2 callersMethodtied_sample
(self, key, X, randn, S_true, chain_mask, chain_idx, residue_idx, mask=None, temperature=1
colabdesign/colabdesign/mpnn/legacy/sample.py:105
↓ 2 callersFunctionto_dih
given coordinates a-b-c-d, return dihedral
colabdesign/colabdesign/tr/legacy/utils.py:121
↓ 2 callersFunctiontrunk
(x, params, key, rate=0.15)
colabdesign/colabdesign/tr/trrosetta.py:82
↓ 2 callersFunctiontry_import
(pkg: str)
validate_install.py:10
↓ 2 callersFunctionupdateGridClickEvents
()
colabdesign/colabdesign/rf/blueprint.js:45
↓ 2 callersMethodupdate_filtering_metrics
Update quality filtering and assessment metrics. Updates metrics related to trajectory quality assessment, filtering criteria
germinal/utils/io.py:242
↓ 2 callersFunctionupdate_pos
()
colabdesign/colabdesign/af/contrib/crop.py:68
↓ 2 callersFunctionupdate_seq
update the sequence features
colabdesign/colabdesign/af/inputs.py:126
↓ 2 callersFunctionvecs_add
Add two vectors 'v1' and 'v2'.
colabdesign/colabdesign/af/alphafold/model/r3.py:255
↓ 2 callersFunctionvecs_robust_normalize
Normalizes vectors 'v'. Args: v: vectors to be normalized. epsilon: small regularizer added to squared norm before taking square root. Re
colabdesign/colabdesign/af/alphafold/model/r3.py:280
↓ 2 callersFunctionvecs_sub
Computes v1 - v2.
colabdesign/colabdesign/af/alphafold/model/r3.py:305
↓ 1 callersFunctionEM
(x)
colabdesign/colabdesign/seq/kmeans.py:68
↓ 1 callersFunctionN_to_AA
(x)
colabdesign/colabdesign/mpnn/legacy/utils.py:120
↓ 1 callersFunctionN_to_AA
(x)
colabdesign/colabdesign/tr/legacy/utils.py:37
↓ 1 callersFunction_S_to_seq
(S, mask)
colabdesign/colabdesign/mpnn/legacy/utils.py:89
↓ 1 callersMethod__call__
Connects Module. Args: inputs: Tensor with at least num_input_dims dimensions. Returns: output of shape [...] + num_output.
colabdesign/colabdesign/af/alphafold/model/common_modules.py:92
↓ 1 callersMethod__call__
(self, raw_batch: Sequence[Tuple[str, str]], return_j=True)
colabdesign/colabdesign/esm_msa/data.py:175
↓ 1 callersMethod__init__
Constructs Linear Module. Args: num_output: Number of output channels. Can be tuple when outputting multiple dimensions. ini
colabdesign/colabdesign/af/alphafold/model/common_modules.py:59
↓ 1 callersMethod__init__
( self, config, )
colabdesign/colabdesign/esm_msa/axial_attention.py:17
↓ 1 callersMethod__init__
(self, alphabet, config)
colabdesign/colabdesign/esm_msa/model.py:111
↓ 1 callersMethod__init__
(self, diag=0.4, use_entropy=False)
colabdesign/colabdesign/tr/legacy/model.py:38
↓ 1 callersMethod_all_seq_msa_features
Get MSA features for unclustered uniprot, for pairing.
colabdesign/colabdesign/af/alphafold/data/pipeline_multimer.py:224
↓ 1 callersMethod_batched_forward
( self, x, self_attn_padding_mask, )
colabdesign/colabdesign/esm_msa/axial_attention.py:41
↓ 1 callersMethod_batched_forward
( self, x, self_attn_padding_mask, )
colabdesign/colabdesign/esm_msa/axial_attention.py:138
↓ 1 callersFunction_calculate_contact_map
Calculate contact map from PDB coordinates. Args: pdb_path: Path to PDB file distance_threshold: Distance threshold for cont
germinal/filters/pDockQ.py:386
↓ 1 callersFunction_calculate_count_metrics
Calculate count-based metrics (LIA, LIR, cLIA, cLIR). Args: transformed_pae: The PAE matrix after LIS transformation. combin
germinal/filters/pDockQ.py:445
↓ 1 callersFunction_calculate_expected_aligned_error
Calculates expected aligned distance errors for every pair of residues. Args: alignment_confidence_breaks: [num_bins - 1] the error bin edges.
colabdesign/colabdesign/af/alphafold/common/confidence.py:69
↓ 1 callersMethod_calculate_passing_filter
(self, aux, filter, threshold)
colabdesign/colabdesign/af/design.py:418
↓ 1 callersFunction_convert_sto_seq_to_a3m
( query_non_gaps: Sequence[bool], sto_seq: str)
colabdesign/colabdesign/af/alphafold/data/parsers.py:161
↓ 1 callersMethod_fix_pos
(self, seq, return_p=False)
colabdesign/colabdesign/af/inputs.py:36
↓ 1 callersMethod_fused_triangle_multiplication
TriangleMultiplication with fused projection weights.
colabdesign/colabdesign/af/alphafold/model/modules.py:1019
↓ 1 callersFunction_get_atom_site_list
Returns list of atom sites; contains data not present in the structure.
colabdesign/colabdesign/af/alphafold/data/mmcif_parsing.py:322
↓ 1 callersFunction_get_chain_lengths
Get chain lengths from PDB file. Args: pdb_path: Path to PDB file Returns: Dictionary mapping chain IDs to their length
germinal/filters/pDockQ.py:366
↓ 1 callersFunction_get_con_loss_h
dgram to contacts
germinal/design/design.py:558
↓ 1 callersMethod_get_edge_idx
get edge index input: mask.shape = (...,L), X.shape = (...,L,3) return: (...,L,k)
colabdesign/colabdesign/mpnn/modules.py:197
↓ 1 callersMethod_get_edge_idx
get edge index input: mask.shape = (...,L), X.shape = (...,L,3) return: (...,L,k)
colabdesign/colabdesign/mpnn/legacy/modules.py:203
↓ 1 callersFunction_get_first_model
Returns the first model in a Biopython structure.
colabdesign/colabdesign/af/alphafold/data/mmcif_parsing.py:280
↓ 1 callersFunction_get_header
Returns a basic header containing method, release date and resolution.
colabdesign/colabdesign/af/alphafold/data/mmcif_parsing.py:293
↓ 1 callersFunction_get_helix_loss
helix bias loss
colabdesign/colabdesign/af/loss.py:353
↓ 1 callersMethod_get_loss
(inputs, outputs)
colabdesign/colabdesign/tr/model.py:54
↓ 1 callersMethod_get_model
(self)
colabdesign/colabdesign/tr/model.py:52
↓ 1 callersFunction_get_or_generate_msas
Get existing MSAs or generate new ones for Protenix. Checks for MSAs previously generated by AF3 pipeline. If not found, generates new M
germinal/filters/protenix.py:113
↓ 1 callersFunction_get_protein_chains
Extracts polymer information for protein chains only. Args: parsed_info: _mmcif_dict produced by the Biopython parser. Returns: A dict m
colabdesign/colabdesign/af/alphafold/data/mmcif_parsing.py:336
↓ 1 callersMethod_get_rbf
(self, A, B, E_idx)
colabdesign/colabdesign/mpnn/modules.py:219
↓ 1 callersMethod_get_rbf
(self, A, B, E_idx)
colabdesign/colabdesign/mpnn/legacy/modules.py:226
↓ 1 callersFunction_get_rmsd_loss
get rmsd + alignment function align based on the first L positions, computed weighted rmsd using all positions (if include_L=True) or remainin
colabdesign/colabdesign/af/loss.py:479
↓ 1 callersFunction_get_sc_rmsd_loss
get sidechain rmsd + alignment function
colabdesign/colabdesign/af/loss.py:531
↓ 1 callersMethod_get_seq
(self, inputs, aux, key=None)
colabdesign/colabdesign/af/inputs.py:16
↓ 1 callersMethod_get_seq
one_hot to amino acid sequence
colabdesign/colabdesign/mpnn/model.py:170
↓ 1 callersMethod_insert_chain_separator
Insert BOS/EOS around each chain and chain separator between VH and VL: <VH>|<VL>.
colabdesign/colabdesign/ablang/model.py:75
↓ 1 callersFunction_is_set
Returns False if data is a special mmCIF character indicating 'unset'.
colabdesign/colabdesign/af/alphafold/data/mmcif_parsing.py:382
↓ 1 callersFunction_kmeans
kmeans implemented in jax
colabdesign/colabdesign/seq/kmeans.py:6
↓ 1 callersFunction_kmeans_plus_plus
kmeans++ implemented in jax, for initialization
colabdesign/colabdesign/seq/kmeans.py:17
↓ 1 callersFunction_make_chain_id_map
Makes a mapping from PDB-format chain ID to sequence and description.
colabdesign/colabdesign/af/alphafold/data/pipeline_multimer.py:45
↓ 1 callersFunction_make_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:29
↓ 1 callersFunction_make_renaming_matrices
Matrices to map atoms to symmetry partners in ambiguous case.
colabdesign/colabdesign/af/alphafold/model/all_atom.py:1072
↓ 1 callersFunction_make_renaming_matrices
Matrices to map atoms to symmetry partners in ambiguous case.
colabdesign/colabdesign/af/alphafold/model/all_atom_multimer.py:55
↓ 1 callersFunction_make_restype_atom14_is_ambiguous
Mask which atoms are ambiguous in atom14.
colabdesign/colabdesign/af/alphafold/model/all_atom_multimer.py:142
↓ 1 callersFunction_make_restype_atom14_mask
Mask of which atoms are present for which residue type in atom14.
colabdesign/colabdesign/af/alphafold/model/all_atom_multimer.py:95
↓ 1 callersFunction_make_restype_atom14_to_atom37
Map from atom14 to atom37 per residue type.
colabdesign/colabdesign/af/alphafold/model/all_atom_multimer.py:126
↓ 1 callersFunction_make_restype_atom37_mask
Mask of which atoms are present for which residue type in atom37.
colabdesign/colabdesign/af/alphafold/model/all_atom_multimer.py:82
↓ 1 callersFunction_make_restype_atom37_to_atom14
Map from atom37 to atom14 per residue type.
colabdesign/colabdesign/af/alphafold/model/all_atom_multimer.py:109
↓ 1 callersFunction_make_restype_rigidgroup_base_atom37_idx
Create Map from rigidgroups to atom37 indices.
colabdesign/colabdesign/af/alphafold/model/all_atom_multimer.py:160
↓ 1 callersFunction_make_rigid_group_constants
Fill the arrays above.
colabdesign/colabdesign/af/alphafold/common/residue_constants.py:795
↓ 1 callersFunction_make_standard_atom_mask
Returns [num_res_types, num_atom_types] mask array.
colabdesign/colabdesign/af/alphafold/common/residue_constants.py:693
↓ 1 callersMethod_map_probs_to_vocab
Map probabilities from ColabDesign residue order to AbLang vocabulary order.
colabdesign/colabdesign/ablang/model.py:57
↓ 1 callersFunction_maybe_slice
(array, i, slice_size, axis)
colabdesign/colabdesign/af/alphafold/model/mapping.py:34
↓ 1 callersFunction_np_extend
given coordinates a-b-c, c-d (L)ength, b-c-d (A)ngle, and a-b-c-d (D)ihedral return 4th coordinate d
colabdesign/colabdesign/shared/protein.py:181
↓ 1 callersFunction_np_get_6D_binned
(all_atom_positions, all_atom_mask, use_jax=None)
colabdesign/colabdesign/shared/protein.py:271
↓ 1 callersFunction_np_rmsd
compute RMSD of coordinates after alignment
colabdesign/colabdesign/shared/protein.py:139
↓ 1 callersMethod_one_hot_from_logits
Return differentiable STE probabilities in AbLang vocab space, sequence string, and hard token ids.
colabdesign/colabdesign/ablang/model.py:61
↓ 1 callersFunction_parse_hhr_hit
Parses the detailed HMM HMM comparison section for a single Hit. This works on .hhr files generated from both HHBlits and HHSearch. Args: de
colabdesign/colabdesign/af/alphafold/data/parsers.py:238
↓ 1 callersMethod_process_single_chain
Runs the monomer pipeline on a single chain.
colabdesign/colabdesign/af/alphafold/data/pipeline_multimer.py:197
↓ 1 callersMethod_rbf
radial basis function (RBF) input: (...,L,k) output: (...,L,k,?)
colabdesign/colabdesign/mpnn/modules.py:209
↓ 1 callersMethod_rbf
radial basis function (RBF) input: (...,L,k) output: (...,L,k,?)
colabdesign/colabdesign/mpnn/legacy/modules.py:216
↓ 1 callersMethod_recycle
multiple passes through the model (aka recycle)
colabdesign/colabdesign/af/design.py:269
↓ 1 callersMethod_relative_encoding
Add relative position encodings. For position (i, j), the value is (i-j) clipped to [-k, k] and one-hotted. When not using 'use_chain_relati
colabdesign/colabdesign/af/alphafold/model/modules_multimer.py:213
↓ 1 callersMethod_rescore_parallel
(key, inputs, S, decoding_order)
colabdesign/colabdesign/mpnn/model.py:304
↓ 1 callersFunction_run_protenix
Execute Protenix structure prediction via subprocess in a conda environment. Args: input_json (list): Protenix-compatible input JSON
germinal/filters/protenix.py:464
↓ 1 callersMethod_sample_parallel
(key, inputs, temperature, tied_lengths=False)
colabdesign/colabdesign/mpnn/model.py:297
← previousnext →201–300 of 1,028, ranked by callers