MCPcopy Index your code

hub / github.com/google-deepmind/alphafold3 / functions

Functions889 in github.com/google-deepmind/alphafold3

↓ 2 callersFunction_dump_json
Dumps a json string with JSON compatible NaN representation.
src/alphafold3/model/confidence_types.py:34
↓ 2 callersFunction_expand_axes
(axes, values, name="sharded_apply")
src/alphafold3/model/components/mapping.py:56
↓ 2 callersFunction_featurize
(seq: str, chain_poly_type: str)
src/alphafold3/data/msa.py:41
↓ 2 callersFunction_filter_hits
Filters hits based on the filter config.
src/alphafold3/data/templates.py:371
↓ 2 callersFunction_find_chiral_centres
Find chiral centres and detect their chirality. Only elements listed in _CHIRAL_ELEMENTS are considered as centres. Args: mol: The molecule
src/alphafold3/model/scoring/chirality.py:33
↓ 2 callersFunction_flatten_author_naming_scheme_table
Flattens an author naming scheme table consistently with res_ids.
src/alphafold3/structure/structure_tables.py:534
↓ 2 callersFunction_get_atom_element
( ccd: chemical_components.Ccd, res_name: str, atom_name: str )
src/alphafold3/structure/parsing.py:102
↓ 2 callersFunction_get_bond_atom_arrays
( struc: structure.Structure, bond_atom_indices: np.ndarray )
src/alphafold3/model/pipeline/inter_chain_bonds.py:46
↓ 2 callersFunction_get_first_model_id
Returns cheaply the first model ID from the mmCIF.
src/alphafold3/structure/parsing.py:171
↓ 2 callersFunction_get_initializer_scale
Get initializer for weights.
src/alphafold3/model/components/haiku_modules.py:327
↓ 2 callersFunction_get_protein_templates
Searches for templates for a single protein chain.
src/alphafold3/data/pipeline.py:39
↓ 2 callersFunction_hash_data
(x: Any, /)
run_alphafold_data_test.py:64
↓ 2 callersFunction_ligand_residue_ids
Computes internal residue ID for ligand residues that don't have it.
src/alphafold3/structure/parsing.py:1551
↓ 2 callersMethod_query_db_shard
Query the database shard using Nhmmer.
src/alphafold3/data/tools/nhmmer.py:200
↓ 2 callersMethod_query_db_shard
Query the database shard using Jackhmmer.
src/alphafold3/data/tools/jackhmmer.py:198
↓ 2 callersFunction_sample_rng_seed
Sample a random seed for AlphaFoldServer job.
src/alphafold3/common/folding_input.py:914
↓ 2 callersFunction_to_optional_int
(values: Sequence[str | None])
src/alphafold3/structure/chemical_components.py:38
↓ 2 callersFunction_validate_chain_poly_type
(chain_poly_type: str)
src/alphafold3/data/msa_config.py:28
↓ 2 callersMethod_validate_keys_are_column_names
Raises an error if any of the keys are not column names.
src/alphafold3/structure/table.py:397
↓ 2 callersMethodalign
Aligns sequences in A3M to the profile and returns the alignment in A3M. Args: a3m_str: A list of sequence strings. profile: A hmm fi
src/alphafold3/data/tools/hmmalign.py:68
↓ 2 callersMethodapply_to_coords
Applies the rotation followed by the translation to `coords`.
src/alphafold3/structure/bioassemblies.py:38
↓ 2 callersMethodbuild_profile_from_a3m
Builds a HHM for the aligned sequences given as an A3M string. Args: a3m: A string with the aligned sequences in the A3M format. Retur
src/alphafold3/data/tools/hmmbuild.py:79
↓ 2 callersFunctionchain_pair_pae
Compute predicted errors for all pairs of chains. Args: num_tokens: The number of tokens (not including padding). asym_ids: The asym_ids (a
src/alphafold3/model/confidences.py:355
↓ 2 callersMethodcompare_golden
(self, result_path: str)
run_alphafold_data_test.py:189
↓ 2 callersFunctioncompute_shard
(outputs, slice_start, slice_size)
src/alphafold3/model/components/mapping.py:198
↓ 2 callersFunctionconcat
Concatenates structures along the atom dimension. NB: By default this function will first assign unique chain IDs to all chains in `strucs` so th
src/alphafold3/structure/structure.py:3106
↓ 2 callersMethodcopy_and_update_atoms
Returns a shallow copy with the atoms table updated.
src/alphafold3/structure/structure.py:1371
↓ 2 callersFunctionenumerate_residues
Provides a zero-indexed enumeration of residues in an atom iterable. Args: atom_iter: An iterable of atom dicts as returned by Structure.iter_a
src/alphafold3/structure/structure.py:3267
↓ 2 callersMethodextract_embeddings
Extracts embeddings from model outputs.
run_alphafold.py:483
↓ 2 callersMethodextract_inference_results
Extracts inference results from model outputs.
run_alphafold.py:470
↓ 2 callersMethodfeaturize
Featurises the MSA and returns a map of feature names to features. Returns: A dictionary mapping feature names to values. Raises:
src/alphafold3/data/msa.py:263
↓ 2 callersMethodfix_non_standard_polymer_res
Replaces non-standard polymer residues with standard alternatives or UNK. e.g. maps 'ACE' -> 'UNK', 'MSE' -> 'MET'. NB: Only fixes the resid
src/alphafold3/structure/structure.py:2183
↓ 2 callersMethodfrom_array
Creates an AtomLayout object from a numpy array with shape (6, ...). see also to_array() Args: arr: np.ndarray of object with shape (6,
src/alphafold3/model/atom_layout/atom_layout.py:220
↓ 2 callersMethodfrom_data_dict
(cls, batch: BatchDict)
src/alphafold3/model/features.py:689
↓ 2 callersMethodfrom_mmcif
Constructs an instance of `BioassemblyData` from an `Mmcif` object.
src/alphafold3/structure/bioassemblies.py:154
↓ 2 callersMethodfrom_mmcif
Loads the input from an mmCIF string. WARNING: Since rng seeds are not stored in mmCIFs, an rng seed is sampled in the returned `Input`.
src/alphafold3/common/folding_input.py:1272
↓ 2 callersMethodfrom_quaternion
Construct Rot3Array from components of quaternion.
src/alphafold3/jax/geometry/rotation_matrix.py:209
↓ 2 callersMethodget_hits_with_structures
Returns hits + Structures, Structures filtered to the hit's chain.
src/alphafold3/data/templates.py:653
↓ 2 callersFunctionget_metadata_fields
(cls, return_values=False)
src/alphafold3/jax/geometry/struct_of_array.py:191
↓ 2 callersMethodget_mmcif_str
Returns an mmCIF for a given `target_name`. Args: target_name: Name specifying the target mmCIF. Raises: NotFoundError: If the t
src/alphafold3/data/structure_stores.py:70
↓ 2 callersMethodget_row_by_index
Gets the row at the specified index.
src/alphafold3/structure/table.py:220
↓ 2 callersMethodget_table
Gets the table with the given name.
src/alphafold3/structure/table.py:472
↓ 2 callersMethodhash_without_id
Returns a hash ignoring the ID - useful for deduplication.
src/alphafold3/common/folding_input.py:846
↓ 2 callersMethodindex_msa_rows
(self, indices: xnp_ndarray)
src/alphafold3/model/features.py:676
↓ 2 callersFunctioninner
(agg_over_col)
src/alphafold3/model/confidences.py:529
↓ 2 callersMethoditer_bonds
Iterates over the atoms and bond information. Example usage: ``` for from_atom, dest_atom, bond_info in struc.iter_bonds(): print(
src/alphafold3/structure/structure.py:857
↓ 2 callersMethoditer_chain_ranges
Iterates pairs of (chain_start, chain_end) indices. Yields: Pairs of (start, end) indices for each chain, where end is not inclusive.
src/alphafold3/structure/structure.py:826
↓ 2 callersMethoditer_residues
Iterates over the residues in the structure.
src/alphafold3/structure/structure.py:775
↓ 2 callersMethodprocess
Runs MSA and template tools and returns a new Input with the results.
src/alphafold3/data/pipeline.py:587
↓ 2 callersMethodquery_with_hmm
Queries the database using hmmsearch using a given hmm.
src/alphafold3/data/tools/hmmsearch.py:106
↓ 2 callersFunctionreduce_chain_pair_fn
(chain_pair: np.ndarray)
src/alphafold3/model/confidences.py:528
↓ 2 callersMethodrun_inference
Computes a forward pass of the model on a featurised example.
run_alphafold.py:448
↓ 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
src/alphafold3/model/components/mapping.py:106
↓ 2 callersMethodto_json
(self)
src/alphafold3/model/confidence_types.py:150
↓ 1 callersMethod__call__
Connects Module. Args: inputs: Tensor of shape [..., num_channel] Returns: output of shape [..., num_output]
src/alphafold3/model/components/haiku_modules.py:253
↓ 1 callersMethod__getitem__
Gets raw field data using field name as a string.
src/alphafold3/structure/structure.py:631
↓ 1 callersMethod__init__
Constructs Linear Module. Args: num_output: number of output channels. Can be tuple when outputting multiple dimensions. init
src/alphafold3/model/components/haiku_modules.py:208
↓ 1 callersMethod__init__
( self, config: Config, global_config: model_config.GlobalConfig, name: str = 'transfo
src/alphafold3/model/network/diffusion_transformer.py:199
↓ 1 callersMethod__init__
( self, config: Config, global_config: model_config.GlobalConfig, name='template_embed
src/alphafold3/model/network/template_modules.py:129
↓ 1 callersFunction_add_conformer_to_mol
(mol, conformer, force_parse)
src/alphafold3/data/tools/rdkit_utils.py:152
↓ 1 callersFunction_add_ligand_to_chem_comp
Adds a ligand to chemical components. Raises ValueError on mismatch.
src/alphafold3/structure/parsing.py:151
↓ 1 callersFunction_align_species
Aligns MSA row indices based on species. Within a species, MSAs are aligned based on their original order (the first sequence for a species in th
src/alphafold3/model/msa_pairing.py:40
↓ 1 callersMethod_apply_bioassembly_transform
Applies a bioassembly transform to this structure.
src/alphafold3/structure/structure.py:2842
↓ 1 callersFunction_assign_unique_chain_ids
Creates a sequence of `Structure` objects with unique chain IDs. Let e.g. [A, B] denote a structure of two chains A and B, then this function per
src/alphafold3/structure/structure.py:3072
↓ 1 callersFunction_chiral_match
Compares chirality of two Mols. Mol1 can match a subset of mol2.
src/alphafold3/model/scoring/chirality.py:58
↓ 1 callersFunction_compute_asym_entity_and_sym_id
Compute asym_id, entity_id and sym_id. Args: all_tokens: atom layout containing a representative atom for each token. Returns: A Chains
src/alphafold3/model/features.py:128
↓ 1 callersFunction_compute_chain_pair_iptm
Computes the chain pair ipTM metrics from PAE.
src/alphafold3/model/model.py:205
↓ 1 callersFunction_compute_covariance_matrix
Compute covariance matrix. The quantity computes is cov_xy = weighted_avg_i(row_values[i, x] col_values[j, y]). Here x and y run over the xyz c
src/alphafold3/jax/geometry/rigid_matrix_vector.py:39
↓ 1 callersMethod_conditioning
( self, batch: feat_batch.Batch, embeddings: dict[str, jnp.ndarray], noise_level: jnp.
src/alphafold3/model/network/diffusion_head.py:143
↓ 1 callersFunction_create_bond_lookup
Creates maps to help find bonds during a loop over residues.
src/alphafold3/structure/parsing.py:79
↓ 1 callersMethod_embed_bonds
Embeds bond features and merges into pair activations.
src/alphafold3/model/network/evoformer.py:129
↓ 1 callersMethod_embed_features
( self, dense_atom_positions, token_atoms_to_pseudo_beta, pair_mask, pair_act,
src/alphafold3/model/network/confidence_head.py:72
↓ 1 callersMethod_embed_process_msa
Processes MSA and returns updated pair activations.
src/alphafold3/model/network/evoformer.py:209
↓ 1 callersMethod_embed_template_pair
Embeds Templates and merges into pair activations.
src/alphafold3/model/network/evoformer.py:180
↓ 1 callersFunction_encode_restype
Encodes a sequence of residue names as a sequence of ints. Args: chain_poly_type: Polymer chain type to determine sequence encoding. sequen
src/alphafold3/data/templates.py:98
↓ 1 callersFunction_extract_sequence_identifier
Extracts sequence identifier from description. Returns None if no match.
src/alphafold3/data/msa_identifiers.py:79
↓ 1 callersFunction_format_atom_name
Formats an atom name to fit in the four characters specified in PDB. See for example the following note on atom name formatting in PDB files: htt
src/alphafold3/data/tools/rdkit_utils.py:359
↓ 1 callersFunction_generate_diff
(actual: str, expected: str)
run_alphafold_data_test.py:97
↓ 1 callersFunction_generate_required_tables_if_missing
Generates all required tables and columns if missing.
src/alphafold3/structure/parsing.py:1019
↓ 1 callersFunction_get_chain_key_by_chain_id
Returns chain key for each chain ID respecting resolved chain ordering.
src/alphafold3/structure/parsing.py:1281
↓ 1 callersFunction_get_first_non_leaving_atom
Returns first definitely non-leaving atom if exists, as a stand-in.
src/alphafold3/structure/parsing.py:138
↓ 1 callersFunction_get_leaving_atom_mask
Updates a drop_leaving_atoms mask with new leaving atom locations.
src/alphafold3/model/pipeline/structure_cleaning.py:32
↓ 1 callersFunction_get_ligand_features
Returns features for the ligands in this structure.
src/alphafold3/data/templates.py:906
↓ 1 callersFunction_get_mmcif_header
Extract header fields from an mmCIF object.
src/alphafold3/structure/parsing.py:275
↓ 1 callersFunction_get_operation
Parses an `Operation` from a mmCIF _pdbx_struct_oper_list row.
src/alphafold3/structure/bioassemblies.py:66
↓ 1 callersFunction_get_protein_msa_and_templates
Processes a single protein chain.
src/alphafold3/data/pipeline.py:80
↓ 1 callersFunction_get_reference_positions_from_ccd_cif
Creates reference positions from a CCD mmcif data block.
src/alphafold3/model/features.py:1505
↓ 1 callersFunction_get_representative_atom
( ccd: chemical_components.Ccd, res_name: str, chain_type: str, sequence_format: SequenceForma
src/alphafold3/structure/parsing.py:111
↓ 1 callersFunction_get_rna_msa
Processes a single RNA chain.
src/alphafold3/data/pipeline.py:165
↓ 1 callersFunction_get_smiles
Get SMILES string from chemical components.
src/alphafold3/model/atom_layout/atom_layout.py:520
↓ 1 callersFunction_get_str_model_id
Converts a user-specified model_id argument into a string.
src/alphafold3/structure/parsing.py:178
↓ 1 callersFunction_get_timestamp
(date_str: str)
src/alphafold3/model/data3.py:124
↓ 1 callersMethod_get_tmscore_adjusted_pae
( self, asym_id: jnp.ndarray, seq_mask: jnp.ndarray, pair_mask: jnp.ndarray, bin
src/alphafold3/model/network/confidence_head.py:281
↓ 1 callersFunction_grid_keys
Generate a grid of rng keys that is consistent with different padding. Generate random keys such that the keys will be identical, regardless of h
src/alphafold3/model/network/featurization.py:32
↓ 1 callersFunction_guess_entity_type
Guess the entity type (polymer/non-polymer/water) based on residues/atoms. We treat both arguments as unordered collections since we care only whet
src/alphafold3/structure/parsing.py:1781
↓ 1 callersFunction_load_ccd_pickle_cached
Loads the CCD pickle file and caches it so that it is only loaded once.
src/alphafold3/constants/chemical_components.py:38
↓ 1 callersFunction_make_aatype_dense_atom_to_atom37
Map from dense_atom to atom37 per residue type.
src/alphafold3/model/protein_data_processing.py:114
↓ 1 callersFunction_make_restype_pseudobeta_idx
Returns indices of residue's pseudo-beta.
src/alphafold3/model/protein_data_processing.py:85
↓ 1 callersFunction_make_restype_rigidgroup_dense_atom_idx
Create Mapping from rigid_groups to dense_atom indices.
src/alphafold3/model/protein_data_processing.py:38
↓ 1 callersFunction_match_model
Match files in a directory with a pattern, and group by model name.
src/alphafold3/model/params.py:173
← previousnext →101–200 of 889, ranked by callers