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/
python3 setup.py install

You can test whether ReacNetGenerator is running normally:

python3 setup.py test

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.1.3.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

mddatasetbuilder-1.1.3-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file mddatasetbuilder-1.1.3.tar.gz.

File metadata

  • Download URL: mddatasetbuilder-1.1.3.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for mddatasetbuilder-1.1.3.tar.gz
Algorithm Hash digest
SHA256 35637cd7c0428de94e4781b3a073018ca34c7e3bc38b1fdc51fac3690f722d72
MD5 1af56de3a6483dc7b0cc29a287f48083
BLAKE2b-256 9e69ccfc6c3e4606061698343853dc227f307bed973038c6477b9b7968aa794c

See more details on using hashes here.

File details

Details for the file mddatasetbuilder-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: mddatasetbuilder-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for mddatasetbuilder-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9a6d1d5ce4ee14072c0ccb03e4da635938f1d67d76b446fb63f81f673bbbba01
MD5 497ff73b4184b2e86fafd66cb5a87e7d
BLAKE2b-256 b9ad678568bcb91ae6b50df6e854489744147cdde456fb1af6cee7560585796b

See more details on using hashes here.

Supported by

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