MCPcopy Index your code

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

Functions889 in github.com/google-deepmind/alphafold3

↓ 1 callersFunction_maybe_add_missing_scheme_tables
If missing, infers the scheme tables from the _atom_site table.
src/alphafold3/structure/parsing.py:1114
↓ 1 callersFunction_maybe_mol_from_ccd
Creates a Mol object from CCD information if res_name is in the CCD.
src/alphafold3/model/scoring/chirality.py:127
↓ 1 callersFunction_maybe_slice
(array, i, slice_size, axis)
src/alphafold3/model/components/mapping.py:40
↓ 1 callersFunction_merge_jackhmmer_results
Merges Jackhmmer result protos into a single one.
src/alphafold3/data/tools/jackhmmer.py:285
↓ 1 callersFunction_merge_nhmmer_results
Merges nhmmer result protos into a single one.
src/alphafold3/data/tools/nhmmer.py:304
↓ 1 callersFunction_merged_a3m_tbl_iter
(a3m: str)
src/alphafold3/data/tools/nhmmer.py:327
↓ 1 callersFunction_merged_a3m_tbl_iter
(a3m: str)
src/alphafold3/data/tools/jackhmmer.py:301
↓ 1 callersMethod_model
Loads model parameters and returns a jitted model forward pass.
run_alphafold.py:435
↓ 1 callersFunction_mol_from_ligand_struc
Creates a Mol object from a ligand structure and reference mol.
src/alphafold3/model/scoring/chirality.py:80
↓ 1 callersFunction_output
(name: str)
run_alphafold_test.py:55
↓ 1 callersFunction_pad_features_to_max
Pad a set of features to the maximum size amongst all chains. Args: feat_name: The feature name to pad. chains: A list of chains with assoc
src/alphafold3/model/merging_features.py:42
↓ 1 callersFunction_padding_consistent_rng
Modify any element-wise random function to be consistent with padding. Normally if you take a function like jax.random.normal and generate an array
src/alphafold3/model/network/featurization.py:53
↓ 1 callersFunction_parse_bonds
Returns the bonds table extracted from the mmCIF. Args: cif: The raw mmCIF to extract the bond information from. atom_key: A numpy array de
src/alphafold3/structure/parsing.py:211
↓ 1 callersFunction_parse_hit_description
Parses the hmmsearch A3M sequence description line.
src/alphafold3/data/templates.py:764
↓ 1 callersFunction_parse_hit_metadata
Parse hit metadata by parsing mmCIF from structure store.
src/alphafold3/data/templates.py:782
↓ 1 callersFunction_parse_ideal_conformer
Builds a conformer containing the ideal coordinates from the CCD. Args: mol_cif: An mmcif object representing a molecule. Returns: An
src/alphafold3/data/tools/rdkit_utils.py:439
↓ 1 callersFunction_parse_sequence_identifier
Gets species from an msa sequence identifier. The sequence identifier has the format specified by _UNIPROT_TREMBL_ENTRY_NAME_PATTERN or _UNIPROT_
src/alphafold3/data/msa_identifiers.py:59
↓ 1 callersFunction_per_atom_conditioning
computes single and pair conditioning for all atoms in each token.
src/alphafold3/model/network/atom_cross_attention.py:43
↓ 1 callersFunction_populate_atoms_in_mol
Populate the atoms of a Mol given atom features. Args: mol: Mol object. atom_names: Names of the atoms. atom_types: Types of the atoms.
src/alphafold3/data/tools/rdkit_utils.py:59
↓ 1 callersFunction_populate_bonds_in_mol
Populate the bonds of a Mol given bond features. Args: mol: Mol object. atom_names: Names of atoms in the molecule. bond_begins: Names
src/alphafold3/data/tools/rdkit_utils.py:113
↓ 1 callersFunction_read_record
Reads a record encoded by `_encode_record` from a byte stream.
src/alphafold3/model/params.py:62
↓ 1 callersFunction_reduce_template_features
Reduces template features to max num templates and defined feature set.
src/alphafold3/model/features.py:886
↓ 1 callersMethod_relative_encoding
Add relative position encodings.
src/alphafold3/model/network/evoformer.py:86
↓ 1 callersFunction_remap_to_struc_seq
Remaps the query -> hit mapping to match the actual Structure sequence. Args: hit_seq: The hit sequence - a subsequence of the PDB seqres seque
src/alphafold3/data/template_realign.py:116
↓ 1 callersFunction_remove_multi_bonds
Remove instances greedily.
src/alphafold3/model/pipeline/inter_chain_bonds.py:112
↓ 1 callersFunction_residue_name_to_record_name
Returns record names (ATOM/HETATM) given residue names and polymer mask.
src/alphafold3/structure/structure_tables.py:43
↓ 1 callersFunction_resolve_path
Resolves path for data dep paths, stringifies otherwise.
src/alphafold3/data/templates.py:957
↓ 1 callersMethod_sample_diffusion
( self, batch: feat_batch.Batch, embeddings: dict[str, jnp.ndarray], *, sample_c
src/alphafold3/model/model.py:250
↓ 1 callersMethod_seq_pair_embedding
Generated Pair embedding from sequence.
src/alphafold3/model/network/evoformer.py:103
↓ 1 callersFunction_strip_optional
Transforms type annotations of the form `T | None` to `T`.
src/alphafold3/common/base_config.py:34
↓ 1 callersFunction_to_a3m
(sequences: Sequence[str], name_prefix: str = 'sequence')
src/alphafold3/data/tools/hmmalign.py:30
↓ 1 callersMethod_to_mmcif_header
(self)
src/alphafold3/structure/structure.py:2919
↓ 1 callersFunction_unpack_filter_predicates
Unpacks filter kwargs into predicates for each table.
src/alphafold3/structure/structure.py:236
↓ 1 callersMethod_validate_consistent_table_ordering
Validates that all tables have the same ordering.
src/alphafold3/structure/structure.py:377
↓ 1 callersMethod_validate_table_foreign_keys
Validates that all foreign keys are present in the referred tables.
src/alphafold3/structure/structure.py:355
↓ 1 callersFunction_validate_user_ccd_keys
Validates the keys of the user-defined CCD dictionary.
src/alphafold3/common/folding_input.py:920
↓ 1 callersMethodadd_bonds
Returns a structure with new bonds added. Args: bonded_atom_pairs: A sequence of pairs of atoms, with one pair per bond. Each eleme
src/alphafold3/structure/structure.py:1908
↓ 1 callersFunctionalign
Align x to y considering only included_idxs. Args: x: NxD np array of coordinates. y: NxD np array of coordinates. x_indices: An np arr
src/alphafold3/model/scoring/alignment.py:61
↓ 1 callersMethodalign_sequences_to_profile
Aligns the sequences to profile and returns the alignment in A3M string. Uses hmmalign to align the sequences to the profile, then ouputs the
src/alphafold3/data/tools/hmmalign.py:122
↓ 1 callersMethodapply_array
Returns a sliced table using a key (!= index) array or a boolean mask.
src/alphafold3/structure/table.py:136
↓ 1 callersFunctionapply_fun_to_slice
(slice_start, slice_size)
src/alphafold3/model/components/mapping.py:159
↓ 1 callersMethodas_data_dict
(self)
src/alphafold3/model/features.py:700
↓ 1 callersMethodas_dict
(self)
src/alphafold3/common/base_config.py:152
↓ 1 callersMethodassertAllResiduesEqual
Walks all residues, making sure alll elements are equal.
src/alphafold3/structure/test_utils.py:47
↓ 1 callersMethodassertAuthorNamingSchemeEqual
Walks naming scheme, making sure all elements are equal.
src/alphafold3/structure/test_utils.py:34
↓ 1 callersMethodassertBioassemblyDataEqual
(self, data1, data2)
src/alphafold3/structure/test_utils.py:57
↓ 1 callersMethodassertBondsEqual
Checks whether two Bonds objects are considered equal.
src/alphafold3/structure/test_utils.py:97
↓ 1 callersMethodassertChemicalComponentsDataEqual
Checks whether two ChemicalComponentData objects are considered equal.
src/alphafold3/structure/test_utils.py:64
↓ 1 callersFunctionassign_atom_names_from_graph
Assigns atom names from the molecular graph. The atom name is stored as an atom property 'atom_name', accessible with atom.GetProp('atom_name').
src/alphafold3/data/tools/rdkit_utils.py:486
↓ 1 callersMethodbuild_profile_from_sto
Builds a HHM for the aligned sequences given as an A3M string. Args: sto: A string with the aligned sequences in the Stockholm format.
src/alphafold3/data/tools/hmmbuild.py:61
↓ 1 callersFunctioncalculate_bucket_size
Calculates the bucket size to pad the data to.
src/alphafold3/model/pipeline/pipeline.py:43
↓ 1 callersFunctionchain_pairwise_predicted_tm_scores
Compute predicted TM (pTM) between each pair of chains independently. Args: tm_adjusted_pae: [num_res, num_res] Relevant tensor for computing T
src/alphafold3/model/confidences.py:634
↓ 1 callersFunctioncompute_gather_idxs
Produce gather indices and mask to convert from source layout to target.
src/alphafold3/model/atom_layout/atom_layout.py:893
↓ 1 callersMethodcopy_and_update_coords
Performs a shallow copy but with coordinates updated.
src/alphafold3/structure/structure.py:1257
↓ 1 callersFunctioncreate_target_feat_embedding
Create target feature embedding.
src/alphafold3/model/model.py:152
↓ 1 callersFunctioncross_attention
Multihead self-attention.
src/alphafold3/model/network/diffusion_transformer.py:272
↓ 1 callersFunctiondeviations_from_coords
Returns the raw per-atom deviations used in RMSD computation.
src/alphafold3/model/scoring/alignment.py:105
↓ 1 callersFunctiondgram_from_positions
Compute distogram from amino acid positions. Args: positions: (num_res, 3) Position coordinates. config: Distogram bin configuration. Re
src/alphafold3/model/network/template_modules.py:46
↓ 1 callersMethoddrop_non_standard_atoms
Drops atoms that are not in the CCD for the given residue type.
src/alphafold3/structure/structure.py:1860
↓ 1 callersFunctionempty_template_features
Creates a fully masked out template features to allow padding to work. Args: num_res: The length of the target chain. Returns: Empty tem
src/alphafold3/model/data3.py:101
↓ 1 callersFunctionexpand_sequence
Returns full residue names based on a sequence string. Args: sequence: A string representing the sequence. chain_type: The chain type of th
src/alphafold3/structure/parsing.py:600
↓ 1 callersMethodextends
Checks whether this ChemCompEntry extends another one.
src/alphafold3/structure/chemical_components.py:116
↓ 1 callersMethodextract_distogram
Extracts distogram from model outputs.
run_alphafold.py:498
↓ 1 callersMethodfind_chains_with_unknown_sequence
Returns a sequence of chain IDs that contain only unknown residues.
src/alphafold3/structure/structure.py:1893
↓ 1 callersFunctionfind_ions_and_glycans_in_ccd
Finds glycans and ions in all version of CCD.
src/alphafold3/constants/converters/chemical_component_sets_gen.py:38
↓ 1 callersFunctionfix_non_standard_polymer_residues
Remaps residue names to the closest standard protein/RNA/DNA residue. If residue name is already a standard type, it is not altered. If a match c
src/alphafold3/structure/structure.py:176
↓ 1 callersMethodfrom_alphafoldserver_fold_job
Constructs Input from an AlphaFoldServer fold job.
src/alphafold3/common/folding_input.py:1032
↓ 1 callersMethodfrom_array
Construct Rot3Array Matrix from array of shape. [..., 3, 3].
src/alphafold3/jax/geometry/rotation_matrix.py:191
↓ 1 callersMethodfrom_array
(cls, array)
src/alphafold3/jax/geometry/vector.py:126
↓ 1 callersMethodfrom_char
(cls, char: str)
src/alphafold3/model/confidence_types.py:55
↓ 1 callersMethodfrom_confidence_score
(cls, confidence: float)
src/alphafold3/model/confidence_types.py:82
↓ 1 callersMethodfrom_hmmsearch_a3m
Creates Templates from a Hmmsearch A3M. Args: query_sequence: The polymer sequence of the target query. a3m: Results of Hmmsearch in
src/alphafold3/data/templates.py:495
↓ 1 callersMethodfrom_multiple_msas
Initializes the MSA from multiple MSAs. Args: msas: A sequence of Msa objects representing individual MSAs produced by different to
src/alphafold3/data/msa.py:122
↓ 1 callersFunctionfrom_parsed_mmcif
Construct a Structure from a parsed mmCIF object. This function is called by `from_mmcif` but can be useful when an mmCIF has already been parsed
src/alphafold3/structure/parsing.py:316
↓ 1 callersMethodfrom_seq_and_a3m
Creates templates from a run of hmmsearch tool against a custom a3m. Args: query_sequence: The polymer sequence of the target query.
src/alphafold3/data/templates.py:439
↓ 1 callersMethodfrom_svd
Constructs Rot3Array from arbitrary array of shape [3 * 3] using SVD. The case when 'use_quat_formula' is False rephrases the problem of proj
src/alphafold3/jax/geometry/rotation_matrix.py:237
↓ 1 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'
src/alphafold3/jax/geometry/rotation_matrix.py:168
↓ 1 callersMethodgenerate_bioassembly
Generates a biological assembly as a new `Structure`. When no assembly ID is provided this method produces a default assembly. If this struct
src/alphafold3/structure/structure.py:2863
↓ 1 callersFunctionget_all_atoms_in_entry
Get all possible atoms and bonds for this residue in a standard order. Args: ccd: The chemical components dictionary. res_name: Full CCD na
src/alphafold3/structure/chemical_components.py:501
↓ 1 callersFunctionget_bonded_atoms
Finds the res_name on the opposite end of the bond, if a bond exists. Args: polymer_ligand_bonds: Bond information for polymer-ligand pairs.
src/alphafold3/model/atom_layout/atom_layout.py:704
↓ 1 callersFunctionget_data_for_ccd_components
Returns `ChemicalComponentsData` for chemical components known by PDB.
src/alphafold3/structure/chemical_components.py:427
↓ 1 callersMethodget_default_assembly_id
Gets a default assembly ID.
src/alphafold3/structure/bioassemblies.py:218
↓ 1 callersMethodget_inference_result
Get the predicted structure, scalars, and arrays for inference. This function also computes any inference-time quantities, which are not a pa
src/alphafold3/model/model.py:356
↓ 1 callersFunctionget_link_drop_atoms
Returns set of atoms that are dropped when this res_name gets linked. Args: res_name: residue name, e.g. 'ARG' chain_type: chain_type, e.g.
src/alphafold3/model/atom_layout/atom_layout.py:644
↓ 1 callersFunctionget_msa_tool
Returns the requested MSA tool.
src/alphafold3/data/msa.py:296
↓ 1 callersFunctionget_polymer_features
Returns features for this polymer chain. Args: chain: Structure object representing the template. Must be already filtered to a single ch
src/alphafold3/data/templates.py:829
↓ 1 callersFunctionget_predicted_structure
Creates the predicted structure and ion preditions. Args: result: model output in a model specific layout batch: model input batch Retur
src/alphafold3/model/model.py:79
↓ 1 callersFunctionget_reference
Reference structure for residue from CCD or SMILES. Uses CCD entry if available, otherwise uses SMILES from chemical components data. Conformer g
src/alphafold3/model/features.py:1544
↓ 1 callersMethodget_table
(self, table_name: str)
src/alphafold3/structure/structure.py:393
↓ 1 callersFunctionget_tables
Returns chain, residue, and atom tables from a parsed mmcif. Args: cif: A parsed mmcif.Mmcif. fix_mse_residues: See from_mmcif. fix_arg
src/alphafold3/structure/parsing.py:1310
↓ 1 callersMethodget_value_by_key
Gets the value of a column at the row with specified key value.
src/alphafold3/structure/table.py:169
↓ 1 callersFunctiongumbel_argsort_sample_idx
Samples with replacement from a distribution given by 'logits'. This uses Gumbel trick to implement the sampling an efficient manner. For a distr
src/alphafold3/model/network/featurization.py:90
↓ 1 callersMethodkeep
Returns whether the hit should be kept. In addition to filtering on all of the provided parameters, this method also excludes hits with unres
src/alphafold3/data/templates.py:311
↓ 1 callersFunctionlargest_evec
(m)
src/alphafold3/jax/geometry/rotation_matrix.py:78
↓ 1 callersFunctionload_fold_inputs_from_path
Loads multiple fold inputs from a JSON string.
src/alphafold3/common/folding_input.py:1512
↓ 1 callersFunctionmain
(argv: Sequence[str])
src/alphafold3/constants/converters/ccd_pickle_gen.py:31
↓ 1 callersFunctionmain
(argv: Sequence[str])
src/alphafold3/constants/converters/chemical_component_sets_gen.py:70
↓ 1 callersFunctionmake_backbone_rigid
Make backbone Rigid3Array and mask. Args: positions: (num_res, num_atoms) of atom positions as Vec3Array. mask: (num_res, num_atoms) for at
src/alphafold3/model/network/template_modules.py:76
↓ 1 callersMethodmake_chains_table
Returns the Structure chains table.
src/alphafold3/structure/parsing.py:952
↓ 1 callersFunctionmake_matrix_svd_factors
Generates factors for converting 3x3 matrix to symmetric 4x4 matrix.
src/alphafold3/jax/geometry/rotation_matrix.py:41
← previousnext →201–300 of 889, ranked by callers