get_annotations_for_bioentity
Retrieve all Gene Ontology annotations for a specific bioentity, with optional filters by GO terms, evidence codes, or aspect.
Instructions
Get all GO annotations (evidence) for a specific bioentity.
Args: bioentity_id: The bioentity ID (e.g., "UniProtKB:P12345") go_terms: Comma-separated GO terms to filter (includes child terms) evidence_types: Comma-separated evidence codes to filter (e.g., "IDA,IPI") aspect: GO aspect filter - "C", "F", or "P" limit: Maximum number of results (default: 100)
Returns: Dictionary containing: - bioentity_id: The queried bioentity - annotations: List of annotation results - summary: Count by aspect and evidence type
Examples: # Get all annotations for a protein get_annotations_for_bioentity("UniProtKB:P53762")
# Get only experimental evidence
get_annotations_for_bioentity(
"UniProtKB:P53762",
evidence_types="IDA,IPI,IMP"
)
# Get annotations for specific GO terms
get_annotations_for_bioentity(
"UniProtKB:P53762",
go_terms="GO:0005634,GO:0005737"
)
# Get only molecular function annotations
get_annotations_for_bioentity(
"UniProtKB:P53762",
aspect="F"
)Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bioentity_id | Yes | ||
| go_terms | No | ||
| evidence_types | No | ||
| aspect | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||