Update README.md
Browse files
README.md
CHANGED
@@ -1,17 +1,46 @@
|
|
1 |
---
|
2 |
license: cc-by-4.0
|
3 |
---
|
|
|
4 |
This is the first variant of the GC-EI-MS synthetic dataset generated by NEIMS and RASSP models from 4.8 million structures downloaded from ZINC.
|
5 |
-
The overlap with version 2 is approximately 8k structures (negligible), so it's usable as an extension to synth2.
|
|
|
6 |
|
7 |
For generating this dataset, we used the original NEIMS model downloaded from the official [NEIMS] repository. Since the [RASSP] model is not publicly available,
|
8 |
we trained our own.
|
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
## Dataset choice
|
11 |
If you're choosing between synth1 and synth2 (and don't need both), choose synth2. Its origin is better documented, custom-NEIMS spectra are of better quality
|
12 |
and the NIST train sets for training the NEIMS and RASSP models (that generated synth2) are identical. Plus we make the NIST splits available in our [GitHub repository] (#TODO))
|
13 |
|
14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
[NEIMS]: https://github.com/brain-research/deep-molecular-massspec
|
16 |
[RASSP]: https://github.com/thejonaslab/rassp-public
|
17 |
[GitHub repository]: TODO
|
|
|
1 |
---
|
2 |
license: cc-by-4.0
|
3 |
---
|
4 |
+
# # Synthetic mass spectra dataset No. 1
|
5 |
This is the first variant of the GC-EI-MS synthetic dataset generated by NEIMS and RASSP models from 4.8 million structures downloaded from ZINC.
|
6 |
+
The overlap with version 2 is approximately 8k structures (negligible), so it's usable as an extension to synth2. If you're choosing between synth1
|
7 |
+
and synth2, see section Dataset choice.
|
8 |
|
9 |
For generating this dataset, we used the original NEIMS model downloaded from the official [NEIMS] repository. Since the [RASSP] model is not publicly available,
|
10 |
we trained our own.
|
11 |
|
12 |
+
## Dataset creation
|
13 |
+
|
14 |
+
To uniformly cover the chemical space, we first scraped 1.8 billion SMILES strings from the ZINC20 library using the 2D-standard-annotated-druglike query.
|
15 |
+
From this dataset, we extracted a random sample of 30 million noncorrupted SMILES strings shorter than 100 characters. Further, we canonicalized, deduplicated,
|
16 |
+
and stripped the SMILES of stereochemical information, as stereochemistry is not reliably translated into spectra and cannot be accurately detected.
|
17 |
+
Additionally, we removed all NIST 20 compounds to prevent data leakage during the testing of our trained model in the future.
|
18 |
+
|
19 |
+
To evaluate the impact of RASSP and NEIMS respective spectrum prediction capabilities on SpecTUS performance, we created two identical sets of spectra generated
|
20 |
+
by each model. RASSP's strict input filters reduced the dataset to approximately 4.8 million compounds. In total, the pretraining datasets comprises 4.8 million
|
21 |
+
unique compounds and 9.6 million unique spectra.
|
22 |
+
|
23 |
+
Lastly, we split each synthetic dataset into training, validation, and test sets using a 0.9:0.05:0.05 ratio. The splitting process was random, but corresponding splits
|
24 |
+
(training, validation, and test sets) for the NEIMS and RASSP-generated spectra contained the same compounds. Each training set contained 4.3 million spectra, while the
|
25 |
+
validation and test sets each consisted of \numprint{240000} spectra.
|
26 |
+
|
27 |
+
|
28 |
## Dataset choice
|
29 |
If you're choosing between synth1 and synth2 (and don't need both), choose synth2. Its origin is better documented, custom-NEIMS spectra are of better quality
|
30 |
and the NIST train sets for training the NEIMS and RASSP models (that generated synth2) are identical. Plus we make the NIST splits available in our [GitHub repository] (#TODO))
|
31 |
|
32 |
|
33 |
+
## Data format
|
34 |
+
|
35 |
+
Each line of every file is a `json` comprising three items:
|
36 |
+
|
37 |
+
```text
|
38 |
+
{"intensity":[0.01,0.08,0.06,0.05 ... 0.02,0.79,0.34,0.12],
|
39 |
+
"mz":[18,27,28,29,38,39,40,41,42,43, ... 202,203,270,271,272,299,300,301],
|
40 |
+
"smiles":"CCC(C)C1CCCCN1C(=O)CNc1cccc(C#N)c1"}
|
41 |
+
```
|
42 |
+
|
43 |
+
|
44 |
[NEIMS]: https://github.com/brain-research/deep-molecular-massspec
|
45 |
[RASSP]: https://github.com/thejonaslab/rassp-public
|
46 |
[GitHub repository]: TODO
|