Desp-ML commited on
Commit
bdc0e96
·
verified ·
1 Parent(s): 43fd9b3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +35 -44
README.md CHANGED
@@ -1,17 +1,41 @@
1
- # QM9 Molecular Data Preprocessing and ML Pipeline
 
 
 
 
 
 
 
 
2
 
3
- This repository contains a series of scripts for processing the QM9 dataset, computing molecular descriptors (e.g., ECFP4), cleaning and organizing molecular data, and preparing it for machine learning (ML) tasks.
 
4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
 
6
  This pipeline transforms raw .xyz molecular files into a structured ML-ready format by:
7
- 1. Extracting properties
8
- 2. Calculating ECFP4 fingerprints
9
- 3. Cleaning and filtering problematic entries
10
- 4. Organizing columns and unpacking features
11
- 5. Finalizing the dataset for ML
12
- 6. Splitting it into training, validation, and test sets
13
 
14
- # Scripts
15
 
16
  | File | Description |
17
  |--------------------------|-------------|
@@ -26,42 +50,9 @@ This pipeline transforms raw .xyz molecular files into a structured ML-ready for
26
  | `08_organize_columns.py` | Reorganizes column order, drops unnecessary columns, and prepares a clean structure. |
27
  | `09_unpack_ecfp4.py` | Unpacks the ECFP4 bit vectors into individual binary columns for ML input. |
28
  | `10_finalize_ml_data.py` | Final checks and formatting to ensure the data is ready for ML training. |
29
- | `11_split_ml_data.py` | Splits the final dataset into train/val/test sets using fixed proportions (e.g., 80/10/10). |
30
-
31
-
32
-
33
-
34
-
35
-
36
- ---
37
-
38
- # Output
39
-
40
-
41
-
42
- - Clean .parquet file containing ECFP4 + molecular properties, Split files for ML training: train.parquet, val.parquet, test.parquet
43
-
44
- ### output format
45
-
46
- | Property Group (Column Range) | Columns |
47
- |--------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
48
- | Identifier (1–1) | `ID` |
49
- | Chemical descriptors (2–9) | `MolWt`, `ClogP`, `TPSA`, `HBD`, `HBA`, `NumRotatableBonds`, `RingCount`, `FractionCSP3` |
50
- | Quantum-chemical & thermodynamic properties (10–24) | `Rotational_Constant_A`, `Rotational_Constant_B`, `Rotational_Constant_C`, `Dipole_Moment`, `Isotropic_polarizability`, `Energy_of_HOMO`, `Energy_of_LUMO`, `LUMO_HOMO_GAP`, `Electronic_spatial_extent`, `Zero_point_vibrational_energy`, `Internal_energy_at_0_K`, `Internal_energy_at_298.15_K`, `Enthalpy_at_298.15_K`, `Free_energy_at_298.15_K`, `Heat_capacity_at_298.15_K` |
51
- | Structural fingerprint (25–25) | `Ecfp_4` (2,048-bit Morgan fingerprint, radius 2) |
52
-
53
-
54
-
55
-
56
- # Sources:
57
-
58
- L. Ruddigkeit, R. van Deursen, L. C. Blum, J.-L. Reymond, Enumeration of 166 billion organic small molecules in the chemical universe database GDB-17, J. Chem. Inf. Model. 52, 2864–2875, 2012.
59
- R. Ramakrishnan, P. O. Dral, M. Rupp, O. A. von Lilienfeld, Quantum chemistry structures and properties of 134 kilo molecules, Scientific Data 1, 140022, 2014.
60
 
61
 
62
  # License
63
 
64
- This project is licensed under CC0 (for use with QM9 which is public domain). Attribution is appreciated but not required.
65
-
66
-
67
-
 
1
+ ---
2
+ language:
3
+ - en
4
+ pretty_name: Bioactivity Report QM9 - Molecular Data Preprocessing and ML Pipeline
5
+ size_categories:
6
+ - 100K<n<1M
7
+ ---
8
+ # Bioactivity Report QM9 - Molecular Data Preprocessing and ML Pipeline
9
+
10
 
11
+ This data set provides a comprehensive set of quantum chemical properties for a relevant and consistent chemical space of small organic molecules.
12
+ The dataset consists of computed geometric, energetic, electronic, and thermodynamic properties for 134k stable small organic molecules made up of CHONF, corresponding to the subset of all 133,885 species with up to nine heavy atoms (CONF) out of the GDB-17 chemical universe the properties were calculated at the B3LYP/6-31G(2df,p) level of quantum chemistry.
13
 
14
+ ## Format
15
+
16
+ | Property Group (Column Range) | Columns |
17
+ |--------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
18
+ | Identifier (1–1) | `ID` |
19
+ | Chemical descriptors (2–9) | `MolWt`, `ClogP`, `TPSA`, `HBD`, `HBA`, `NumRotatableBonds`, `RingCount`, `FractionCSP3` |
20
+ | Quantum-chemical & thermodynamic properties (10–24) | `Rotational_Constant_A`, `Rotational_Constant_B`, `Rotational_Constant_C`, `Dipole_Moment`, `Isotropic_polarizability`, `Energy_of_HOMO`, `Energy_of_LUMO`, `LUMO_HOMO_GAP`, `Electronic_spatial_extent`, `Zero_point_vibrational_energy`, `Internal_energy_at_0_K`, `Internal_energy_at_298.15_K`, `Enthalpy_at_298.15_K`, `Free_energy_at_298.15_K`, `Heat_capacity_at_298.15_K` |
21
+ | Structural fingerprint (25–25) | `Ecfp_4` (2,048-bit Morgan fingerprint, radius 2)
22
+
23
+ ## Sources:
24
+
25
+ L. Ruddigkeit, R. van Deursen, L. C. Blum, J.-L. Reymond, Enumeration of 166 billion organic small molecules in the chemical universe database GDB-17, J. Chem. Inf. Model. 52, 2864–2875, 2012.
26
+ R. Ramakrishnan, P. O. Dral, M. Rupp, O. A. von Lilienfeld, Quantum chemistry structures and properties of 134 kilo molecules, Scientific Data 1, 140022, 2014.
27
+
28
+ ## Data processing
29
 
30
  This pipeline transforms raw .xyz molecular files into a structured ML-ready format by:
31
+ 1. Extracting properties
32
+ 2. Calculating ECFP4 fingerprints
33
+ 3. Cleaning and filtering problematic entries
34
+ 4. Organizing columns and unpacking features
35
+ 5. Finalizing the dataset for ML
36
+ 6. Splitting it into training, validation, and test sets
37
 
38
+ ### Scripts
39
 
40
  | File | Description |
41
  |--------------------------|-------------|
 
50
  | `08_organize_columns.py` | Reorganizes column order, drops unnecessary columns, and prepares a clean structure. |
51
  | `09_unpack_ecfp4.py` | Unpacks the ECFP4 bit vectors into individual binary columns for ML input. |
52
  | `10_finalize_ml_data.py` | Final checks and formatting to ensure the data is ready for ML training. |
53
+ | `11_split_ml_data.py` | Splits the final dataset into train/val/test sets using fixed proportions (e.g., 80/10/10).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
 
55
 
56
  # License
57
 
58
+ This project is licensed under CC0 (for use with QM9 which is public domain). Attribution is appreciated but not required.