OME-TIFF Example File

#10
by srivarra - opened
ark_example.py CHANGED
@@ -65,7 +65,8 @@ _URL_DATA = {
65
  "example_pixel_output_dir": "./data/pixie/example_pixel_output_dir.zip",
66
  "example_cell_output_dir": "./data/pixie/example_cell_output_dir.zip",
67
  "spatial_lda": "./data/spatial_analysis/spatial_lda.zip",
68
- "post_clustering": "./data/post_clustering.zip"
 
69
  }
70
 
71
  _URL_DATASET_CONFIGS = {
@@ -109,7 +110,10 @@ _URL_DATASET_CONFIGS = {
109
  "cell_table": _URL_DATA["cell_table"],
110
  "deepcell_output": _URL_DATA["deepcell_output"],
111
  "post_clustering": _URL_DATA["post_clustering"],
112
- }
 
 
 
113
  }
114
 
115
 
@@ -117,7 +121,7 @@ _URL_DATASET_CONFIGS = {
117
  class ArkExample(datasets.GeneratorBasedBuilder):
118
  """The Dataset consists of 11 FOVs"""
119
 
120
- VERSION = datasets.Version("0.0.4")
121
 
122
  # You will be able to load one or the other configurations in the following list with
123
  BUILDER_CONFIGS = [
@@ -165,22 +169,17 @@ class ArkExample(datasets.GeneratorBasedBuilder):
165
  name="pairwise_spatial_enrichment",
166
  version=VERSION,
167
  description="This configuration contains data used by the Pairwise Spatial Enrichment Notebook."
 
 
 
 
 
168
  )
169
  ]
170
 
171
  def _info(self):
172
  # This is the name of the configuration selected in BUILDER_CONFIGS above
173
- if self.config.name in [
174
- "segment_image_data",
175
- "cluster_pixels",
176
- "cluster_cells",
177
- "post_clustering",
178
- "fiber_segmentation",
179
- "LDA_preprocessing",
180
- "LDA_training_inference",
181
- "neighborhood_analysis",
182
- "pairwise_spatial_enrichment",
183
- ]:
184
  features = datasets.Features(
185
  {f: datasets.Value("string") for f in _URL_DATASET_CONFIGS[self.config.name].keys()}
186
  )
 
65
  "example_pixel_output_dir": "./data/pixie/example_pixel_output_dir.zip",
66
  "example_cell_output_dir": "./data/pixie/example_cell_output_dir.zip",
67
  "spatial_lda": "./data/spatial_analysis/spatial_lda.zip",
68
+ "post_clustering": "./data/post_clustering.zip",
69
+ "ome_tiff": "./data/ome_tiff.zip",
70
  }
71
 
72
  _URL_DATASET_CONFIGS = {
 
110
  "cell_table": _URL_DATA["cell_table"],
111
  "deepcell_output": _URL_DATA["deepcell_output"],
112
  "post_clustering": _URL_DATA["post_clustering"],
113
+ },
114
+ "ome_tiff": {
115
+ "ome_tiff": _URL_DATA["ome_tiff"],
116
+ },
117
  }
118
 
119
 
 
121
  class ArkExample(datasets.GeneratorBasedBuilder):
122
  """The Dataset consists of 11 FOVs"""
123
 
124
+ VERSION = datasets.Version("0.0.5")
125
 
126
  # You will be able to load one or the other configurations in the following list with
127
  BUILDER_CONFIGS = [
 
169
  name="pairwise_spatial_enrichment",
170
  version=VERSION,
171
  description="This configuration contains data used by the Pairwise Spatial Enrichment Notebook."
172
+ ),
173
+ datasets.BuilderConfig(
174
+ name="ome_tiff",
175
+ version=VERSION,
176
+ description="This configuration contains an OME-TIFF format of FOV1. Intended to be used with the OME-TIFF Conversion Notebook."
177
  )
178
  ]
179
 
180
  def _info(self):
181
  # This is the name of the configuration selected in BUILDER_CONFIGS above
182
+ if self.config.name in list(_URL_DATASET_CONFIGS.keys()):
 
 
 
 
 
 
 
 
 
 
183
  features = datasets.Features(
184
  {f: datasets.Value("string") for f in _URL_DATASET_CONFIGS[self.config.name].keys()}
185
  )
data/image_data.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8aeaa113900f5067f2cef3d5533c3c0b6ae5538dd86f952193b6271135c0e2a0
3
- size 400230929
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d1f29e53a40bb162e795f68906095131d88647f70a6e080ca3bac749a3f6174
3
+ size 373529148
data/ome_tiff.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82d3278f7d3e27e128f3ec3607934b933f68e3a3aab1298ce1e6dc5d0cf402e2
3
+ size 37043244
data/pixie/example_cell_output_dir.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4db7ebdd0aa88371ce348a4a5c5f851077cb3bffa1289c014173a0f1492c0006
3
- size 86425942
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc349ee903cad26027b57eb7437bc8a102ef82b6de1a72cfd98f71894b95132f
3
+ size 2873164
data/pixie/example_pixel_output_dir.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:046c4bce17e05ead398fcb876a53afbfef9d5ce317b503e97be3301c237656c7
3
- size 1494869638
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52ba294101b827288bc0ceb2575dad63149989798bed91efe6f9c33541185436
3
+ size 1384925341
data/post_clustering.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8789fa2529451fdc8b452514453e2e790fcf8423ccc88d203c367541d87ce10e
3
- size 9720247
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d969d298c2a42130f17955b13f5b1b2c1e8687c180e1e27ce9205bc9ea8d33a1
3
+ size 9209730
data/segmentation/cell_table.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:82b8d88726130899575f97636539f601f0dedcead4b167cfc3a17964a9f4d76c
3
- size 15162294
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4be2617f5ac13fc27a70ee949578d985fa03721df1f508d697a0d9404ff8c18
3
+ size 14370520
data/segmentation/deepcell_output.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0c9907494ba141429dfa21350cdfb8d043e7e19ba9b213ad1b03cb28fc5a0d58
3
- size 1552324
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92c1bf023c58187264d31848addb602d8aeb7f7545ef0fa370c73a5f35325a15
3
+ size 1571004
data/spatial_analysis/spatial_lda.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7028b6b132fa51eee9ebb99f9f79106e9a6f1505cd92604cc1a6dce6f99aee7a
3
- size 3486371
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb7bdab9c054d4fff8504c51e9b185e02a8cc13e15287bafdee2fbb7ddcd66b4
3
+ size 3296785