Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,37 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- chemistry
|
| 5 |
---
|
| 6 |
+
Here is the dataset used in paper `Scalable Machine Learning Force Fields for Macromolecular Systems Through Long-Range Aware Message Passing` [[link](URL地址)].
|
| 7 |
+
|
| 8 |
+
The data is stored in lmdb formate. Taking `md_traj` data as an example, you can load the data as following:
|
| 9 |
+
```python
|
| 10 |
+
import lmdb
|
| 11 |
+
import pickle
|
| 12 |
+
env = lmdb.open("md_traj/train/NaCl/data_0.lmdb", subdir=False)
|
| 13 |
+
txn = env.begin()
|
| 14 |
+
length = txn.stat()['entries']
|
| 15 |
+
data_list = []
|
| 16 |
+
for idx in range(length):
|
| 17 |
+
data.append(pickle.loads(txn.get(f"idx".encode())))
|
| 18 |
+
print(data_list[0].keys())
|
| 19 |
+
```
|
| 20 |
+
You will get:
|
| 21 |
+
```python
|
| 22 |
+
['forces', # Forces in kcal/mol/Angstrom
|
| 23 |
+
'cluster_ids', # The id for each atoms in prebuilt clusters
|
| 24 |
+
'order', # The frame id in MD simulation
|
| 25 |
+
'pos', # The positons for each atoms, shape [N, 3], unit in Angstrom
|
| 26 |
+
'cluster_centers', # The center of prebuilt clusters
|
| 27 |
+
'energy', # The total energy of the molecule in kcal/mol
|
| 28 |
+
'atomic_numbers'] # The list of atomic numbers, shape [N,]
|
| 29 |
+
```
|
| 30 |
+
For Di-Molecule dataset, there are additional properties:
|
| 31 |
+
```python
|
| 32 |
+
[...
|
| 33 |
+
'mol_a', # The pubchem id of the molecule A
|
| 34 |
+
'mol_b', # The pubchem id of the molecule B
|
| 35 |
+
'distance', # The horizontal distance between the right-most atom of A and the left-most atom of B, unit in Angstrom
|
| 36 |
+
...]
|
| 37 |
+
```
|