chrisagrams commited on
Commit
5ec1b6a
·
verified ·
1 Parent(s): ab93432

Upload croissant.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. croissant.json +155 -0
croissant.json ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "@context": {
3
+ "@language": "en",
4
+ "@vocab": "https://schema.org/",
5
+ "ml": "http://mlcommons.org/croissant/",
6
+ "sc": "https://schema.org/",
7
+ "column": "ml:field",
8
+ "data": {
9
+ "@id": "ml:data",
10
+ "@type": "@json"
11
+ },
12
+ "dataType": {
13
+ "@id": "ml:dataType",
14
+ "@type": "@vocab"
15
+ },
16
+ "source": "ml:source",
17
+ "extract": "ml:extract",
18
+ "transform": "ml:transform"
19
+ },
20
+ "@type": "sc:Dataset",
21
+ "name": "My MSZ Dataset",
22
+ "description": "A dataset containing mass spectrometry data in MSZ format.",
23
+ "url": "https://huggingface.co/datasets/chrisagrams/mscompress-test",
24
+ "license": "unknown",
25
+ "distribution": [
26
+ {
27
+ "@type": "sc:FileObject",
28
+ "name": "msz-files",
29
+ "contentUrl": "https://huggingface.co/datasets/chrisagrams/mscompress-test/resolve/main/data/",
30
+ "encodingFormat": "application/octet-stream",
31
+ "sha256": "unknown"
32
+ }
33
+ ],
34
+ "recordSet": [
35
+ {
36
+ "@type": "ml:RecordSet",
37
+ "name": "mass_spectra",
38
+ "description": "Mass spectrometry spectra with m/z and intensity data",
39
+ "field": [
40
+ {
41
+ "@type": "ml:Field",
42
+ "name": "source_file",
43
+ "description": "Name of the source MSZ file",
44
+ "dataType": "sc:Text",
45
+ "source": {
46
+ "fileObject": "msz-files",
47
+ "extract": {
48
+ "column": "source_file"
49
+ }
50
+ }
51
+ },
52
+ {
53
+ "@type": "ml:Field",
54
+ "name": "spectrum_index",
55
+ "description": "Zero-based index of the spectrum within the file",
56
+ "dataType": "sc:Integer",
57
+ "source": {
58
+ "fileObject": "msz-files",
59
+ "extract": {
60
+ "column": "spectrum_index"
61
+ }
62
+ }
63
+ },
64
+ {
65
+ "@type": "ml:Field",
66
+ "name": "scan_number",
67
+ "description": "Scan number from the mass spectrometry instrument",
68
+ "dataType": "sc:Integer",
69
+ "source": {
70
+ "fileObject": "msz-files",
71
+ "extract": {
72
+ "column": "scan_number"
73
+ }
74
+ }
75
+ },
76
+ {
77
+ "@type": "ml:Field",
78
+ "name": "ms_level",
79
+ "description": "MS level (1 for MS1, 2 for MS2/MS3, etc.)",
80
+ "dataType": "sc:Integer",
81
+ "source": {
82
+ "fileObject": "msz-files",
83
+ "extract": {
84
+ "column": "ms_level"
85
+ }
86
+ }
87
+ },
88
+ {
89
+ "@type": "ml:Field",
90
+ "name": "retention_time",
91
+ "description": "Retention time in seconds",
92
+ "dataType": "sc:Float",
93
+ "source": {
94
+ "fileObject": "msz-files",
95
+ "extract": {
96
+ "column": "retention_time"
97
+ }
98
+ }
99
+ },
100
+ {
101
+ "@type": "ml:Field",
102
+ "name": "num_peaks",
103
+ "description": "Number of m/z-intensity pairs in the spectrum",
104
+ "dataType": "sc:Integer",
105
+ "source": {
106
+ "fileObject": "msz-files",
107
+ "extract": {
108
+ "column": "num_peaks"
109
+ }
110
+ }
111
+ },
112
+ {
113
+ "@type": "ml:Field",
114
+ "name": "mz",
115
+ "description": "Array of mass-to-charge ratio (m/z) values",
116
+ "dataType": [
117
+ "sc:Float"
118
+ ],
119
+ "source": {
120
+ "fileObject": "msz-files",
121
+ "extract": {
122
+ "column": "mz"
123
+ }
124
+ }
125
+ },
126
+ {
127
+ "@type": "ml:Field",
128
+ "name": "intensity",
129
+ "description": "Array of intensity values corresponding to m/z values",
130
+ "dataType": [
131
+ "sc:Float"
132
+ ],
133
+ "source": {
134
+ "fileObject": "msz-files",
135
+ "extract": {
136
+ "column": "intensity"
137
+ }
138
+ }
139
+ }
140
+ ]
141
+ }
142
+ ],
143
+ "ml:dataCollection": {
144
+ "@type": "ml:DataCollection",
145
+ "ml:datasetSize": "50 spectra",
146
+ "ml:dataType": "mass spectrometry data",
147
+ "ml:format": "MSZ (compressed mzML)"
148
+ },
149
+ "ml:compressionInfo": {
150
+ "format": "MSZ",
151
+ "mz_compression": "1000523",
152
+ "intensity_compression": "1000523",
153
+ "supports_random_access": true
154
+ }
155
+ }