Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/google-deepmind/alphafold3
/ functions
Functions
889 in github.com/google-deepmind/alphafold3
⨍
Functions
889
◇
Types & classes
165
↳
Endpoints
1
Method
hash_without_id
Returns a hash ignoring the ID - useful for deduplication.
src/alphafold3/common/folding_input.py:259
Method
hash_without_id
Returns a hash ignoring the ID - useful for deduplication.
src/alphafold3/common/folding_input.py:556
Method
hash_without_id
Returns a hash ignoring the ID - useful for deduplication.
src/alphafold3/common/folding_input.py:742
Method
hit_generator
(a3m: str)
src/alphafold3/data/templates.py:528
Method
hits
(self)
src/alphafold3/data/templates.py:586
Method
id
(self)
src/alphafold3/common/folding_input.py:198
Method
id
(self)
src/alphafold3/common/folding_input.py:507
Method
id
(self)
src/alphafold3/common/folding_input.py:703
Method
identity
Return identity Rigid3Array of given shape.
src/alphafold3/jax/geometry/rigid_matrix_vector.py:143
Method
identity
Returns identity of given shape.
src/alphafold3/jax/geometry/rotation_matrix.py:161
Method
index_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
Function
inference_subbatch
Run through subbatches (like batch apply but with split and concat).
src/alphafold3/model/components/mapping.py:226
Function
inner
(key, shape, **kwargs)
src/alphafold3/model/network/featurization.py:76
Function
int_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
Method
inverse
Return Rigid3Array corresponding to inverse transform.
src/alphafold3/jax/geometry/rigid_matrix_vector.py:120
Method
is_dna_mask
Boolean label indicating if each atom is from DNA or not.
src/alphafold3/structure/structure.py:701
Method
is_ligand_mask
Boolean label indicating if each atom is a ligand or not.
src/alphafold3/structure/structure.py:716
Method
is_nucleic_mask
Boolean label indicating if each atom is a nucleic acid or not.
src/alphafold3/structure/structure.py:711
Method
is_protein_mask
Boolean label indicating if each atom is from protein or not.
src/alphafold3/structure/structure.py:696
Method
is_rna_mask
Boolean label indicating if each atom is from RNA or not.
src/alphafold3/structure/structure.py:706
Function
is_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
Method
is_valid
Whether hit can be used as a template.
src/alphafold3/data/templates.py:276
Method
is_water_mask
Boolean label indicating if each atom is from water or not.
src/alphafold3/structure/structure.py:721
Method
iter_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
Function
jackhmmer_seq_limit_supported
Checks if Jackhmmer supports the --seq-limit flag.
src/alphafold3/data/tools/subprocess_utils.py:48
Method
label_asym_id_to_entity_id
(self)
src/alphafold3/structure/structure.py:509
Function
largest_evec_jvp
jvp for largest eigenvector.
src/alphafold3/jax/geometry/rotation_matrix.py:83
Function
lazy_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
Method
length_ratio
Ratio of the length of the hit sequence to the query.
src/alphafold3/data/templates.py:266
Function
letters_three_to_one
Returns single letter name if one exists otherwise returns default.
src/alphafold3/constants/residue_names.py:243
Method
ligands
(self)
src/alphafold3/common/folding_input.py:1022
Function
load
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
Function
load_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
Function
main
(_)
run_alphafold.py:859
Method
make_empty
(cls)
src/alphafold3/structure/structure_tables.py:224
Method
make_empty
(cls)
src/alphafold3/structure/structure_tables.py:270
Function
make_empty_structure
Returns a new structure consisting of empty array fields.
src/alphafold3/structure/structure.py:3257
Function
make_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
Function
make_output_shape
(axis, shard_shape, remainder_shape)
src/alphafold3/model/components/mapping.py:182
Function
make_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
Function
mapped_fn
(*args, **kwargs)
src/alphafold3/model/components/mapping.py:146
Function
mask_mean
Masked mean.
src/alphafold3/model/components/utils.py:60
Method
matching_sequence
Returns the matching hit sequence including insertions. Make deleted residues uppercase and remove gaps ("-").
src/alphafold3/data/templates.py:250
Method
merge_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
Function
merge_msa_features
Merges MSA features with shape (NUM_SEQ, NUM_RES) across chains.
src/alphafold3/model/merging_features.py:73
Function
merge_paired_and_unpaired_msa
Concatenates the paired (all_seq) MSA features with the unpaired ones.
src/alphafold3/model/merging_features.py:87
Method
mmcif
(self)
src/alphafold3/common/folding_input.py:118
Method
model_params
Loads model parameters from the model directory.
run_alphafold.py:430
Method
modifications
(self)
src/alphafold3/common/folding_input.py:522
Method
modifications
(self)
src/alphafold3/common/folding_input.py:739
Function
mol_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
Function
mol_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
Function
multichain_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
Method
name
(self)
src/alphafold3/structure/structure.py:427
Method
ndim
(self)
src/alphafold3/structure/structure_tables.py:194
Method
no_op_filter
Returns a config for filter that keeps everything.
src/alphafold3/data/msa_config.py:176
Function
noise_embeddings
Returns Fourier noise level embeddings for diffusion model.
src/alphafold3/model/network/noise_level_embeddings.py:144
Function
norm
(vector: Vec3Array, epsilon: float = 1e-6)
src/alphafold3/jax/geometry/vector.py:172
Method
norm2
(self)
src/alphafold3/jax/geometry/vector.py:106
Function
normalized
(vector: Vec3Array, epsilon: float = 1e-6)
src/alphafold3/jax/geometry/vector.py:176
Method
num_atoms
(self)
src/alphafold3/structure/structure.py:659
Method
num_chains
(self)
src/alphafold3/structure/structure.py:677
Method
num_hits
(self)
src/alphafold3/data/templates.py:594
Method
num_models
The number of models of this Structure.
src/alphafold3/structure/structure_tables.py:198
Method
num_models
The number of models of this Structure.
src/alphafold3/structure/structure.py:681
Method
num_res
(self)
src/alphafold3/model/feat_batch.py:45
Function
open_resource
( name: str | os.PathLike[str], mode: Literal['r', 'rt'] = 'rt' )
src/alphafold3/common/resources.py:53
Function
order_fn
(item)
src/alphafold3/constants/mmcif_names.py:177
Method
output_templates_sequence
Returns the final template sequence.
src/alphafold3/data/templates.py:258
Function
pae_metrics
PAE aggregate metrics.
src/alphafold3/model/confidences.py:485
Method
paired_msa
(self)
src/alphafold3/common/folding_input.py:221
Method
pairformer_fn
(x)
src/alphafold3/model/network/evoformer.py:319
Method
pairformer_fn
(act)
src/alphafold3/model/network/confidence_head.py:144
Function
parse_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
Function
parse_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
Function
pde_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
Function
populate_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
Function
post_init
Validate instance has same shapes & dtypes.
src/alphafold3/jax/geometry/struct_of_array.py:92
Method
present_chains
Returns table of chains which have at least 1 resolved atom.
src/alphafold3/structure/structure.py:608
Method
present_residues
Returns table of residues which have at least 1 resolved atom.
src/alphafold3/structure/structure.py:614
Method
protein_chains
(self)
src/alphafold3/common/folding_input.py:1010
Function
pseudo_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
Method
ptms
(self)
src/alphafold3/common/folding_input.py:213
Method
query
Runs the MSA tool on the target sequence.
src/alphafold3/data/tools/msa_tool.py:47
Method
query
Query the database (sharded or unsharded) using Jackhmmer.
src/alphafold3/data/tools/jackhmmer.py:147
Method
query_release_date
(self)
src/alphafold3/data/templates.py:590
Method
query_sequence
(self)
src/alphafold3/data/templates.py:582
Method
query_to_hit_mapping
0-based query index to hit index mapping.
src/alphafold3/data/templates.py:202
Method
query_to_template_map
(self)
src/alphafold3/common/folding_input.py:114
Method
query_with_a3m
Query the database using hmmsearch using a given a3m.
src/alphafold3/data/tools/hmmsearch.py:143
Function
random_gaussian_vector
(shape, key, dtype=jnp.float32)
src/alphafold3/jax/geometry/vector.py:229
Method
random_uniform
Samples uniform random Rot3Array according to Haar Measure.
src/alphafold3/jax/geometry/rotation_matrix.py:287
Function
range_expander
(match)
src/alphafold3/structure/mmcif.py:287
Function
rank_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
Method
rdkit_mol
Returns an RDKit Mol, created via RDKit from entry SMILES string.
src/alphafold3/structure/chemical_components.py:127
Method
readable
(self)
src/alphafold3/model/params.py:129
Method
readinto
(self, b: bytearray | memoryview)
src/alphafold3/model/params.py:148
Function
realign_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
Method
recycle_body
(_, args)
src/alphafold3/model/model.py:289
Method
release_date
(self)
src/alphafold3/structure/structure.py:431
← previous
next →
701–800 of 889, ranked by callers