btd2026 commited on
Commit
362d677
·
1 Parent(s): fcb69dc

Upload croissant.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. croissant.json +242 -0
croissant.json ADDED
@@ -0,0 +1,242 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "@context": {
3
+ "@language": "en",
4
+ "@vocab": "http://schema.org/",
5
+ "sc": "http://schema.org/",
6
+ "cr": "http://mlcommons.org/croissant/",
7
+ "rai": "http://mlcommons.org/croissant/RAI/",
8
+ "dct": "http://purl.org/dc/terms/",
9
+ "annotation": "cr:annotation",
10
+ "conformsTo": "dct:conformsTo",
11
+ "containedIn": "cr:containedIn",
12
+ "data": {"@id": "cr:data", "@type": "@json"},
13
+ "dataType": {"@id": "cr:dataType", "@type": "@vocab"},
14
+ "field": "cr:field",
15
+ "fileObject": "cr:fileObject",
16
+ "fileSet": "cr:fileSet",
17
+ "recordSet": "cr:recordSet",
18
+ "source": "cr:source",
19
+ "subField": "cr:subField"
20
+ },
21
+ "@type": "sc:Dataset",
22
+ "name": "scShapeBench",
23
+ "description": "A benchmark dataset for single-cell shape analysis containing 2,547,517 cells across 105 real-world single-cell RNA-seq datasets stored in AnnData (.h5ad) format with precomputed PCA embeddings and Leiden clustering.",
24
+ "url": "https://huggingface.co/datasets/scShape-Benchmark/scShapeBench",
25
+ "conformsTo": "http://mlcommons.org/croissant/1.1",
26
+ "datePublished": "2026-05-05",
27
+ "keywords": ["single-cell", "RNA-seq", "scRNA-seq", "h5ad", "AnnData", "genomics", "benchmark", "shape-analysis"],
28
+
29
+ "distribution": [
30
+ {
31
+ "@type": "cr:FileSet",
32
+ "@id": "h5ad-files",
33
+ "name": "h5ad-files",
34
+ "description": "AnnData files containing single-cell gene expression data with PCA embeddings and Leiden clustering",
35
+ "containedIn": {"@id": "data-directory"},
36
+ "includes": "SCD-*.h5ad",
37
+ "encodingFormat": "application/x-hdf5"
38
+ },
39
+ {
40
+ "@type": "cr:FileObject",
41
+ "@id": "data-directory",
42
+ "name": "data-directory",
43
+ "description": "Directory containing all AnnData data files",
44
+ "contentUrl": "data/",
45
+ "encodingFormat": "application/x-directory"
46
+ },
47
+ {
48
+ "@type": "cr:FileObject",
49
+ "@id": "cell-metadata-csv",
50
+ "name": "cell_metadata.csv",
51
+ "description": "Combined cell-level metadata from all datasets: number of genes detected, Leiden cluster assignment, and source file identifier",
52
+ "contentUrl": "cell_metadata.csv",
53
+ "encodingFormat": "text/csv"
54
+ },
55
+ {
56
+ "@type": "cr:FileObject",
57
+ "@id": "gene-metadata-csv",
58
+ "name": "gene_metadata.csv",
59
+ "description": "Combined gene-level metadata from all datasets: gene IDs, feature types, dispersion statistics, and highly-variable flags",
60
+ "contentUrl": "gene_metadata.csv",
61
+ "encodingFormat": "text/csv"
62
+ },
63
+ {
64
+ "@type": "cr:FileObject",
65
+ "@id": "dataset-index-csv",
66
+ "name": "dataset_index.csv",
67
+ "description": "Per-file summary statistics: number of cells, number of genes, and file size",
68
+ "contentUrl": "dataset_index.csv",
69
+ "encodingFormat": "text/csv"
70
+ }
71
+ ],
72
+
73
+ "recordSet": [
74
+ {
75
+ "@type": "cr:RecordSet",
76
+ "name": "dataset_index",
77
+ "description": "Summary statistics for each of the 105 single-cell datasets in the benchmark",
78
+ "field": [
79
+ {
80
+ "@type": "cr:Field",
81
+ "name": "file_id",
82
+ "description": "Dataset identifier (e.g., SCD-0001)",
83
+ "dataType": "sc:Text",
84
+ "source": {
85
+ "fileObject": {"@id": "dataset-index-csv"},
86
+ "extract": {"column": "file_id"}
87
+ }
88
+ },
89
+ {
90
+ "@type": "cr:Field",
91
+ "name": "filename",
92
+ "description": "Filename of the h5ad file",
93
+ "dataType": "sc:Text",
94
+ "source": {
95
+ "fileObject": {"@id": "dataset-index-csv"},
96
+ "extract": {"column": "filename"}
97
+ }
98
+ },
99
+ {
100
+ "@type": "cr:Field",
101
+ "name": "n_cells",
102
+ "description": "Number of cells in the dataset",
103
+ "dataType": "sc:Integer",
104
+ "source": {
105
+ "fileObject": {"@id": "dataset-index-csv"},
106
+ "extract": {"column": "n_cells"}
107
+ }
108
+ },
109
+ {
110
+ "@type": "cr:Field",
111
+ "name": "n_genes",
112
+ "description": "Number of genes in the dataset",
113
+ "dataType": "sc:Integer",
114
+ "source": {
115
+ "fileObject": {"@id": "dataset-index-csv"},
116
+ "extract": {"column": "n_genes"}
117
+ }
118
+ },
119
+ {
120
+ "@type": "cr:Field",
121
+ "name": "file_size_bytes",
122
+ "description": "File size in bytes",
123
+ "dataType": "sc:Integer",
124
+ "source": {
125
+ "fileObject": {"@id": "dataset-index-csv"},
126
+ "extract": {"column": "file_size_bytes"}
127
+ }
128
+ }
129
+ ]
130
+ },
131
+ {
132
+ "@type": "cr:RecordSet",
133
+ "name": "cell_metadata",
134
+ "description": "Cell-level metadata across all 2,547,517 cells in the benchmark",
135
+ "field": [
136
+ {
137
+ "@type": "cr:Field",
138
+ "name": "cell_barcode",
139
+ "description": "Unique cell barcode identifier",
140
+ "dataType": "sc:Text",
141
+ "source": {
142
+ "fileObject": {"@id": "cell-metadata-csv"},
143
+ "extract": {"column": "cell_barcode"}
144
+ }
145
+ },
146
+ {
147
+ "@type": "cr:Field",
148
+ "name": "n_genes",
149
+ "description": "Number of genes detected in the cell",
150
+ "dataType": "sc:Integer",
151
+ "source": {
152
+ "fileObject": {"@id": "cell-metadata-csv"},
153
+ "extract": {"column": "n_genes"}
154
+ }
155
+ },
156
+ {
157
+ "@type": "cr:Field",
158
+ "name": "file_id",
159
+ "description": "Source dataset identifier (foreign key to dataset_index.file_id)",
160
+ "dataType": "sc:Text",
161
+ "source": {
162
+ "fileObject": {"@id": "cell-metadata-csv"},
163
+ "extract": {"column": "file_id"}
164
+ },
165
+ "references": {
166
+ "field": {"@id": "dataset_index/file_id"}
167
+ }
168
+ }
169
+ ]
170
+ },
171
+ {
172
+ "@type": "cr:RecordSet",
173
+ "name": "gene_metadata",
174
+ "description": "Gene-level metadata across all datasets including IDs, dispersion statistics, and highly-variable flags",
175
+ "field": [
176
+ {
177
+ "@type": "cr:Field",
178
+ "name": "gene_index",
179
+ "description": "Gene identifier (Ensembl ID or symbol)",
180
+ "dataType": "sc:Text",
181
+ "source": {
182
+ "fileObject": {"@id": "gene-metadata-csv"},
183
+ "extract": {"column": "gene_index"}
184
+ }
185
+ },
186
+ {
187
+ "@type": "cr:Field",
188
+ "name": "gene_ids",
189
+ "description": "Ensembl gene identifier",
190
+ "dataType": "sc:Text",
191
+ "source": {
192
+ "fileObject": {"@id": "gene-metadata-csv"},
193
+ "extract": {"column": "gene_ids"}
194
+ }
195
+ },
196
+ {
197
+ "@type": "cr:Field",
198
+ "name": "highly_variable",
199
+ "description": "Whether the gene is flagged as highly variable",
200
+ "dataType": "sc:Boolean",
201
+ "source": {
202
+ "fileObject": {"@id": "gene-metadata-csv"},
203
+ "extract": {"column": "highly_variable"}
204
+ }
205
+ },
206
+ {
207
+ "@type": "cr:Field",
208
+ "name": "means",
209
+ "description": "Mean expression level",
210
+ "dataType": "sc:Float",
211
+ "source": {
212
+ "fileObject": {"@id": "gene-metadata-csv"},
213
+ "extract": {"column": "means"}
214
+ }
215
+ },
216
+ {
217
+ "@type": "cr:Field",
218
+ "name": "n_cells",
219
+ "description": "Number of cells expressing this gene",
220
+ "dataType": "sc:Integer",
221
+ "source": {
222
+ "fileObject": {"@id": "gene-metadata-csv"},
223
+ "extract": {"column": "n_cells"}
224
+ }
225
+ },
226
+ {
227
+ "@type": "cr:Field",
228
+ "name": "file_id",
229
+ "description": "Source dataset identifier (foreign key to dataset_index.file_id)",
230
+ "dataType": "sc:Text",
231
+ "source": {
232
+ "fileObject": {"@id": "gene-metadata-csv"},
233
+ "extract": {"column": "file_id"}
234
+ },
235
+ "references": {
236
+ "field": {"@id": "dataset_index/file_id"}
237
+ }
238
+ }
239
+ ]
240
+ }
241
+ ]
242
+ }