| name | ncbi_gene_lookup |
| description | Look up gene description and location via NCBI Gene (esearch/efetch). |
| category | bio/literature |
| version | 1 |
| requires_tools | ["fetch_url"] |
| requires_network | true |
| user_invocable | true |
| species | any |
| modality | literature |
| stage | utilities |
| stability | experimental |
| safety_level | low |
NCBI Gene Lookup
When to use
User asks for gene info (symbol, description, chromosome, organism) from NCBI.
Inputs
- gene: Gene symbol (e.g. BRCA1) or organism plus symbol.
Steps
-
Search: fetch_url to esearch.fcgi db=gene, term="{gene}[sym]", retmode=json. Get id list.
-
Fetch: efetch.fcgi db=gene id={id} retmode=xml or json. Parse description, chromosome, organism, type (protein-coding etc.).
-
Present: Gene symbol, official name, description, organism, chromosome/position, and link to NCBI Gene.
Output format
- Symbol, name, description, organism, location, link