annotate_function
Fetch Gene Ontology molecular function, biological process, and cellular component annotations for a gene or protein by symbol, alias, or UniProt accession, with evidence codes.
Instructions
Fetch Gene Ontology functional annotations (MF, BP, CC) for a gene or protein.
Args: query: Gene symbol (e.g. 'TP53'), alias, or UniProt accession (e.g. 'P04637'). taxon_id: NCBI Taxonomy ID (default: 9606 for human). aspect: Optional filter: 'molecular_function', 'biological_process', or 'cellular_component'. limit: Maximum number of annotations per aspect (default: 25).
Returns: JSON string containing the functional profile structured into MF, BP, and CC with evidence codes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| aspect | No | ||
| taxon_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |