Skip to content

Commit 190c716

Browse files
Merge pull request #248 from scverse/add-tests-datasets
new test datasets
2 parents 5d537d6 + 4c92edd commit 190c716

File tree

7 files changed

+156
-138
lines changed

7 files changed

+156
-138
lines changed

.github/workflows/prepare_test_data.yaml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,30 @@ jobs:
1818
run: |
1919
mkdir -p ./data
2020
cd ./data
21+
22+
# 10x Genomics Xenium 2.0.0
2123
curl -O https://cf.10xgenomics.com/samples/xenium/2.0.0/Xenium_V1_human_Breast_2fov/Xenium_V1_human_Breast_2fov_outs.zip
2224
curl -O https://cf.10xgenomics.com/samples/xenium/2.0.0/Xenium_V1_human_Lung_2fov/Xenium_V1_human_Lung_2fov_outs.zip
2325
26+
# 10x Genomics Xenium 3.0.0 (5K) Mouse ileum, multimodal cell segmentation
27+
# this file seems to be corrupted; skipping it for now
28+
# curl -O https://cf.10xgenomics.com/samples/xenium/3.0.0/Xenium_Prime_MultiCellSeg_Mouse_Ileum_tiny/Xenium_Prime_MultiCellSeg_Mouse_Ileum_tiny.zip
29+
30+
# 10x Genomics Xenium 3.0.0 (5K) Mouse ileum, nuclear expansion
31+
curl -O https://cf.10xgenomics.com/samples/xenium/3.0.0/Xenium_Prime_Mouse_Ileum_tiny/Xenium_Prime_Mouse_Ileum_tiny_outs.zip
32+
33+
# Spatial Genomics seqFISH v2
34+
curl -O https://s3.embl.de/spatialdata/raw_data/seqfish-2-test-dataset.zip
35+
2436
- name: Unzip files
2537
run: |
26-
unzip ./data/Xenium_V1_human_Breast_2fov_outs.zip -d ./data/Xenium_V1_human_Breast_2fov_outs
27-
unzip ./data/Xenium_V1_human_Lung_2fov_outs.zip -d ./data/Xenium_V1_human_Lung_2fov_outs
28-
rm ./data/Xenium_V1_human_Breast_2fov_outs.zip
29-
rm ./data/Xenium_V1_human_Lung_2fov_outs.zip
38+
cd ./data
39+
for file in *.zip; do
40+
dir="${file%.zip}"
41+
mkdir -p "$dir"
42+
unzip "$file" -d "$dir"
43+
rm "$file"
44+
done
3045
3146
- name: Upload artifacts
3247
uses: actions/upload-artifact@v3

CHANGELOG.md

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -10,138 +10,138 @@ and this project adheres to [Semantic Versioning][].
1010

1111
## incoming release
1212

13-
- (Visium/Visium HD) lowres and hires images now mapped also to the 'global' coordinate system #230
14-
- (Macsima) added support @berombau #224
13+
- (Visium/Visium HD) lowres and hires images now mapped also to the 'global' coordinate system #230
14+
- (Macsima) added support @berombau #224
1515

1616
## [0.1.6] - 2024-11-26
1717

18-
- (MERSCOPE) added `feature_key` attribute for points (i.e., the `'gene'` column) #210
19-
- (Visium HD) get transformation matrices even when only images are parsed #215
20-
- Support for `xarray.DataTree` (which was moved from `datatree.DataTree`) #232
18+
- (MERSCOPE) added `feature_key` attribute for points (i.e., the `'gene'` column) #210
19+
- (Visium HD) get transformation matrices even when only images are parsed #215
20+
- Support for `xarray.DataTree` (which was moved from `datatree.DataTree`) #232
2121

2222
## [0.1.5] - 2024-09-25
2323

2424
### Added
2525

26-
- (Xenium) added `dims` parameter for more control in `xenium_aligned_image()`
26+
- (Xenium) added `dims` parameter for more control in `xenium_aligned_image()`
2727

2828
### Fixed
2929

30-
- Passing `rgb=None` to image model parser for both visium and visiumhd, leading to 3-4 channel images being
31-
interpreted as RGB(A)
32-
- Fix header bug Visium data #200
33-
- (Visium HD) Fix path parsing when images are missing #204 #206
30+
- Passing `rgb=None` to image model parser for both visium and visiumhd, leading to 3-4 channel images being
31+
interpreted as RGB(A)
32+
- Fix header bug Visium data #200
33+
- (Visium HD) Fix path parsing when images are missing #204 #206
3434

3535
## [0.1.4] - 2024-08-07
3636

3737
### Changed
3838

39-
- (Xenium) changed default target of table to labels; radii of circles computed from cells, not nuclei #179
40-
- (Visium HD) changed default geometry to squares from circles for the bins; added parameter to choose #183
41-
- (CosMx) dropping points element with zero-length from the cosmx reader #191
39+
- (Xenium) changed default target of table to labels; radii of circles computed from cells, not nuclei #179
40+
- (Visium HD) changed default geometry to squares from circles for the bins; added parameter to choose #183
41+
- (CosMx) dropping points element with zero-length from the cosmx reader #191
4242

4343
## [0.1.3] - 2024-07-03
4444

4545
### Added
4646

47-
- (Xenium) support reading multi-polygon selection files from the Xenium Explorer
48-
- (ISS) An experimental loader to load elemental ISS data objects, e.g. raw.tif, label.tif and anndata.h5ad
49-
- (Stereo-seq) Added reader @LLehner @timtreis @florianingelfinger #70
50-
- (MERSCOPE) Optional rioxarray backend for MERSCOPE data (reads chunks)
51-
- (MERSCOPE) Can choose which elements should be loaded
47+
- (Xenium) support reading multi-polygon selection files from the Xenium Explorer
48+
- (ISS) An experimental loader to load elemental ISS data objects, e.g. raw.tif, label.tif and anndata.h5ad
49+
- (Stereo-seq) Added reader @LLehner @timtreis @florianingelfinger #70
50+
- (MERSCOPE) Optional rioxarray backend for MERSCOPE data (reads chunks)
51+
- (MERSCOPE) Can choose which elements should be loaded
5252

5353
### Fixed
5454

55-
- (Visium) Fixed issue with joining a SpatialElement with a table due to index values not being unique.
56-
obs_names_make_unique is now called internally to enforce unique index values allowing for join operations.
55+
- (Visium) Fixed issue with joining a SpatialElement with a table due to index values not being unique.
56+
obs_names_make_unique is now called internally to enforce unique index values allowing for join operations.
5757

5858
### Changed
5959

60-
- (MERSCOPE) "global" coordinate system is used as a default instead of "microns"
60+
- (MERSCOPE) "global" coordinate system is used as a default instead of "microns"
6161

6262
## [0.1.2] - 2024-03-30
6363

6464
### Added
6565

66-
- (Visium HD) added reader, coauthored by @LLehner
66+
- (Visium HD) added reader, coauthored by @LLehner
6767

6868
### Fixed
6969

70-
- (Xenium) reader for 1.0.1 (paper data) and unknown versions
71-
- (Xenium) fix in reading "minimalistic" Xenium datasets #132
70+
- (Xenium) reader for 1.0.1 (paper data) and unknown versions
71+
- (Xenium) fix in reading "minimalistic" Xenium datasets #132
7272

7373
## [0.1.1] - 2024-03-24
7474

7575
### Added
7676

77-
- (Xenium) support for post-xenium aligned images (IF, HE)
78-
- (Xenium) reader for the selection coordinates file from the Xenium Explorer
79-
- (Xenium) support for the new Xenium 2.0.0 (multimodal segmentation)
80-
- (Xenium) reading multiscale labels from cells.zarr.zip
81-
- (MCMICRO) support for TMAs (such as the data of exemplar-002)
82-
- (DBiT-seq) reader
83-
- converter functions `experimental.to_legacy_anndata()` and `experimental.from_legacy_anndata()`
84-
- (Visium) support for raw reads (capture locations not under tissue)
77+
- (Xenium) support for post-xenium aligned images (IF, HE)
78+
- (Xenium) reader for the selection coordinates file from the Xenium Explorer
79+
- (Xenium) support for the new Xenium 2.0.0 (multimodal segmentation)
80+
- (Xenium) reading multiscale labels from cells.zarr.zip
81+
- (MCMICRO) support for TMAs (such as the data of exemplar-002)
82+
- (DBiT-seq) reader
83+
- converter functions `experimental.to_legacy_anndata()` and `experimental.from_legacy_anndata()`
84+
- (Visium) support for raw reads (capture locations not under tissue)
8585

