Brain atlas

From GoogleCloudPlatform/LifeSciences · View interactive version

Brain atlas is an AI agent skill from the GitHub repository GoogleCloudPlatform/LifeSciences. Query brain region expression and donor/disease data from the Allen Brain Map -- gene expression across brain structures (human and mouse) and the Aging, Dementia, and TBI donor cohort with Braak staging, DSM-IV diagnoses, and APOE4 status. Use when looking up brain region expression for a gene, whe

How to use this skill

Skill file

1. When to use, and when not

Use this skill when you need brain-specific expression or

neurodegenerative disease donor data. Entry points include:

for a gene (human microarray, mouse ISH, developing brain, etc.).

brain atlas.

Alzheimer's disease, other dementias, or specific Braak stages.

brain regions express it.

Do not use when:

-> tissue-expression-profile.

lesions, tumours, etc.) -> disease-transcriptomics.

-> target-genetic-evidence.

2. Preconditions

resolves symbols through the Allen Gene query endpoint.

substring), --dementia (flag for demented donors), --min-braak

(minimum Braak stage).

Peripheral tissues are not represented. The

allen.brain_region_expression_only relay carries this caveat.

3. Tool invocations

| Question | Run | Writes to |

|---|---|---|

| Is this gene in the Allen Brain Atlas? | oase allen search <GENE> [--organism human\|mouse] | raw/transcriptomics/<slug>.allen.json<br>raw/transcriptomics/<slug>.allen.artifact.json<br>raw/transcriptomics/<slug>.allen.meta.json |

| What do the Allen gene results show? | oase allen analyze <GENE> | raw/transcriptomics/<slug>.allen.analysis.json |

| What donors have dementia/disease data? | oase allen donors [--disease D] [--dementia] [--min-braak N] | raw/transcriptomics/<slug>.allen-donors.json<br>raw/transcriptomics/<slug>.allen-donors.artifact.json<br>raw/transcriptomics/<slug>.allen-donors.meta.json |

| What does the donor cohort look like? | oase allen analyze-donors [--disease D] [--dementia] | raw/transcriptomics/<slug>.allen-donors.analysis.json |

Run search/donors before analyze/analyze-donors. Analyze

commands read from disk with no network access. All tools support

--json, --quiet, and --out.

4. Interpretation contract

Verdicts

reports which Allen products/atlases contain the gene, number of

experiments, and organisms.

dementia/control breakdown, DSM-IV diagnosis distribution, Braak

stage distribution, APOE4 status, and age/sex demographics.

What each subcommand provides

Gene search returns which Allen Brain Atlas products contain

expression data for the queried gene. Products include the Human Brain

Microarray atlas (6 donors, ~500 brain samples), Mouse Brain ISH atlas,

Developing Human Brain, and disease-specific studies (Autism,

Schizophrenia, Neurotransmitter). The search confirms the gene is

profiled in a product; it does not return expression values per brain

region.

Donor search returns metadata for the Aging, Dementia, and TBI

donor cohort (107 donors, 50 with dementia). Each donor record

includes: DSM-IV clinical diagnosis (Alzheimer's, Multiple Etiologies,

Vascular, etc.), Braak stage, CERAD score, NIA-Reagan score, APOE4

status, age, sex, and TBI history. This is donor-level metadata, not

expression data.

Mandatory relays

| Relay code | Kind | Fires when | Obligation |

|---|---|---|---|

| allen.brain_region_expression_only | Qualifier | Every gene search (unconditional) | State that Allen Brain Atlas expression data covers brain regions only. Expression in peripheral tissues (skin, DRG, etc.) is not represented. Do not infer absence of expression in non-brain tissues from this dataset. A gene absent from the Allen Brain Atlas may still be expressed in peripheral tissues relevant to the program's indication. |

Check mandatory_relays in the .analysis.json. Every relay code

present must be satisfied in the finding.

Consequence rules

gene and the number of experiments. Carry the

brain_region_expression_only relay. This confirms the gene is

profiled in the Allen brain atlas, not that it is expressed at

meaningful levels in any specific brain region.

This means the gene has not been profiled in the Allen ISH or

microarray datasets. It does not mean the gene is not expressed in

the brain — the Allen Atlas covers a finite set of genes.

distribution, and Braak stage statistics. These describe the donor

cohort available for brain transcriptomic analysis, not expression

results from those donors.

that no donors matched. Suggest broadening filters.

Cross-disciplinary consequences

program's mechanism involves central nervous system pathways.

For peripheral indications (e.g. atopic dermatitis), the Allen Atlas

may provide context for CNS off-target effects but is not the primary

expression evidence.

gene expression changes in neurodegeneration. It is not directly

relevant to non-neurological indications unless the program

hypothesis involves a neuro-immune axis.

program targets peripheral tissues. Failure to carry this qualifier

could lead to wrongly concluding a gene is not expressed in the

relevant tissue based on its absence from a brain atlas.

What this section produces

Following this contract produces a Layer 1 finding in findings/ that

cites the relevant .analysis.json files, satisfies the

brain_region_expression_only relay, and clearly states that evidence

comes from a brain-specific atlas. Everything the tools emitted stays

under raw/transcriptomics/.

5. Failure modes and anti-fabrication guard

Do not compute these values yourself. The value is whatever the tool

emitted. If the tool did not run, there is no value. If a required tool

is unavailable, report the task as blocked.

Named pathologies

Allen Brain Atlas covers brain regions only. A gene's absence from

the atlas does not mean it is absent from skin, DRG, or other

peripheral tissues. The relay exists because this inference is

natural and wrong.

search returns cohort metadata (diagnosis, Braak stage, APOE4

status). It does not return expression values. "50 donors with

dementia are available" is supported; "gene X is upregulated in

Alzheimer's brain" is not supported by a donor metadata search.

gene is in the Allen Human Brain Microarray product means it was

included on the microarray platform. It does not report its

expression level in any brain region.

Aging/Dementia/TBI cohort is 107 donors with specific ascertainment

criteria. Its Braak stage distribution does not represent the

general population or any clinical trial cohort.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.