bilalsm commited on
Commit
9ad5f60
·
verified ·
1 Parent(s): 3a23592

Upload data: README.md

Browse files
Files changed (1) hide show
  1. README.md +90 -0
README.md ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-nd-4.0
3
+ task_categories:
4
+ - other
5
+ tags:
6
+ - chemistry
7
+ - mass-spectrometry
8
+ - DOM
9
+ - formula-assignment
10
+ - knn
11
+ - dissolved-organic-matter
12
+ - molecular-formula
13
+ pretty_name: DOM Formula Assignment Dataset
14
+ size_categories:
15
+ - n<1K
16
+ ---
17
+
18
+ # DOM Formula Assignment Dataset
19
+
20
+ [![GitHub](https://img.shields.io/badge/GitHub-pcdslab/dom--formula--assignment--using--ml-blue?logo=github)](https://github.com/pcdslab/dom-formula-assignment-using-ml)
21
+
22
+ **Training and Testing Data for A Machine Learning and Benchmarking Approach for Molecular Formula Assignment of Ultra High-Resolution Mass Spectrometry Data from Complex Mixtures**
23
+
24
+ > **Paper**: Under review
25
+
26
+ ---
27
+
28
+ ## Abstract
29
+
30
+ A machine learning approach to molecular formula assignment is crucial for unlocking the full potential of ultra-high resolution mass spectrometry (UHRMS) when analyzing complex mixtures. By combining data-driven models with rigorous benchmarking, the accuracy, consistency, and speed in identifying plausible molecular formulas from vast spectral datasets can be improved. Compared with traditional de novo methods that rely heavily on rule-based heuristics, and manual parameter tuning, machine learning approaches can capture complex patterns in data and adapt more readily to diverse sample types. In this paper, we describe the application of a machine learning methods using the k-nearest neighbors (KNN) algorithm trained on curated chemical formula datasets of UHRMS analysis of dissolved organic matter (DOM) covering the saline river continuum and tropical wet/dry season variability. The influence of the mass accuracy (training set with 0.15-1ppm) was evaluated on a blind test set of DOMs of different geographical origins. A Decision Tree Regressor (DTR) and Random Forest Regressor (RFR) based on mass accuracy (<1ppm) was used. Results from our ML models exhibit 43% more formulas annotated than traditional methods (5796 vs 4047), Model-Synthetic achieved 99.9% assignment rate and annotated/assigned 2x more formulas (8,268 vs 4047). DTR and RFR achieved formula-level accuracies (FA) of 86.5% and 60.4%, respectively. Overall, results show an increase in formula assignment when compared with traditional methods. This ultimately enables more reliable characterization of complex natural and engineered systems, supporting advances in fields such as environmental science, metabolomics, and petroleomics. Furthermore, the novel data set produced for this study is made publicly available, establishing an initial benchmark for molecular formula assignment in UHRMS using machine learning. The dataset and code are publicly available at: https://github.com/pcdslab/dom-formula-assignment-using-ml
31
+
32
+ ---
33
+
34
+ ## Data
35
+ The data is organized into the following folders and files: The L1 is the data from the 7T with mass resolution of 1 PPM, L2 is the data from the 9.4T instrument with mass resolution of 0.2-0.4 PPM, and L3 is the data from 21T with mass resolution of 0.15 PPM. The synthetic_data folder contains synthetically generated formulas for training.
36
+
37
+ * readme.txt
38
+ * train.txt (L1 with Mobility Features)
39
+ * test.txt (L2-v2 with Mobility Features)
40
+ * DOM_testing_set (L2)
41
+ * DOM_testing_set_Peaklists (L2-Peaklists)
42
+ * DOM_training_set_ver2 (L1)
43
+ * DOM_training_set_ver3 (L3)
44
+
45
+
46
+ ### Loading the Dataset
47
+
48
+ ```python
49
+ from huggingface_hub import hf_hub_download
50
+ import pandas as pd
51
+
52
+ # Download a specific training file
53
+ file_path = hf_hub_download(
54
+ repo_id="SaeedLab/dom-formula-assignment-data",
55
+ filename="",
56
+ repo_type="dataset"
57
+ )
58
+
59
+
60
+ ### Download Entire Dataset
61
+
62
+ ```python
63
+ from huggingface_hub import snapshot_download
64
+
65
+ # Download all data
66
+ data_path = snapshot_download(
67
+ repo_id="SaeedLab/dom-formula-assignment-data",
68
+ repo_type="dataset"
69
+ )
70
+ print(f"Dataset downloaded to: {data_path}")
71
+ ```
72
+
73
+ ---
74
+
75
+ ## License
76
+
77
+ This model and associated code are released under the CC-BY-NC-ND 4.0 license and may only be used for non-commercial, academic research purposes with proper attribution. Any commercial use, sale, or other monetization of this model and its derivatives, which include models trained on outputs from the model or datasets created from the model, is prohibited and requires prior approval. Downloading the model requires prior registration on Hugging Face and agreeing to the terms of use. By downloading this model, you agree not to distribute, publish or reproduce a copy of the model. If another user within your organization wishes to use the model, they must register as an individual user and agree to comply with the terms of use. Users may not attempt to re-identify the deidentified data used to develop the underlying model. If you are a commercial entity, please contact the corresponding author.
78
+
79
+ ---
80
+
81
+ ## Contact
82
+
83
+ For any additional questions or comments, contact Fahad Saeed (fsaeed@fiu.edu).
84
+
85
+ ---
86
+
87
+ ## Related Resources
88
+
89
+ - **Model Repository**: [SaeedLab/dom-formula-assignment-using-knn](https://huggingface.co/SaeedLab/dom-formula-assignment-using-knn)
90
+ - **GitHub Repository**: [pcdslab/dom-formula-assignment-using-ml](https://github.com/pcdslab/dom-formula-assignment-using-ml)