biocontext_kb.core.alphafold#

Functions#

get_alphafold_info_by_protein_symbol(protein_symbol[, ...])

Query AlphaFold database using protein name. First converts protein symbol to UniProt ID, then fetches structure predictions.

get_alphafold_info_by_uniprot_id(uniprot_id)

Query AlphaFold database for protein structure data.

Package Contents#

biocontext_kb.core.alphafold.get_alphafold_info_by_protein_symbol(protein_symbol, species='9606')#

Query AlphaFold database using protein name. First converts protein symbol to UniProt ID, then fetches structure predictions.

Returns:

AlphaFold prediction data including PDB/CIF file URLs, confidence scores, and metadata or error message.

Return type:

dict

Parameters:
  • protein_symbol (Annotated[str, Field(description="Gene/protein name (e.g., 'SYNPO')")])

  • species (Annotated[str, Field(description="Taxonomy ID (e.g., '9606' for human)")])

biocontext_kb.core.alphafold.get_alphafold_info_by_uniprot_id(uniprot_id)[source]#

Query AlphaFold database for protein structure data.

Returns:

AlphaFold prediction data including PDB/CIF file URLs, confidence scores, and metadata or error message.

Return type:

dict

Parameters:

uniprot_id (Annotated[str, Field(description="UniProt protein ID (e.g., 'P62258')")])