MCPcopy Create free account

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

Functions889 in github.com/google-deepmind/alphafold3

Methodhash_without_id
Returns a hash ignoring the ID - useful for deduplication.
src/alphafold3/common/folding_input.py:259
Methodhash_without_id
Returns a hash ignoring the ID - useful for deduplication.
src/alphafold3/common/folding_input.py:556
Methodhash_without_id
Returns a hash ignoring the ID - useful for deduplication.
src/alphafold3/common/folding_input.py:742
Methodhit_generator
(a3m: str)
src/alphafold3/data/templates.py:528
Methodhits
(self)
src/alphafold3/data/templates.py:586
Methodid
(self)
src/alphafold3/common/folding_input.py:198
Methodid
(self)
src/alphafold3/common/folding_input.py:507
Methodid
(self)
src/alphafold3/common/folding_input.py:703
Methodidentity
Return identity Rigid3Array of given shape.
src/alphafold3/jax/geometry/rigid_matrix_vector.py:143
Methodidentity
Returns identity of given shape.
src/alphafold3/jax/geometry/rotation_matrix.py:161
Methodindex_by_key
Mapping from key values to their index in the column arrays. i.e.: self.key[index_by_key[k]] == k
src/alphafold3/structure/table.py:101
Functioninference_subbatch
Run through subbatches (like batch apply but with split and concat).
src/alphafold3/model/components/mapping.py:226
Functioninner
(key, shape, **kwargs)
src/alphafold3/model/network/featurization.py:76
Functionint_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
src/alphafold3/structure/mmcif.py:49
Methodinverse
Return Rigid3Array corresponding to inverse transform.
src/alphafold3/jax/geometry/rigid_matrix_vector.py:120
Methodis_dna_mask
Boolean label indicating if each atom is from DNA or not.
src/alphafold3/structure/structure.py:701
Methodis_ligand_mask
Boolean label indicating if each atom is a ligand or not.
src/alphafold3/structure/structure.py:716
Methodis_nucleic_mask
Boolean label indicating if each atom is a nucleic acid or not.
src/alphafold3/structure/structure.py:711
Methodis_protein_mask
Boolean label indicating if each atom is from protein or not.
src/alphafold3/structure/structure.py:696
Methodis_rna_mask
Boolean label indicating if each atom is from RNA or not.
src/alphafold3/structure/structure.py:706
Functionis_standard_polymer_type
Returns if chain type is a protein, DNA or RNA chain type. Args: chain_type: The type of the chain. Returns: A bool for if the chain_ty
src/alphafold3/constants/mmcif_names.py:127
Methodis_valid
Whether hit can be used as a template.
src/alphafold3/data/templates.py:276
Methodis_water_mask
Boolean label indicating if each atom is from water or not.
src/alphafold3/structure/structure.py:721
Methoditer_residue_ranges
Iterates pairs of (residue_start, residue_end) indices. Yields: Pairs of (start, end) indices for each residue, where end is not incl
src/alphafold3/structure/structure.py:836
Functionjackhmmer_seq_limit_supported
Checks if Jackhmmer supports the --seq-limit flag.
src/alphafold3/data/tools/subprocess_utils.py:48
Methodlabel_asym_id_to_entity_id
(self)
src/alphafold3/structure/structure.py:509
Functionlargest_evec_jvp
jvp for largest eigenvector.
src/alphafold3/jax/geometry/rotation_matrix.py:83
Functionlazy_parse_fasta_string
Lazily parses a FASTA/A3M string and yields (sequence, description) tuples. This implementation is more memory friendly than `fasta_sequence` while
src/alphafold3/data/parsers.py:32
Methodlength_ratio
Ratio of the length of the hit sequence to the query.
src/alphafold3/data/templates.py:266
Functionletters_three_to_one
Returns single letter name if one exists otherwise returns default.
src/alphafold3/constants/residue_names.py:243
Methodligands
(self)
src/alphafold3/common/folding_input.py:1022
Functionload
Safely loads pickle data from an already-opened binary file handle. Only built-in container/primitive types listed in `_ALLOWED_BUILTINS` are per
src/alphafold3/common/safe_pickle.py:61
Functionload_fold_inputs_from_dir
Loads multiple fold inputs from all JSON files in a given input_dir. Args: input_dir: The directory containing the JSON files. Yields: T
src/alphafold3/common/folding_input.py:1541
Functionmain
(_)
run_alphafold.py:859
Methodmake_empty
(cls)
src/alphafold3/structure/structure_tables.py:224
Methodmake_empty
(cls)
src/alphafold3/structure/structure_tables.py:270
Functionmake_empty_structure
Returns a new structure consisting of empty array fields.
src/alphafold3/structure/structure.py:3257
Functionmake_flat_atom_layout
Make a flat atom layout for given residues. Create a flat layout from a `Residues` object. The required atoms for each amino acid type are taken
src/alphafold3/model/atom_layout/atom_layout.py:756
Functionmake_output_shape
(axis, shard_shape, remainder_shape)
src/alphafold3/model/components/mapping.py:182
Functionmake_structure
Returns a Structure from a flat layout and atom coordinates. The provided flat_layout must be 1-dim and must not contain any padding elements. Th
src/alphafold3/model/atom_layout/atom_layout.py:1003
Functionmapped_fn
(*args, **kwargs)
src/alphafold3/model/components/mapping.py:146
Functionmask_mean
Masked mean.
src/alphafold3/model/components/utils.py:60
Methodmatching_sequence
Returns the matching hit sequence including insertions. Make deleted residues uppercase and remove gaps ("-").
src/alphafold3/data/templates.py:250
Methodmerge_chains
Merges chains in each group into a single chain. If a Structure has chains A, B, C, D, E, and `merge_chains([[A, C], [B, D], [E]])` is called
src/alphafold3/structure/structure.py:2317
Functionmerge_msa_features
Merges MSA features with shape (NUM_SEQ, NUM_RES) across chains.
src/alphafold3/model/merging_features.py:73
Functionmerge_paired_and_unpaired_msa
Concatenates the paired (all_seq) MSA features with the unpaired ones.
src/alphafold3/model/merging_features.py:87
Methodmmcif
(self)
src/alphafold3/common/folding_input.py:118
Methodmodel_params
Loads model parameters from the model directory.
run_alphafold.py:430
Methodmodifications
(self)
src/alphafold3/common/folding_input.py:522
Methodmodifications
(self)
src/alphafold3/common/folding_input.py:739
Functionmol_from_ccd_cif
Creates an rdkit Mol object from a CCD mmcif data block. The atoms are renumbered so that their names are in alphabetical order and these names a
src/alphafold3/data/tools/rdkit_utils.py:164
Functionmol_to_ccd_cif
Creates a CCD-like mmcif data block from an rdkit Mol object. Only a subset of associated mmcif fields is populated, but that is sufficient for f
src/alphafold3/data/tools/rdkit_utils.py:254
Functionmultichain_residue_index
Compute a residue index array that is monotonic across all chains. Lots of metrics (lddt, l1_long, etc) require computing a distance-along-chain
src/alphafold3/structure/structure.py:3220
Methodname
(self)
src/alphafold3/structure/structure.py:427
Methodndim
(self)
src/alphafold3/structure/structure_tables.py:194
Methodno_op_filter
Returns a config for filter that keeps everything.
src/alphafold3/data/msa_config.py:176
Functionnoise_embeddings
Returns Fourier noise level embeddings for diffusion model.
src/alphafold3/model/network/noise_level_embeddings.py:144
Functionnorm
(vector: Vec3Array, epsilon: float = 1e-6)
src/alphafold3/jax/geometry/vector.py:172
Methodnorm2
(self)
src/alphafold3/jax/geometry/vector.py:106
Functionnormalized
(vector: Vec3Array, epsilon: float = 1e-6)
src/alphafold3/jax/geometry/vector.py:176
Methodnum_atoms
(self)
src/alphafold3/structure/structure.py:659
Methodnum_chains
(self)
src/alphafold3/structure/structure.py:677
Methodnum_hits
(self)
src/alphafold3/data/templates.py:594
Methodnum_models
The number of models of this Structure.
src/alphafold3/structure/structure_tables.py:198
Methodnum_models
The number of models of this Structure.
src/alphafold3/structure/structure.py:681
Methodnum_res
(self)
src/alphafold3/model/feat_batch.py:45
Functionopen_resource
( name: str | os.PathLike[str], mode: Literal['r', 'rt'] = 'rt' )
src/alphafold3/common/resources.py:53
Functionorder_fn
(item)
src/alphafold3/constants/mmcif_names.py:177
Methodoutput_templates_sequence
Returns the final template sequence.
src/alphafold3/data/templates.py:258
Functionpae_metrics
PAE aggregate metrics.
src/alphafold3/model/confidences.py:485
Methodpaired_msa
(self)
src/alphafold3/common/folding_input.py:221
Methodpairformer_fn
(x)
src/alphafold3/model/network/evoformer.py:319
Methodpairformer_fn
(act)
src/alphafold3/model/network/confidence_head.py:144
Functionparse_multi_data_cif
Parses a CIF string with multiple data records. For instance, the CIF string: ``` data_001 _foo bar # data_002 _foo baz ``` is pa
src/alphafold3/structure/mmcif.py:99
Functionparse_oper_expr
Determines which transforms to apply based on an MMCIF oper_expression str. Args: oper_expression: the field oper_expression from MMCIF format
src/alphafold3/structure/mmcif.py:261
Functionpde_single
Compute 1D PDE summaries. Args: num_tokens: The number of tokens (not including padding). asym_ids: The asym_ids (array of shape num_tokens
src/alphafold3/model/confidences.py:243
Functionpopulate_missing_ccd_data
Populates missing data for the chemical components from CCD. Args: ccd: The chemical components database. chemical_components_data: Chemica
src/alphafold3/structure/chemical_components.py:455
Functionpost_init
Validate instance has same shapes & dtypes.
src/alphafold3/jax/geometry/struct_of_array.py:92
Methodpresent_chains
Returns table of chains which have at least 1 resolved atom.
src/alphafold3/structure/structure.py:608
Methodpresent_residues
Returns table of residues which have at least 1 resolved atom.
src/alphafold3/structure/structure.py:614
Methodprotein_chains
(self)
src/alphafold3/common/folding_input.py:1010
Functionpseudo_beta_fn
Create pseudo beta atom positions and optionally mask. Args: aatype: [num_res] amino acid types. dense_atom_positions: [num_res, NUM_DENSE,
src/alphafold3/model/scoring/scoring.py:30
Methodptms
(self)
src/alphafold3/common/folding_input.py:213
Methodquery
Runs the MSA tool on the target sequence.
src/alphafold3/data/tools/msa_tool.py:47
Methodquery
Query the database (sharded or unsharded) using Jackhmmer.
src/alphafold3/data/tools/jackhmmer.py:147
Methodquery_release_date
(self)
src/alphafold3/data/templates.py:590
Methodquery_sequence
(self)
src/alphafold3/data/templates.py:582
Methodquery_to_hit_mapping
0-based query index to hit index mapping.
src/alphafold3/data/templates.py:202
Methodquery_to_template_map
(self)
src/alphafold3/common/folding_input.py:114
Methodquery_with_a3m
Query the database using hmmsearch using a given a3m.
src/alphafold3/data/tools/hmmsearch.py:143
Functionrandom_gaussian_vector
(shape, key, dtype=jnp.float32)
src/alphafold3/jax/geometry/vector.py:229
Methodrandom_uniform
Samples uniform random Rot3Array according to Haar Measure.
src/alphafold3/jax/geometry/rotation_matrix.py:287
Functionrange_expander
(match)
src/alphafold3/structure/mmcif.py:287
Functionrank_metric
Compute the metric that will be used to rank predictions, higher is better. Args: full_pde: A [num_samples, num_tokens,num_tokens] matrix of pr
src/alphafold3/model/confidences.py:209
Methodrdkit_mol
Returns an RDKit Mol, created via RDKit from entry SMILES string.
src/alphafold3/structure/chemical_components.py:127
Methodreadable
(self)
src/alphafold3/model/params.py:129
Methodreadinto
(self, b: bytearray | memoryview)
src/alphafold3/model/params.py:148
Functionrealign_hit_to_structure
Realigns the hit sequence to the Structure sequence. For example, for the given input: query_sequence : ABCDEFGHIJKL hit_sequence : ---DE
src/alphafold3/data/template_realign.py:29
Methodrecycle_body
(_, args)
src/alphafold3/model/model.py:289
Methodrelease_date
(self)
src/alphafold3/structure/structure.py:431
← previousnext →701–800 of 889, ranked by callers