MDDatasetBuilder
MDDatasetBuilder is a script to build molecular dynamics (MD) datasets for neural networks from given LAMMPS trajectories automatically.
Author: Jinzhe Zeng
Email: jzzeng@stu.ecnu.edu.cn
Requirements
- Python 3.6 - 3.7
- Python packages: numpy, scikit-learn, ASE, GaussianRunner, tqdm, coloredlogs, lz4, pybase64
- Software: Gaussian 16, DeePMD, OpenBabel
Installation
git clone https://github.com/njzjz/mddatasetbuilder
cd mddatasetbuilder
pip install .
You can test whether ReacNetGenerator is running normally:
python3 setup.py pytest
Simple example
A LAMMPS bond file and a LAMMPS dump file should be prepared.
datasetbuilder -d dump.ch4 -b bonds.reaxc.ch4_new -a C H O -n ch4 -i 25
Then you can calculate generated Gaussian files:
qmcalc -d dataset_ch4_GJf/000
qmcalc -d dataset_ch4_GJf/001
Next, prepare DeePMD datas and use DeePMD-kit to train a model.
preparedeepmd -p dataset_ch4_GJf -a C H O
cd train && dp_train train.json
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mddatasetbuilder-1.2.20.tar.gz
(18.1 kB
view details)
File details
Details for the file mddatasetbuilder-1.2.20.tar.gz.
File metadata
- Download URL: mddatasetbuilder-1.2.20.tar.gz
- Upload date:
- Size: 18.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fc604e01db5a4244648463f6c7edc137190320ba1cbb567ac3ad5e7fe597fa8
|
|
| MD5 |
8788850724f31045f086e1c0c3f99e71
|
|
| BLAKE2b-256 |
9e444a691a79a685963b360baeeebffcfe1734484bb65abce9cb1a6e165324d1
|