Biogod commited on
Commit
99067e4
·
verified ·
1 Parent(s): b6af93f

Card: corrections of 2026-11-11 (12 samples replaced, 6 withdrawn), current counts, metadata v2.2.3

Browse files
Files changed (2) hide show
  1. README.md +50 -18
  2. metadata/v2/README.md +6 -2
README.md CHANGED
@@ -20,17 +20,18 @@ configs:
20
 
21
  *Left to right: H&E and GFAP from the same Visium section (GSM9721856), Xenium DAPI (GSM9301054), and a CosMx composite (GSM9372712). The GFAP panel displays all 3,416 recorded spots using the existing log1p preview values.*
22
 
23
- Search 12,163 public spatial transcriptomics samples before you request any data. They come from 1,265 published
24
- GEO series and hold 635,240,170 spatial observations (spots, bins, cells or beads). 8,211 samples have a released
25
- tissue image: 5,263 H&E, 871 H&E-like (a pixel-based call that no reviewer confirmed), 1,423 DAPI, 427 other fluorescence and 227 other or
26
  undetermined stains. Platforms include Visium, Xenium, legacy ST, CosMx, MERFISH/MERSCOPE, Slide-seq, Stereo-seq and Visium HD.
27
 
28
  The samples were found and standardized from GEO by the [SpatialDataAgent](https://github.com/YSTLab/spatial-data-agent)
29
- workflow (7,777 samples, each checked by an independent scorer) and by the earlier HESRT H&E collection (4,386
30
- samples, each reviewed by eye). The atlas is described in the
 
31
  [bioRxiv preprint](https://doi.org/10.64898/2026.05.27.727615).
32
 
33
- This repository needs **no account**. It holds the catalog of all 12,163 samples and the complete files of 88
34
  starter samples (below). The files of every sample are in the
35
  [full dataset](https://huggingface.co/datasets/Biogod/SpatialDataAgent-DB), about 1.8 TB, where access is
36
  approved manually.
@@ -39,13 +40,13 @@ approved manually.
39
 
40
  ![24 of the starter pack's samples with a tissue image](assets/dataset-card/v3/08-starter-gallery.png)
41
 
42
- 88 samples of the release are in this repository and need **no login**. Each has the full three files:
43
- `spatial.h5ad`, `sample.json` and, for 60 of them, `image.tif`. The pack covers:
44
 
45
  - 12 platforms, 20 organ groups and 8 species;
46
- - 46 H&E images (8 at cell resolution, ≤ 1 µm per pixel) and 14 DAPI or CosMx images;
47
- - 41 samples with a reported disease and 79 from published studies;
48
- - 4.5 GB in total.
49
 
50
  The files are byte-identical to the full dataset, and each is checked against its SHA256 when downloaded.
51
  `starter/starter.json` lists the samples.
@@ -68,7 +69,7 @@ From R, or any tool, download a starter sample's files directly, for example
68
  `https://huggingface.co/datasets/Biogod/SpatialDataAgent-DB-Catalog/resolve/main/samples/GSE223559/GSM6963121/spatial.h5ad`
69
  (also `sample.json` and `image.tif`), and read the H5AD with `zellkonverter::readH5AD`.
70
 
71
- **All 12,163 samples.** Every file of the release has passed content verification. To download any sample:
72
 
73
  1. Request access on the [full dataset page](https://huggingface.co/datasets/Biogod/SpatialDataAgent-DB) with
74
  your Hugging Face account and an institutional e-mail; requests are reviewed manually.
@@ -203,7 +204,7 @@ Source index SHA256: `909c4ec50e71c636eadc7bf01a9479fef1b4fd480ac348dfea6b785e56
203
 
204
  ![Sample counts by platform, image availability, source collection and split](assets/dataset-card/v2/02-composition.png)
205
 
206
- *Sample counts by platform, image availability, source collection and retained split (n = 12,163; source snapshot: sda-unified-20261010-v3).*
207
 
208
  ## Images and resolution
209
 
@@ -251,12 +252,43 @@ catalog has no per-sample license column. See the
251
  reuse terms and citation, and cite the original studies with the data you use (`sda-db cite` writes BibTeX for
252
  a selection).
253
 
254
- ## Curated sample metadata v2 (version 2.2.2, 2026-11-08)
255
 
256
- `metadata/v2/` adds a curated table on top of the same 12,163 samples. No data file changed: the paper release is
257
- still tag `v1.0.0-20261025`; the current metadata is tag `metadata-v2.2.2-20261108` (2.2.2 only moves the most-used columns
258
- to the front: organ, disease status and terms, tissue term, sample kind, organism, life stage, sex, platform; no value
259
- changed).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
260
 
261
  In the Dataset Viewer, `metadata_v2` (the default) shows this table and `samples` shows the catalog
262
  (`catalog/samples.parquet`).
 
20
 
21
  *Left to right: H&E and GFAP from the same Visium section (GSM9721856), Xenium DAPI (GSM9301054), and a CosMx composite (GSM9372712). The GFAP panel displays all 3,416 recorded spots using the existing log1p preview values.*
22
 
23
+ Search 12,157 public spatial transcriptomics samples before you request any data. They come from 1,264 published
24
+ GEO series and hold 635,244,564 spatial observations (spots, bins, cells or beads). 8,205 samples have a released
25
+ tissue image: 5,256 H&E, 871 H&E-like (a pixel-based call that no reviewer confirmed), 1,424 DAPI, 427 other fluorescence and 227 other or
26
  undetermined stains. Platforms include Visium, Xenium, legacy ST, CosMx, MERFISH/MERSCOPE, Slide-seq, Stereo-seq and Visium HD.
27
 
28
  The samples were found and standardized from GEO by the [SpatialDataAgent](https://github.com/YSTLab/spatial-data-agent)
29
+ workflow (7,789 samples, each checked by an independent scorer) and by the earlier HESRT H&E collection (4,368
30
+ samples, each reviewed by eye). On 2026-11-11, 12 samples were replaced and 6 were withdrawn after a check
31
+ against the GEO deposits; see [Corrections 2026-11-11](#corrections-2026-11-11). The atlas is described in the
32
  [bioRxiv preprint](https://doi.org/10.64898/2026.05.27.727615).
33
 
34
+ This repository needs **no account**. It holds the catalog of all 12,157 samples and the complete files of 86
35
  starter samples (below). The files of every sample are in the
36
  [full dataset](https://huggingface.co/datasets/Biogod/SpatialDataAgent-DB), about 1.8 TB, where access is
37
  approved manually.
 
40
 
41
  ![24 of the starter pack's samples with a tissue image](assets/dataset-card/v3/08-starter-gallery.png)
42
 
43
+ 86 samples of the release are in this repository and need **no login**. Each has the full three files:
44
+ `spatial.h5ad`, `sample.json` and, for 58 of them, `image.tif`. The pack covers:
45
 
46
  - 12 platforms, 20 organ groups and 8 species;
47
+ - 43 H&E images (8 at cell resolution, ≤ 1 µm per pixel) and 15 DAPI or CosMx images;
48
+ - 41 samples with a reported disease and 77 from published studies;
49
+ - 5.1 GB in total.
50
 
51
  The files are byte-identical to the full dataset, and each is checked against its SHA256 when downloaded.
52
  `starter/starter.json` lists the samples.
 
69
  `https://huggingface.co/datasets/Biogod/SpatialDataAgent-DB-Catalog/resolve/main/samples/GSE223559/GSM6963121/spatial.h5ad`
70
  (also `sample.json` and `image.tif`), and read the H5AD with `zellkonverter::readH5AD`.
71
 
72
+ **All 12,157 samples.** Every file of the release has passed content verification. To download any sample:
73
 
74
  1. Request access on the [full dataset page](https://huggingface.co/datasets/Biogod/SpatialDataAgent-DB) with
75
  your Hugging Face account and an institutional e-mail; requests are reviewed manually.
 
204
 
205
  ![Sample counts by platform, image availability, source collection and split](assets/dataset-card/v2/02-composition.png)
206
 
207
+ *Sample counts by platform, image availability, source collection and retained split (n = 12,163, the paper release; source snapshot: sda-unified-20261010-v3).*
208
 
209
  ## Images and resolution
210
 
 
252
  reuse terms and citation, and cite the original studies with the data you use (`sda-db cite` writes BibTeX for
253
  a selection).
254
 
255
+ ## Corrections 2026-11-11
256
 
257
+ On 2026-11-11 the samples that come from HESRT, the earlier H&E collection that is part of this dataset (`source_pipeline = hesrt`), were compared value by value with the files deposited in GEO. The check found problems in 18 samples. We replaced 12 of them and withdrew 6. No other sample file changed. The numbers at the top of this card describe the current data. The figures and composition tables further down still show the paper release (`v1.0.0-20261025`, 12,163 samples); they count the six withdrawn samples and describe the 12 replaced samples by their old files.
258
+
259
+ **Replaced (12 samples).** Each sample was converted again from the deposited files. The new files were compared with the deposit value by value, and the author reviewed each sample by eye.
260
+
261
+ | Study | Samples | What was wrong | What changed |
262
+ | --- | --- | --- | --- |
263
+ | GSE205707 | `GSM6896311` to `GSM6896316` | The counts and gene names were generated by the conversion script. They were not read from the deposit. | New expression matrix from the deposited counts (32,285 genes for the two mouse samples and 32,704 for the four dog samples; more spots than before). Image unchanged. |
264
+ | GSE275125 | `GSM8465980` to `GSM8465983` | The counts and gene names were generated by the conversion script. They were not read from the deposit. | New expression matrix from the deposited counts. Image unchanged. |
265
+ | GSE294965 | `GSM8933093` | The cell positions were drawn at random. The image was a low-resolution copy that was labelled H&E. | Cell positions from the deposit, and the full-resolution DAPI image (0.5 µm per pixel). |
266
+ | GSE186290 | `GSM5643203` | The expression rows were in a different order from the spots, so each spot carried the counts of another spot. The spot positions were right. | Each spot now has its own expression row. Image unchanged. |
267
+
268
+ For these 12 samples the catalog (`catalog/samples.parquet`) now gives coordinates in micrometres (`coordinate_units = um`) and names the new conversion in `source_pipeline` and `source_release`. Two new values appear in `image_registration`: `DEPOSITED_ALIGNMENT_FIT` (the spot-to-image transform was fitted from the deposited alignment file) and `DEPOSITED_PIXEL_FRAME` (the deposited positions are already in image pixels).
269
+
270
+ **Withdrawn (6 samples).** Their folders are removed from `main`. A note for each is in `review-revocations/` of the main dataset.
271
+
272
+ | Study | Samples | Reason |
273
+ | --- | --- | --- |
274
+ | GSE298115 | `GSM9008651`, `GSM9008653` | The expression rows were in the wrong order. A corrected conversion has the right values, but the spots do not sit on the tissue in the image, because the deposit has no scale-factor file. It did not pass review. The other four samples of this study stay. |
275
+ | GSE244723 | `GSM7825036` to `GSM7825039` | The deposited count tables have no gene names. The values were equal to the deposit, but the samples cannot be used for any analysis by gene. The whole study is withdrawn. |
276
+
277
+ **Counts.** The paper release had 12,163 samples in 1,265 study folders. The current data has 12,157 samples in 1,264 study folders. The no-login starter pack has 86 samples (was 88): `GSM7825036` and `GSM7825037` are removed, and `GSM8933093` is replaced.
278
+
279
+ **If you used these samples.** Do not use results computed from the old files of the 12 replaced samples or of the two GSE298115 samples. For the 12 replaced samples, redo them with the new files. For the two GSE298115 samples, drop them. The four GSE244723 samples had correct values but placeholder gene names, so any result by gene from them has no meaning.
280
+
281
+ **Samples whose spots do not sit on the tissue (8 samples, still in the data).** On the same day the image registration of the same HESRT samples was screened. Eight samples are still in the data although their spots do not match the image: `GSM7156292` to `GSM7156295` (GSE229175), `GSM9097318` and `GSM9097320` (GSE302160), `GSM8925216` (GSE294844) and `GSM8770960` (GSE288607). Their expression values and coordinates are equal to the deposit. Only the match between spots and image is wrong. Do not use them for analyses that pair image patches with expression until they are corrected or withdrawn. The samples that do not come from HESRT have not been screened in this way yet.
282
+
283
+ **Versions.** The corrected data is tag `v1.2.0-20261111` of the main dataset. The paper tag `v1.0.0-20261025` is unchanged and still holds the old files, so earlier work can be traced. The gene search index was updated for the changed samples. The sample metadata is version 2.2.3: it drops the six withdrawn samples, and the curated annotations of all other samples did not change. The `sda-db` toolkit reads the paper tag by default, so it still returns the old files of these 18 samples until its next release; to get the corrected files now, download them with `huggingface_hub` and `revision="v1.2.0-20261111"`.
284
+
285
+ ## Curated sample metadata v2 (version 2.2.3, 2026-11-11)
286
+
287
+ `metadata/v2/` adds a curated table on top of the current 12,157 samples. The paper release is still tag
288
+ `v1.0.0-20261025`; the corrected data and the current metadata are tag `v1.2.0-20261111` of the main dataset. Version 2.2.3
289
+ drops the six samples withdrawn on 2026-11-11 and updates the file-derived columns (for example `n_obs`,
290
+ `coordinate_units`, `image_registration`) of the 12 replaced samples; no curated annotation changed. Version 2.2.2
291
+ (tag `metadata-v2.2.2-20261108`) only moved the most-used columns to the front.
292
 
293
  In the Dataset Viewer, `metadata_v2` (the default) shows this table and `samples` shows the catalog
294
  (`catalog/samples.parquet`).
metadata/v2/README.md CHANGED
@@ -1,6 +1,7 @@
1
  # SpatialDataAgent-DB sample metadata v2
2
 
3
- Schema `sda-sample-metadata-2`, version 2.2.2 (2026-11-08), built from release v3 (`sda-unified-20261010-v3`, 12,163 samples).
 
4
  No expression, coordinate or image file changes; v2 is a new metadata table that sits next to the release.
5
 
6
  ## Files
@@ -9,7 +10,7 @@ No expression, coordinate or image file changes; v2 is a new metadata table that
9
  |---|---|
10
  | `samples_metadata_v2.parquet` | one row per sample, list columns kept as lists (recommended) |
11
  | `samples_metadata_v2.csv` | the same table; lists joined with `;`, confidence as JSON |
12
- | `studies_v2.csv` | one row per study (1,265): title, species, platforms, assays, organs, diseases, PubMed IDs, split |
13
  | `schema_v2.json` | definition of every column |
14
  | `changes_v2.csv` | every value that differs from a v3 column, with its basis (204 platform changes, 32 manual corrections in 14 samples) |
15
  | `dropped_disease_terms.csv` | disease terms removed by the short-synonym filter (331) |
@@ -125,6 +126,9 @@ repository:
125
 
126
  ## Versions
127
 
 
 
 
128
  - **2.2.2** (tag `metadata-v2.2.2-20261108`): column order only. The columns users look for first lead the table
129
  (gsm, organ, disease_status, disease_ontology_names, tissue_ontology_name, sample_kind, organism,
130
  organism_common_name, life_stage, sex, platform, assay_name, has_image, image_stain, n_obs, study_title,
 
1
  # SpatialDataAgent-DB sample metadata v2
2
 
3
+ Schema `sda-sample-metadata-2`, version 2.2.3 (2026-11-11), built from release v3 (`sda-unified-20261010-v3`, 12,163 samples) and reduced to the
4
+ 12,157 samples that remain after the corrections of 2026-11-11.
5
  No expression, coordinate or image file changes; v2 is a new metadata table that sits next to the release.
6
 
7
  ## Files
 
10
  |---|---|
11
  | `samples_metadata_v2.parquet` | one row per sample, list columns kept as lists (recommended) |
12
  | `samples_metadata_v2.csv` | the same table; lists joined with `;`, confidence as JSON |
13
+ | `studies_v2.csv` | one row per study (1,264): title, species, platforms, assays, organs, diseases, PubMed IDs, split |
14
  | `schema_v2.json` | definition of every column |
15
  | `changes_v2.csv` | every value that differs from a v3 column, with its basis (204 platform changes, 32 manual corrections in 14 samples) |
16
  | `dropped_disease_terms.csv` | disease terms removed by the short-synonym filter (331) |
 
126
 
127
  ## Versions
128
 
129
+ - **2.2.3** (tag `v1.2.0-20261111` of the main dataset): six withdrawn samples removed (GSE244723, four samples; GSE298115,
130
+ `GSM9008651` and `GSM9008653`); for 12 samples whose files were replaced, the file-derived columns were
131
+ updated. No curated annotation changed. Counts elsewhere in this file describe version 2.2.2 (12,163 samples).
132
  - **2.2.2** (tag `metadata-v2.2.2-20261108`): column order only. The columns users look for first lead the table
133
  (gsm, organ, disease_status, disease_ontology_names, tissue_ontology_name, sample_kind, organism,
134
  organism_common_name, life_stage, sex, platform, assay_name, has_image, image_stain, n_obs, study_title,