Disease transcriptomics

From GoogleCloudPlatform/LifeSciences · View interactive version

Disease transcriptomics is an AI agent skill from the GitHub repository GoogleCloudPlatform/LifeSciences. Discover disease-state transcriptomics datasets and curated differential expression signatures across public repositories -- NCBI GEO (Gene Expression Omnibus) for dataset discovery, DisigNAtlas (Disease Signature Atlas) for pre-computed disease vs. control signatures, and SpatialDB for spatially re

How to use this skill

Skill file

1. When to use, and when not

Use this skill when you need to discover disease-state transcriptomics

data or curated disease gene expression signatures. Entry points include:

(e.g. atopic dermatitis lesional vs. non-lesional skin).

in a disease context (DisigNAtlas curated signatures).

combination.

(SpatialDB).

case: is the target gene dysregulated in disease tissue?

Do not use when:

in healthy tissue -> tissue-expression-profile.

-> single-cell-expression.

-> target-genetic-evidence.

-> regulatory-variant-effect.

-> brain-atlas.

2. Preconditions

"Homo sapiens"), --entry-type (gse/gds/gpl/gsm, default gse),

--data-type, --year-from, --year-to, --max-results.

(disease mode). Supports --mode gene|disease, --organism.

DisigNAtlas and SpatialDB are academic sites with lower throughput

tolerance. The CLI paces requests.

3. Tool invocations

| Question | Run | Writes to |

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

| What GEO datasets match a disease/tissue query? | oase geo search <QUERY> [--organism O] [--entry-type T] [--data-type D] [--year-from Y] [--year-to Y] [--max-results N] | raw/transcriptomics/<slug>.geo.json<br>raw/transcriptomics/<slug>.geo.artifact.json<br>raw/transcriptomics/<slug>.geo.meta.json |

| What do the GEO results show? | oase geo analyze <QUERY> | raw/transcriptomics/<slug>.geo.analysis.json |

| Is a gene differentially expressed in any disease? | oase disignatlas search <GENE> --mode gene | raw/transcriptomics/<slug>.disignatlas.json<br>raw/transcriptomics/<slug>.disignatlas.artifact.json<br>raw/transcriptomics/<slug>.disignatlas.meta.json |

| What studies exist for a disease? | oase disignatlas search <DISEASE> --mode disease | same naming pattern |

| What do the DisigNAtlas results show? | oase disignatlas analyze <QUERY> [--mode gene\|disease] | raw/transcriptomics/<slug>.disignatlas.analysis.json |

| Does a gene have spatial expression data? | oase spatialdb search <GENE> [--species S] | raw/transcriptomics/<slug>.spatialdb.json<br>raw/transcriptomics/<slug>.spatialdb.artifact.json<br>raw/transcriptomics/<slug>.spatialdb.meta.json |

| What do the SpatialDB results show? | oase spatialdb analyze <GENE> [--species S] | raw/transcriptomics/<slug>.spatialdb.analysis.json |

Run search before analyze. analyze reads from disk and can be

re-run without re-querying. All tools support --json, --quiet, and

--out.

4. Interpretation contract

Verdicts

Each analyze command classifies the search result:

distribution, sample count statistics, platform breakdown, and year

distribution.

Reports disease distribution where the gene is DE, regulation summary

(up/down counts), log2FC statistics, and top signatures by effect size.

Reports study count, tissue distribution, organism breakdown.

distribution, technique breakdown, and unique PMIDs.

What each tool provides

GEO returns dataset-level metadata: accession (GSE ID), title,

summary, organism, assay type, sample count, platform, publication date,

and sample titles. Sample titles often encode experimental conditions

(e.g. "lesional skin rep 1", "non-lesional skin rep 2") but this is

unstructured free text. GEO does not return expression values or

differential expression results.

DisigNAtlas returns curated differential expression signatures:

log2FC, adjusted p-value, regulation direction (up/down), disease,

tissue/cell type, data source (GEO, ArrayExpress, TCGA), and library

strategy. These are pre-computed from published datasets using

standardised pipelines. Quality and normalisation vary by study.

SpatialDB returns records of spatially resolved expression

experiments: gene, tissue, technique (Spatial Transcriptomics,

Slide-seq, MERFISH, etc.), species, and PMID. It does not return

expression values or spatial coordinates.

Mandatory relays

| Relay code | Kind | Fires when | Obligation |

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

