morgul10 commited on
Commit
672ec45
·
verified ·
1 Parent(s): 907d9e2

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +92 -0
README.md ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - chemistry
4
+ - medical
5
+ - biology
6
+ language:
7
+ - en
8
+ pretty_name: MolPILE dataset
9
+ size_categories:
10
+ - 100M<n<1B
11
+ ---
12
+ # MolPILE dataset
13
+
14
+ // link to preprint
15
+
16
+ ## Description
17
+
18
+ MolPILE is a large-scale molecular dataset designed for pretraining and evaluating machine learning models in cheminformatics.
19
+ It is compiled from several major chemical databases: UniChem, PubChem, Mcule, ChemSpace, SuperNatural3, and COCONUT. Workflow
20
+ included preprocessing, standardization, and feasibility filtering of molecules.
21
+
22
+ ## Data dictionary
23
+
24
+ - `source` column
25
+
26
+ Source dataset identifier. Combined with `id` column, it provides full traceability to the original data entry.
27
+
28
+ Possible values: `PubChem`, `UniChem`, `Mcule`, `ChemSpace`, `SuperNatural3`, `COCONUT`
29
+
30
+ - `id`
31
+
32
+ A unique identifier for the molecule, retained from its source database (e.g., Mcule ID, PubChem CID).
33
+
34
+ Example: `MCULE-7212330550`
35
+
36
+ - `SMILES`:
37
+
38
+ Canonical SMILES representation of the molecule, after RDKit processing.
39
+
40
+ Example: `O=C(O)C1=CC=CC(O)C1O`
41
+
42
+ - `
43
+
44
+ ## Statistics
45
+
46
+ | **Descriptor** | **Value** |
47
+ |:----------------------:|:-----------:|
48
+ | Molecules count | 221,950,487 |
49
+ | Median SAScore | 3.05 |
50
+ | #Circles | 6,422,057 |
51
+ | Bemis-Murcko scaffolds | 3,620,809 |
52
+ | Ertl functional groups | 128,347 |
53
+ | Salts | 1,089,501 |
54
+
55
+ ## Workflow
56
+
57
+ ![MolPILE Workflow](./workflow.png)
58
+
59
+ ## Loading the MolPILE dataset
60
+
61
+ ```python
62
+ import polars as pl
63
+ from huggingface_hub import hf_hub_download
64
+
65
+ parquet_file_path = hf_hub_download(
66
+ repo_id="scikit-fingerprints/MolPILE",
67
+ repo_type="dataset",
68
+ filename="molpile.parquet",
69
+ local_dir="datasets",
70
+ local_dir_use_symlinks=False
71
+ )
72
+
73
+ df = pl.read_parquet(parquet_file_path)
74
+ print(df.head())
75
+ ```
76
+
77
+ ## Licenses
78
+
79
+ MolPILE is a collection of processed datasets, not a single dataset. It is shared as a single Parquet file only for convenience.
80
+ Individual sources are separated by `source` and `id` columns. Each source has its own separate license, which we list below.
81
+ As its entirety, MolPILE does not have a single license, as it is a collection, not a single dataset.
82
+ Users interested in that can easily filter the dataset by source.
83
+ In case of PubChem and UniChem, users may also want to check the individual licenses of their sources.
84
+ Users using those sources are also asked to cite the appropriate publications, which we provide below.
85
+ We do not make any claims about licensing of models trained on MolPILE, nor put any additional limitations.
86
+
87
+ - UniChem: CC0 (public domain); Chambers, Jon, et al. "UniChem: a unified chemical structure cross-referencing and identifier tracking system." Journal of Cheminformatics 5.1 (2013): 3.
88
+ - PubChem: CC-BY-4.0; Kim, Sunghwan, et al. "PubChem 2023 update." Nucleic Acids Research 51.D1 (2023): D1373-D1380.
89
+ - Mcule: CC-BY-NC-4.0; Kiss, Robert, Mark Sandor, and Ferenc A. Szalai. "http://Mcule. com: a public web service for drug discovery." Journal of Cheminformatics 4.Suppl 1 (2012): P17.
90
+ - ChemSpace: CC-BY-NC-4.0; please cite link https://chem-space.com/compounds/screening-compound-catalog
91
+ - SuperNatural3: not specified, only "freely available"; Gallo, Kathleen, et al. "SuperNatural 3.0—a database of natural products and natural product-based derivatives." Nucleic Acids Research 51.D1 (2023): D654-D659.
92
+ - COCONUT: CC0 (public domain); Sorokina, Maria, et al. "COCONUT online: collection of open natural products database." Journal of Cheminformatics 13.1 (2021): 2.