Allen Brain

v0.2.1
io.github.pipeworx-io/allen-brain Checked 1 day ago Published 1 month ago

Gene expression experiments and the brain structure ontology from the Allen Institute's Brain…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

allen_search_genes

Look up genes in the Allen Brain Atlas gene catalog by symbol/acronym, name substring, or Entrez ID. AUTHORITATIVE for resolving a gene to the Allen internal gene id and organism that the atlas expression data is keyed on — note the atlas holds mouse and human as SEPARATE gene records with the same-but-differently-cased acronym (Gabra1 vs GABRA1), and the expression datasets attached to each differ. Use this before allen_expression_datasets.

ParameterTypeDescription
acronymstringExact gene symbol, e.g. "Gabra1" (mouse) or "GABRA1" (human). Case matters for the exact match; matching is retried case-insensitively and the response says which casing hit.
entrez_idnumberNCBI Entrez Gene ID, e.g. 14394.
name_containsstringSubstring of the gene name, e.g. "dopamine receptor". Case-insensitive.
num_rowsnumberRows to return, 1-200 (default 25).
organismstringFilter results to "mouse", "human", or omit for both.
start_rownumber0-based offset for paging (default 0).

allen_structures

Query the Allen Brain Atlas structure ontology — the canonical hierarchy of named brain regions (Field CA1, Primary visual area, Substantia nigra) with their acronyms, colors, parent structure, and full root-to-leaf structure_id_path. AUTHORITATIVE for resolving a brain-region name or acronym to the structure ID that Allen expression, connectivity and reference-space data are annotated against, and for establishing whether one region contains another.

ParameterTypeDescription
acronymstringExact structure acronym, e.g. "CA1", "VISp", "SNr".
graph_idnumberStructure graph to search. 1 = adult mouse brain (default), 10 = human brain, 17 = developing mouse.
name_containsstringSubstring of the structure name, e.g. "hippocamp", "visual area". Case-insensitive.
num_rowsnumberRows to return, 1-200 (default 25).
start_rownumber0-based offset for paging (default 0).
structure_idnumberAllen structure id, e.g. 382 (Field CA1).

allen_expression_datasets

List the Allen Brain Atlas in-situ hybridization expression experiments (SectionDataSets) for a gene — which atlas product they belong to (Mouse Brain, Developing Mouse, Human Brain, Mouse Spinal Cord), plane of section (coronal/sagittal), section thickness, and the dataset id used to fetch images and per-structure expression. AUTHORITATIVE for "where in the brain is gene X expressed" and for finding the experiment ids behind an Allen expression figure.

ParameterTypeDescription
gene_acronym *stringGene symbol, e.g. "Gabra1" (mouse) or "GABRA1" (human). Casing selects the species record; both are tried and the response says which matched.
include_failedbooleanInclude experiments Allen flagged as failed QC (default false).
num_rowsnumberRows to return, 1-200 (default 25).
plane_of_sectionstringOptional filter: "coronal" or "sagittal". Omit for both — filtering can empty an otherwise non-empty result.
product_idnumberOptional Allen product id filter (1 = Mouse Brain ISH, 3 = Developing Mouse Brain). Omit unless you need one product; the response always reports the unfiltered total.
start_rownumber0-based offset for paging (default 0).