Skip to main content

A script to make molecular dynamics (MD) datasets for neural networks from given LAMMPS trajectories automatically.

Project description

MDDatasetBuilder

python version PyPI Build Status Build status Coverage Status codecov Codacy Badge

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

Research Group

Requirements

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

Project details


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.1.tar.gz (17.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page