Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/google-deepmind/alphafold3
/ functions
Functions
889 in github.com/google-deepmind/alphafold3
⨍
Functions
889
◇
Types & classes
165
↳
Endpoints
1
↓ 1 callers
Function
make_metadata_class
(cls)
src/alphafold3/jax/geometry/struct_of_array.py:159
↓ 1 callers
Function
make_model_config
Returns a model config with some defaults overridden.
run_alphafold.py:396
↓ 1 callers
Method
make_residues_table
Returns the Structure residues table.
src/alphafold3/structure/parsing.py:975
↓ 1 callers
Function
mmcif_to_info
Converts CCD mmCIFs to component info. Missing fields are left empty.
src/alphafold3/constants/chemical_components.py:128
↓ 1 callers
Function
noise_schedule
(t, smin=0.0004, smax=160.0, p=7)
src/alphafold3/model/network/diffusion_head.py:88
↓ 1 callers
Function
open_for_reading
(model_files: list[pathlib.Path], is_compressed: bool)
src/alphafold3/model/params.py:164
↓ 1 callers
Method
order_and_drop_atoms_to_match
Returns a new structure with atoms ordered & dropped to match another's. This performs two operations simultaneously: * Ordering the atoms
src/alphafold3/structure/structure.py:1009
↓ 1 callers
Function
package_template_features
Stacks polymer features, adds empty and keeps ligand features unstacked.
src/alphafold3/data/templates.py:932
↓ 1 callers
Function
parse_atom_data
Parses atoms. If force_parse is True, fix deuterium and missing charge.
src/alphafold3/data/tools/rdkit_utils.py:393
↓ 1 callers
Function
parse_atom_data
Parses _chem_comp_atom data from an Mmcif object.
src/alphafold3/structure/chemical_components.py:352
↓ 1 callers
Function
parse_bond_data
Parses bond data. If force_parse is True, ignore missing aromatic flags.
src/alphafold3/data/tools/rdkit_utils.py:414
↓ 1 callers
Function
parse_bond_data
Parses _chem_comp_bond data from an Mmcif object.
src/alphafold3/structure/chemical_components.py:396
↓ 1 callers
Function
parse_fasta
Parses FASTA string and returns list of strings with amino-acid sequences. Arguments: fasta_string: The string contents of a FASTA file. Ret
src/alphafold3/data/parsers.py:58
↓ 1 callers
Function
parse_shard_spec
Returns the shard spec or None if the path is not a shard spec. For instance, if the shard spec is '/path/to/file@20', the output will be ('/path
src/alphafold3/data/tools/shards.py:57
↓ 1 callers
Method
polymer_author_chain_single_letter_sequence
Mapping from author chain ID to single letter aa sequence, polymers only. This mapping is well defined only for polymers (protein, DNA, RNA), but
src/alphafold3/structure/structure.py:2089
↓ 1 callers
Function
post_process_inference_result
Returns cif, confidence_1d_json, confidence_2d_json, mean_confidence_1d, and ranking confidence.
src/alphafold3/model/post_processing.py:57
↓ 1 callers
Function
predict_structure
Runs the full inference pipeline to predict structures for each seed.
run_alphafold.py:528
↓ 1 callers
Function
predicted_tm_score
Computes predicted TM alignment or predicted interface TM alignment score. Args: tm_adjusted_pae: [num_res, num_res] Relevant tensor for comput
src/alphafold3/model/confidences.py:579
↓ 1 callers
Function
process_fold_input
( fold_input: folding_input.Input, data_pipeline_config: pipeline.DataPipelineConfig | None, *,
run_alphafold.py:709
↓ 1 callers
Method
process_item
Takes requests from in_queue, adds (key, serialized ex) to out_queue.
src/alphafold3/model/pipeline/pipeline.py:440
↓ 1 callers
Method
process_protein_chain
Processes a single protein chain.
src/alphafold3/data/pipeline.py:466
↓ 1 callers
Method
process_rna_chain
Processes a single RNA chain.
src/alphafold3/data/pipeline.py:556
↓ 1 callers
Method
process_structure
Computes features for a structure and associated MSAs/templates.
src/alphafold3/model/pipeline/pipeline.py:169
↓ 1 callers
Method
query
Query the database (sharded or unsharded) using Nhmmer.
src/alphafold3/data/tools/nhmmer.py:148
↓ 1 callers
Method
query_with_sto
Queries the database using hmmsearch using a given stockholm msa.
src/alphafold3/data/tools/hmmsearch.py:151
↓ 1 callers
Function
random_augmentation
Center then apply random translation and rotation.
src/alphafold3/model/features.py:1490
↓ 1 callers
Function
random_augmentation
Apply random rigid augmentation. Args: rng_key: random key positions: atom positions of shape (<common_axes>, 3) mask: per-atom mask of
src/alphafold3/model/network/diffusion_head.py:53
↓ 1 callers
Function
random_rotation
(random_state: np.random.RandomState)
src/alphafold3/model/features.py:1479
↓ 1 callers
Function
random_rotation
(key)
src/alphafold3/model/network/diffusion_head.py:42
↓ 1 callers
Function
read_records
Fully reads the contents of a byte stream.
src/alphafold3/model/params.py:89
↓ 1 callers
Function
reduce_chain_pair
Compute 1D summaries from a chain-pair summary. Args: chain_pair_met: A [num_samples, num_chains, num_chains] aggregate matrix. num_chain_t
src/alphafold3/model/confidences.py:422
↓ 1 callers
Method
rename_label_asym_ids
Returns a new BioassemblyData with renamed label_asym_ids. Args: mapping: A mapping from original label_asym_ids to their new values. Any
src/alphafold3/structure/bioassemblies.py:292
↓ 1 callers
Method
reorder_chains
Reorders tables so that the label_asym_ids are in the given order. This method changes the order of the chains, residues, and atoms tables so
src/alphafold3/structure/structure.py:2546
↓ 1 callers
Function
replace_db_dir
Replaces the DB_DIR placeholder in a path with the given DB_DIR.
run_alphafold.py:688
↓ 1 callers
Method
restrict_to_atoms
(self, atom_key: np.ndarray)
src/alphafold3/structure/bonds.py:89
↓ 1 callers
Function
run_hmmsearch_with_a3m
Runs Hmmsearch to get a3m string of hits.
src/alphafold3/data/templates.py:968
↓ 1 callers
Function
sanitize_mol
(mol, sort_alphabetically, remove_hydrogens)
src/alphafold3/data/tools/rdkit_utils.py:140
↓ 1 callers
Function
select_model_files
Select the model files from a model directory.
src/alphafold3/model/params.py:185
↓ 1 callers
Function
self_attention
Multihead self-attention.
src/alphafold3/model/network/diffusion_transformer.py:129
↓ 1 callers
Function
sequences_are_feature_equivalent
( sequence1: str, sequence2: str, chain_poly_type: str, )
src/alphafold3/data/msa.py:51
↓ 1 callers
Function
sort_atoms_by_name
Sorts the atoms in the molecule by their names.
src/alphafold3/data/tools/rdkit_utils.py:469
↓ 1 callers
Function
square_euclidean_distance
Computes square of euclidean distance between 'vec1' and 'vec2'. Args: vec1: Vec3Array to compute distance to vec2: Vec3Array to compute
src/alphafold3/jax/geometry/vector.py:142
↓ 1 callers
Function
table_dependency_order
Yields the names of the tables in the database in dependency order. This order guarantees that a table appears after all other tables that it ref
src/alphafold3/structure/table.py:495
↓ 1 callers
Method
tell
(self)
src/alphafold3/model/params.py:132
↓ 1 callers
Method
to_array
Stacks the fields to a numpy array with shape (6, <layout_shape>). Creates a pure numpy array of type `object` by stacking the 6 fields of the
src/alphafold3/model/atom_layout/atom_layout.py:192
↓ 1 callers
Method
to_ccd_sequence
Converts to a sequence of CCD codes.
src/alphafold3/common/folding_input.py:433
↓ 1 callers
Method
to_ccd_sequence
Converts to a sequence of CCD codes.
src/alphafold3/common/folding_input.py:796
↓ 1 callers
Method
to_char
(self)
src/alphafold3/model/confidence_types.py:70
↓ 1 callers
Method
to_json
Converts Input to an AlphaFold JSON.
src/alphafold3/common/folding_input.py:1454
↓ 1 callers
Method
to_mmcif_dict_from_atom_arrays
Returns a dict suitable for building a CifDict, representing bonds. Args: atom_key: A (num_atom,) integer array of atom_keys. chain_i
src/alphafold3/structure/bonds.py:97
↓ 1 callers
Method
to_res_arrays
Returns atom-level information in arrays containing a num_res dimension. NB: All residues in the structure will appear in the residue dimension b
src/alphafold3/structure/structure.py:2464
↓ 1 callers
Method
to_structure
Converts Input to a Structure. WARNING: This method does not preserve the rng seeds. Args: ccd: The chemical components dictionary.
src/alphafold3/common/folding_input.py:1383
↓ 1 callers
Function
transform_ls
Find the least squares best fit rotation between two sets of N points. Solve Ax = b for A. Where A is the transform rotating x^T into b^T. Args:
src/alphafold3/model/scoring/alignment.py:25
↓ 1 callers
Function
validate_fold_input
Validates the fold input contains MSA and templates for featurisation.
src/alphafold3/data/featurisation.py:33
↓ 1 callers
Function
windowed_solvent_accessible_area
Implementation of AlphaFold-RSA. AlphaFold-RSA defined in https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9601767. Args: cif: Raw cif string.
src/alphafold3/model/confidences.py:62
↓ 1 callers
Method
with_multiple_seeds
Returns a copy of the input with num_seeds rng seeds.
src/alphafold3/common/folding_input.py:1499
↓ 1 callers
Method
without_hydrogen
Returns the structure without hydrogen atoms.
src/alphafold3/structure/structure.py:1718
↓ 1 callers
Method
without_terminal_oxygens
Returns the structure without terminal oxygen atoms.
src/alphafold3/structure/structure.py:1724
↓ 1 callers
Function
write_fold_input_json
Writes the input JSON to the output directory.
run_alphafold.py:606
↓ 1 callers
Function
write_outputs
Writes outputs to the specified output directory.
run_alphafold.py:618
Function
_
(x: bytes, /)
run_alphafold_data_test.py:71
Method
__add__
(self, other: Self)
src/alphafold3/jax/geometry/vector.py:66
Method
__call__
( self, batch: features.BatchDict, key: jax.Array | None = None )
src/alphafold3/model/model.py:272
Method
__call__
(self, x: jnp.ndarray)
src/alphafold3/model/components/haiku_modules.py:91
Method
__call__
( self, batch: feat_batch.Batch, prev: dict[str, jnp.ndarray], target_feat: jnp.ndarra
src/alphafold3/model/network/evoformer.py:252
Method
__call__
( self, act: jnp.ndarray, mask: jnp.ndarray, single_cond: jnp.ndarray, pair_cond
src/alphafold3/model/network/diffusion_transformer.py:209
Method
__call__
( self, queries_act: jnp.ndarray, # (num_subsets, num_queries, ch) queries_mask: jnp.ndarra
src/alphafold3/model/network/diffusion_transformer.py:358
Method
__call__
(self, act, broadcast_dim=0)
src/alphafold3/model/network/modules.py:64
Method
__call__
(self, act, mask, pair_act)
src/alphafold3/model/network/modules.py:109
Method
__call__
Builds a module. Arguments: act: [num_seq, num_res, channels] activations tensor pair_mask: [num_seq, num_res] mask of non-padded reg
src/alphafold3/model/network/modules.py:208
Method
__call__
Applies Module. Args: act: The activation. mask: The mask. Returns: Outputs, should have same shape/type as output_act
src/alphafold3/model/network/modules.py:268
Method
__call__
(self, act, mask)
src/alphafold3/model/network/modules.py:363
Method
__call__
Build a single iteration of the pair former. Args: act: [num_res, num_res, num_channel] Input pairwise activations. pair_mask: [num_r
src/alphafold3/model/network/modules.py:456
Method
__call__
(self, activations, masks)
src/alphafold3/model/network/modules.py:574
Method
__call__
Builds ConfidenceHead module. Arguments: dense_atom_positions: [N_res, N_atom, 3] array of positions. embeddings: Dictionary of repre
src/alphafold3/model/network/confidence_head.py:101
Method
__call__
( self, # positions_noisy.shape: (num_token, max_atoms_per_token, 3) positions_noisy: jnp.nd
src/alphafold3/model/network/diffusion_head.py:211
Method
__call__
( self, batch: feat_batch.Batch, embeddings: dict[str, jnp.ndarray], return_distogram:
src/alphafold3/model/network/distogram_head.py:55
Method
__call__
Generate an embedding for a set of templates. Args: query_embedding: [num_res, num_res, num_channel] a query tensor that will be us
src/alphafold3/model/network/template_modules.py:139
Method
__call__
Build the single template embedding graph. Args: query_embedding: (num_res, num_res, num_channels) - embedding of the query sequenc
src/alphafold3/model/network/template_modules.py:230
Method
__call__
(self, cls)
src/alphafold3/jax/geometry/struct_of_array.py:205
Method
__contains__
(self, key: object)
src/alphafold3/constants/chemical_components.py:89
Method
__eq__
(self, other: 'AtomLayout')
src/alphafold3/model/atom_layout/atom_layout.py:121
Method
__eq__
(self, other: 'Residues')
src/alphafold3/model/atom_layout/atom_layout.py:302
Method
__eq__
(self, other: object)
src/alphafold3/common/folding_input.py:124
Method
__eq__
(self, other: object)
src/alphafold3/common/folding_input.py:235
Method
__eq__
(self, other: object)
src/alphafold3/common/folding_input.py:536
Method
__eq__
(self, other: object)
src/alphafold3/common/folding_input.py:724
Method
__getitem__
(self, key: NumpyIndex)
src/alphafold3/model/atom_layout/atom_layout.py:107
Method
__getitem__
(self, key: NumpyIndex)
src/alphafold3/model/atom_layout/atom_layout.py:286
Method
__getitem__
(self, key: NumpyIndex)
src/alphafold3/model/atom_layout/atom_layout.py:343
Method
__getitem__
(self, *args, **kwargs)
src/alphafold3/structure/structure.py:2998
Method
__getitem__
(self, key: str)
src/alphafold3/structure/table.py:178
Method
__getitem__
(self, key: object)
src/alphafold3/constants/chemical_components.py:84
Method
__getstate__
Pickle calls this on dump. Returns: Members with cached properties removed.
src/alphafold3/structure/structure.py:638
Method
__getstate__
Returns members with cached properties removed for pickling.
src/alphafold3/structure/table.py:91
Method
__getstate__
(self)
src/alphafold3/jax/geometry/rigid_matrix_vector.py:226
Method
__getstate__
(self)
src/alphafold3/jax/geometry/rotation_matrix.py:293
Method
__getstate__
(self)
src/alphafold3/jax/geometry/vector.py:129
Method
__hash__
(self)
src/alphafold3/common/folding_input.py:121
Method
__hash__
(self)
src/alphafold3/common/folding_input.py:248
← previous
next →
301–400 of 889, ranked by callers