8686
### Fixed
8787

88-
- (Xenium) fixed index (fail on write)
89-
- (Xenium) renamed cells_as_shapes to cells_as_circles; set default to True
90-
- (MERSCOPE) don't try to load unexisting elements #87
91-
- (Visium) fixed axes ordering
88+
- (Xenium) fixed index (fail on write)
89+
- (Xenium) renamed cells_as_shapes to cells_as_circles; set default to True
90+
- (MERSCOPE) don't try to load unexisting elements #87
91+
- (Visium) fixed axes ordering
9292

9393
## [0.0.9] - 2023-11-06
9494

9595
### Fixed
9696

97-
- (Xenium) bug when converting feature_name #81, from @fbnrst
98-
- (Visium) visium() supports file counts without dataset_id #91
97+
- (Xenium) bug when converting feature_name #81, from @fbnrst
98+
- (Visium) visium() supports file counts without dataset_id #91
9999

100100
## [0.0.8] - 2023-10-02
101101

102102
### Fixed
103103

104-
- (Xenium) coerce cell id to str #64
105-
- (MERSCOPE) fix coordinate transformation #68
106-
- (MERSCOPE) Improvements/fixes: merscope reader #73
104+
- (Xenium) coerce cell id to str #64
105+
- (MERSCOPE) fix coordinate transformation #68
106+
- (MERSCOPE) Improvements/fixes: merscope reader #73
107107

108108
## [0.0.7] - 2023-07-23
109109

110110
### Fixed
111111

112-
- Bugs in Xenium and MERSCOPE
112+
- Bugs in Xenium and MERSCOPE
113113

114114
## [0.0.5] - 2023-06-21
115115

116116
### Added
117117

118-
- MERFISH reader (from @quentinblampey)
119-
- CODEX reader (from @LLehner)
118+
- MERFISH reader (from @quentinblampey)
119+
- CODEX reader (from @LLehner)
120120

121121
### Fixed
122122

123-
- Issues on Visium reader (thanks @ilia-kats) and Xenium reader
123+
- Issues on Visium reader (thanks @ilia-kats) and Xenium reader
124124

125125
## [0.0.4] - 2023-05-23
126126

127127
### Added
128128

129-
- Curio reader
129+
- Curio reader
130130

131131
## [0.0.3] - 2023-05-22
132132

133133
### Merged
134134

135-
- Merge pull request #40 from scverse/fix/categories
135+
- Merge pull request #40 from scverse/fix/categories
136136

137137
## [0.0.2] - 2023-05-04
138138

139139
### Changed
140140

