Sample report
Does the three-gene blood signature for active tuberculosis hold in an RNA-seq cohort it has never seen?
A second-cohort validation of a published claim, using only public GEO data.
The claim and how it was tested
A 2016 multicohort analysis of public microarray data derived a three-gene set in whole blood, GBP5, DUSP3 and KLF2, described as highly diagnostic for active tuberculosis. Its abstract reports an area under the ROC curve of 0.88 (95% CI 0.84 to 0.92) for separating active from latent tuberculosis. The paper defines the tuberculosis score as (GBP5 + DUSP3) / 2 - KLF2, which fixes the direction of each gene: GBP5 and DUSP3 higher in active disease, KLF2 lower. Source: Sweeney TE et al., Lancet Respir Med 2016 (PMID 26907218).
The hypothesis is these 3 genes and no others: GBP5, DUSP3, KLF2. The direction of each effect was taken from the publication before the second cohort was analysed. The decision rule was set in advance: a gene counts only if its direction agrees between DESeq2 and edgeR and its genome-wide BH-adjusted p-value is below alpha in both.
| Role | Cohort | Publication | Contrast (n) | Model |
|---|---|---|---|---|
| Second cohort | GSE107994 A modular transcriptional signature identifies phenotypic heterogeneity of human tuberculosis infection [Leicester progressor] | Singhania A et al., Nat Commun 2018 (PMID 29921861) | active tuberculosis (53) vs latent infection (49) | ~ group |
Which samples were analysed, and why the numbers differ from the original study
A report can analyse fewer samples than the study that produced them, for two reasons. Both are fixed before any hypothesis is tested. First, a report tests one contrast, and samples from other groups or conditions in the same series are not part of it. Second, a standing rule. A sample is left out when its data contradict its own record: its expression shows one sex where its record, or the series description, gives the other, or its counts are identical to another sample's; in a blocked design the samples sharing its block are left out with it. For such a sample we cannot tell whether the record or the data is right, and if it is not the sample its label names, its group may be wrong as well, so we do not analyse it. This is a rule about what we are willing to analyse. It is not a finding about the original study.
GSE107994. The series holds 175 samples. The contrast specified for this report (active tuberculosis against latent infection) covers 102 of them; the rest belong to groups or conditions outside it. All 102 were analysed: none met the rule for leaving a sample out. 1 sample elsewhere in the series (GSM2886399) meets the same rule and is outside this contrast, so it was never a candidate for it.
Result
| Gene | Claimed | GSE107994 (second cohort) | Verdict | ||||
|---|---|---|---|---|---|---|---|
| DESeq2 log2FC | DESeq2 adj. p | edgeR log2FC | edgeR adj. p | voom log2FC | |||
| GBP5 | up | +2.32 | 4.0e-34 | +2.32 | 4.4e-18 | +2.49 | replicated |
| DUSP3 | up | +1.19 | 2.1e-30 | +1.18 | 2.3e-18 | +1.10 | replicated |
| KLF2 | down | -0.22 | 1.6e-04 | -0.23 | 2.0e-04 | -0.21 | replicated |
The genes as one score
Signatures are usually applied as a single score. Here the score is the mean log2-CPM of genes claimed up minus mean log2-CPM of genes claimed down (up: GBP5, DUSP3; down: KLF2). It separates active tuberculosis from latent infection with an area under the ROC curve of 0.95 (95% bootstrap interval 0.90 to 0.99, 2,000 resamples; Wilcoxon p = 3.7e-15). The score uses no covariates, and its thresholds were not tuned on this cohort.
Input audit
Before any hypothesis is tested, the pipeline checks whether the data agree with their own description. Flags come first.
- Flag GSE107994. Recorded sex (field
gender) and expression disagree for 1 of 175 samples in the series: GSM2886399 (recorded male, expression female). It is not in the contrast specified here. The data cannot say whether the record or the sample is at fault. - Flag GSE107994. 7 samples flagged as correlation outliers (GSM2886302, GSM2886332, GSM2886333, GSM2886334, GSM2886346, GSM2886424 and 1 more).
- Pass GSE107994. Every sample in the contrast has its own
patient_id: no person is counted twice. - Pass GSE107994. Inferred sex by arm (active tuberculosis: 18 female, 35 male; latent infection: 21 female, 28 male). Both sexes occur in both arms, so the standing rule applies: refitting with inferred sex in the model gives 3 of 3 genes replicated.
- Pass GSE107994. Standing rule: refit without the flagged outliers. 95 samples remain, and 3 of 3 genes replicated, against 3 of 3 in the analysis reported.
- Pass GSE107994. Library sizes range from 15.8 to 44.5 million counts (median 28.7); 0 below half the median.
Do independent methods agree?
| Analysis | Model | Samples | Genes tested | DESeq2 sig. | edgeR sig. | limma-voom sig. | Jaccard (DESeq2, edgeR) | Spearman of log2FC | Pre-specified genes confirmed | Gene-set p |
|---|---|---|---|---|---|---|---|---|---|---|
| GSE107994 primary | ~ group | 102 | 16,904 | 10,433 | 10,476 | 10,154 | 0.98 | 0.994 | 3 of 3 | ≤ 5.0e-05 |
| GSE107994 without flagged outliers | ~ group | 95 | 16,937 | 9,864 | 9,979 | 9,597 | 0.96 | 0.994 | 3 of 3 | ≤ 5.0e-05 |
| GSE107994 adjusted for inferred sex | ~ inferred sex + group | 102 | 17,813 | 10,949 | 11,020 | 10,613 | 0.98 | 0.995 | 3 of 3 | ≤ 5.0e-05 |
What this does not show
- The publications behind the claim and the second cohort share no author names as PubMed lists them. That is a check on names, not on funding, consortia or shared samples.
- The signature was derived on microarrays and is tested here on RNA-seq. Agreement across platforms is part of what is being tested, and a difference in the area under the curve can reflect the platform as well as the population.
- The source claim concerns pulmonary tuberculosis. The active arm here also includes patients recorded as non-pulmonary. The contrast was specified by group before the analysis and was not narrowed afterwards.
- The second cohort was recruited in one English city and compares active disease with latent infection only. It says nothing about separating tuberculosis from other diseases, which is the harder clinical question and the one where the abstract reports its lowest accuracy.
- Latent infection that later progressed to disease is a separate group in this cohort and was left out of the contrast, as the spec states. Including it would test a different claim.
- Counts are the NCBI-generated GRCh38 matrices distributed by GEO, not the authors' own processing. Differences from published values can come from alignment and annotation as well as from statistics.
- Nothing here is clinical or diagnostic advice.
- No human has reviewed this report. It was produced end to end by an AI agent, and the safeguard is that every number can be regenerated from public inputs with the command below.
Reproduce every number
python pipeline/run.py specs/tuberculosis-three-gene-signature.json
That command downloads the inputs below from NCBI if they are absent, checks them, runs the audit and the three analyses, and rebuilds this page.
| Cohort | Input | Fetched | SHA-256 |
|---|---|---|---|
| GSE107994 | GSE107994_raw_counts_GRCh38.p13_NCBI.tsv.gz | 2026-12-01 | 783203b217cc7dc55739542184dea725c771287060c1b980cd1907c0e698455d |
| GSE107994 | GSE107994_family.soft.gz | 2026-12-01 | 73cc299e7d391c0922e5c02b043f1e162b719e3c4dc99e3bae01e6ef318c559c |
| annotation | Human.GRCh38.p13.annot.tsv.gz | 2026-12-01 | a0b6ff49b0851334c709edbd52ae9c80ae998d66d9a30185de364ffb4a59efea |