| geo.search_is_metadata_only | Stop | Every GEO search (unconditional) | Do not infer differential expression from GEO dataset metadata. The search returns dataset descriptors (title, summary, sample list). It does not contain expression values. A dataset titled "Atopic dermatitis lesional vs non-lesional skin" confirms such a study exists; it does not confirm that any gene is differentially expressed. Determining DE requires downloading and analysing the expression data. |

| disignatlas.curated_signatures | Qualifier | Every DisigNAtlas search (unconditional) | State that DisigNAtlas signatures are pre-computed from public data using standardised pipelines. Individual study quality, sample sizes, and normalisation methods vary. Treat as a discovery resource for identifying disease-gene associations, not as primary evidence. The log2FC and padj values are study-specific and should not be compared across studies without accounting for differences in experimental design. |

| spatialdb.spatial_not_bulk | Qualifier | Every SpatialDB search (unconditional) | State that SpatialDB records describe spatially resolved expression experiments, not bulk or single-cell RNA-seq. Spatial transcriptomics covers a limited set of tissues and published studies. Absence from SpatialDB does not mean a gene lacks spatial expression data. |

Check mandatory_relays in each .analysis.json and .meta.json.

Every relay code present must be satisfied in the finding.

Synthesis rules

When combining results across the three tools:

from those (and other) datasets. A gene found in DisigNAtlas with

significant DE in a disease does not guarantee the underlying study is

high quality — check the data source, sample size, and study design.

(and ArrayExpress, TCGA). A study in GEO may or may not have been

processed into DisigNAtlas. Absence from DisigNAtlas does not mean

the gene is not DE in GEO datasets — it means no curated signature

exists.

single-cell. A gene with spatial expression data provides tissue

localisation context, not disease-state comparison.

DisigNAtlas shows significant DE for the same gene in the same

disease, the convergence strengthens the evidence. But both trace

to the same underlying public data, so this is not independent

replication.

Consequence rules

breakdown, and representative GSE accessions with sample counts.

Carry the geo.search_is_metadata_only relay. The result identifies

where disease-state transcriptomics data can be obtained, not what

the data shows.

disease contexts where the gene is DE, the regulation direction

(up/down by disease), and the top signatures by |log2FC|. Carry the

disignatlas.curated_signatures relay. Note the data sources and

library strategies.

count, tissue distribution, and top studies. Useful for assessing

what disease-state data has been curated for a condition.

Carry the spatialdb.spatial_not_bulk relay.

found on [source] for this query." This may reflect query specificity,

non-standard terminology, or genuine absence of public data.

Cross-disciplinary consequences

target validation: a gene upregulated in disease tissue is a

candidate therapeutic target. But DE is a population-level statistical

signal, not a per-patient guarantee.

a disease-expression hypothesis. Identifying the right datasets

enables follow-up with GEO2R or direct data analysis.

within tissue architecture — relevant for understanding target

accessibility and mechanism of action.

2.5 in one study to 1.8 in another is not meaningful without

accounting for differences in platform, normalisation, and sample

composition.

What this section produces

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

cites the relevant .analysis.json files, satisfies all fired relays,

and distinguishes between dataset discovery (GEO), curated DE signatures

(DisigNAtlas), and spatial expression records (SpatialDB). 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. Do not estimate, and do not

proceed on an assumed result.

Named pathologies

GEO dataset titled "AD lesional vs non-lesional skin RNA-seq" does

not confirm that any gene is differentially expressed. The

geo.search_is_metadata_only relay exists for this reason. "GEO

contains 5 AD skin transcriptomics datasets" is supported; "ARTN is

upregulated in AD lesional skin" is not supported by a GEO metadata

search.

signatures are pre-computed from heterogeneous public data. A

log2FC = 3.2 with padj = 0.001 in DisigNAtlas means the curation

pipeline found that result in one study. It does not substitute for

reviewing the original study's methods, sample size, and

normalisation.

studies use different platforms (microarray vs RNA-seq), normalisation

methods, and sample compositions. A log2FC of 2.0 in a microarray

study and 1.5 in an RNA-seq study are not directly comparable.

GEO hits may reflect query specificity (try broader terms). Zero

DisigNAtlas hits may mean the gene has not been curated, not that it

is not DE. Zero SpatialDB hits may mean no spatial study has profiled

the relevant tissue.

signatures from GEO datasets. Finding a gene in both does not

constitute independent replication — both derive from the same

underlying data.

records confirm that a gene appeared in a spatial transcriptomics

experiment. They do not report expression levels or spatial

coordinates. The actual expression data must be obtained from the

original study.

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.