141-
- Revert version regex (#37)
141+
- Revert version regex (#37)
142142

143143
## [0.0.1] - 2023-05-04
144144

145145
### Tested
146146

147-
- Test installation from pypi
147+
- Test installation from pypi

README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,27 @@
1212

1313
This package contains reader functions to load common spatial omics formats into SpatialData. Currently, we provide support for:
1414

15-
- 10x Genomics Visium®
16-
- 10x Genomics Visium HD®
17-
- 10x Genomics Xenium®
18-
- Akoya PhenoCycler® (formerly CODEX®)
19-
- Curio Seeker®
20-
- DBiT-seq
21-
- MCMICRO (output data)
22-
- NanoString CosMx®
23-
- Spatial Genomics GenePS® (seqFISH)
24-
- Steinbock (output data)
25-
- STOmics Stereo-seq®
26-
- Vizgen MERSCOPE® (MERFISH)
27-
- MACSima® (MACS® iQ View output)
15+
- 10x Genomics Visium®
16+
- 10x Genomics Visium HD®
17+
- 10x Genomics Xenium®
18+
- Akoya PhenoCycler® (formerly CODEX®)
19+
- Curio Seeker®
20+
- DBiT-seq
21+
- MCMICRO (output data)
22+
- NanoString CosMx®
23+
- Spatial Genomics GenePS® (seqFISH)
24+
- Steinbock (output data)
25+
- STOmics Stereo-seq®
26+
- Vizgen MERSCOPE® (MERFISH)
27+
- MACSima® (MACS® iQ View output)
2828

2929
Note: all mentioned technologies are registered trademarks of their respective companies.
3030

3131
## Known limitations
3232

3333
Contributions for addressing the below limitations are very welcomed.
3434

35-
- Only Stereo-seq 7.x is supported, 8.x is not currently supported. https://github.com/scverse/spatialdata-io/issues/161
35+
- Only Stereo-seq 7.x is supported, 8.x is not currently supported. https://github.com/scverse/spatialdata-io/issues/161
3636

3737
### How to Contribute
3838

@@ -46,7 +46,7 @@ Contributions for addressing the below limitations are very welcomed.
4646

4747
Please refer to the [documentation][link-docs]. In particular, the
4848

49-
- [API documentation][link-api].
49+
- [API documentation][link-api].
5050

5151
## Installation
5252

@@ -76,10 +76,10 @@ If you found a bug, please use the [issue tracker][issue-tracker].
7676

7777
Technologies that can be read into `SpatialData` objects using third-party libraries:
7878

79-
- METASPACE (MALDI, ...): [metaspace-converter](https://github.com/metaspace2020/metaspace-converter)
80-
- PhenoCycler®: [SOPA](https://github.com/gustaveroussy/sopa)
81-
- MACSima®: [SOPA](https://github.com/gustaveroussy/sopa)
82-
- Hyperion® (Imaging Mass Cytometry): [SOPA](https://github.com/gustaveroussy/sopa)
79+
- METASPACE (MALDI, ...): [metaspace-converter](https://github.com/metaspace2020/metaspace-converter)
80+
- PhenoCycler®: [SOPA](https://github.com/gustaveroussy/sopa)
81+
- MACSima®: [SOPA](https://github.com/gustaveroussy/sopa)
82+
- Hyperion® (Imaging Mass Cytometry): [SOPA](https://github.com/gustaveroussy/sopa)
8383

8484
## Disclaimer
8585

docs/contributing.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ in the cookiecutter-scverse template.
138138

139139
Please write documentation for new or changed features and use-cases. This project uses [sphinx][] with the following features:
140140

141-
- the [myst][] extension allows to write documentation in markdown/Markedly Structured Text
142-
- [Numpy-style docstrings][numpydoc] (through the [napoloen][numpydoc-napoleon] extension).
143-
- Jupyter notebooks as tutorials through [myst-nb][] (See [Tutorials with myst-nb](#tutorials-with-myst-nb-and-jupyter-notebooks))
144-
- [Sphinx autodoc typehints][], to automatically reference annotated input and output types
141+
- the [myst][] extension allows to write documentation in markdown/Markedly Structured Text
142+
- [Numpy-style docstrings][numpydoc] (through the [napoloen][numpydoc-napoleon] extension).
143+
- Jupyter notebooks as tutorials through [myst-nb][] (See [Tutorials with myst-nb](#tutorials-with-myst-nb-and-jupyter-notebooks))
144+
- [Sphinx autodoc typehints][], to automatically reference annotated input and output types
145145

146146
See the [scanpy developer docs](https://scanpy.readthedocs.io/en/latest/dev/documentation.html) for more information
147147
on how to write documentation.
@@ -158,10 +158,10 @@ repository.
158158

159159
#### Hints
160160

161-
- If you refer to objects from other packages, please add an entry to `intersphinx_mapping` in `docs/conf.py`. Only
162-
if you do so can sphinx automatically create a link to the external documentation.
163-
- If building the documentation fails because of a missing link that is outside your control, you can add an entry to
164-
the `nitpick_ignore` list in `docs/conf.py`
161+
- If you refer to objects from other packages, please add an entry to `intersphinx_mapping` in `docs/conf.py`. Only
162+
if you do so can sphinx automatically create a link to the external documentation.
163+
- If building the documentation fails because of a missing link that is outside your control, you can add an entry to
164+
the `nitpick_ignore` list in `docs/conf.py`
165165

166166
#### Building the docs locally
167167

0 commit comments

Comments
 (0)