You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The unified generative‑AI framework that streamline training the 3D molecular diffusion models to their deployment in data-driven computational chemistry pipelines
5
+
3
6

4
-
A 3D Molecular Generation Framework for Data-driven Molecular Applications.
7
+
8
+
## Key Features
9
+
10
+
***End-to-End 3D Molecular Generation Workflow:** Support training diffusion model, and preditive models, and utilize them for various molecular generation tasks, all within a unified framework.
11
+
***Curriculum learning:** Efficient way for training and fine-tuning 3D molecular diffusion models
12
+
***Guidance Tools:** Generate molecules with specific characteristics:
13
+
***Property-Targeted Generation:** Generate molecules with a target physicochemical or electronic properties (e.g., excitation energy, dipole moment)
14
+
***Inpainting:** Systematically explore structural variants around reference molecules
15
+
***Outpainting:** Extend a molecule by generating new parts.
16
+
***Command-Line Interface:** A user-friendly CLI for training, generation, and prediction.
@@ -53,7 +67,7 @@ Pre-trained diffusion models are available at [Hugging Face](https://huggingface
53
67
54
68
There are two ways to run experiments: using the `MolCraftDiff` command-line tool (recommended) or by executing the Python scripts directly.
55
69
56
-
### `MolCraftDiff` CLI (Recommended)
70
+
### 1. `MolCraftDiff` CLI (Recommended)
57
71
58
72
Make sure you have installed the package in editable mode as described above, and that you run the commands from the root of the project directory.
59
73
@@ -88,7 +102,7 @@ To get help for a specific command:
88
102
89
103
MolCraftDiff train --help
90
104
91
-
### Direct Script Execution
105
+
### 2. Direct Script Execution
92
106
93
107
You can also execute the scripts in the `scripts/` directory directly.
94
108
@@ -109,25 +123,28 @@ where INTERFERENCE is one of the following: `gen_cfg`, `gen_cfggg`, `gen_conditi
109
123
python scripts/predict.py
110
124
111
125
112
-
We also have scripts in `scripts/applications/utils/` for tasks such as xtb optimization, converting xyz to rdkit mol, assess the quality of 3D geomtry, etc.
113
-
114
-
115
-
Tutorials
116
-
---------
117
-
118
-
A comprehensive set of tutorials is available in the [`tutorials/`](./tutorials/) directory, covering topics from basic model training to advanced generation techniques.
126
+
### 3. Post-processing the Generated 3D Molecules
127
+
The `scripts/applications/utils/` directory contains various utilities for post-processing generated 3D molecules, including:
128
+
***XTB Optimization:** Optimize molecular geometries using the GFN-xTB method (`xtb_optimization.py`).
129
+
***XYZ to RDKit Conversion:** Convert XYZ coordinate files to RDKit molecular objects (`xyz2mol.py`).
130
+
***Metric Computation:** Compute various quality and diversity metrics for generated molecules (`compute_metrics.py`).
131
+
***RMSD Calculation:** Calculate Root Mean Square Deviation (RMSD) for structural comparison (`compute_rmsd.py`).
132
+
***Molecular Similarity:** Assess molecular similarity using different algorithms (`compute_similarity.py`).
119
133
120
134
121
135
Visualization
122
136
-------------
123
137
124
138
Generated 3D molecules and their properties can be visualized using the [3DMolViewer](https://github.com/pregHosh/3DMolViewer) package.
125
139
140
+
We also recommend our in-house and lightweight X11 molecular viewer [V](https://github.com/briling/v) package.
141
+
126
142
127
-
Documentation
128
-
------------
143
+
Tutorials
144
+
---------
145
+
146
+
A comprehensive set of tutorials is available in the [`tutorials/`](./tutorials/) directory, covering topics from basic model training to advanced generation techniques.
129
147
130
-
For more information, visit: https://moleculardiffusion.readthedocs.io
0 commit comments