Skip to main content

MDDatasetBuilder

DOI:10.1038/s41467-020-19497-z Citations python version PyPI codecov Research Group

MDDatasetBuilder is a script to construct reference datasets for the training of neural network potentials from given LAMMPS trajectories.

Complex reaction processes in combustion unraveled by neural network-based molecular dynamics simulation, Nature Communications, 11, 5713 (2020), DOI: 10.1038/s41467-020-19497-z

Author: Jinzhe Zeng

Email: jzzeng@stu.ecnu.edu.cn

Installation

MDDatasetBuilder can be installed with pip:

pip install mddatasetbuilder

The installation process should be very quick, taking only a few minutes on a “normal” desktop computer.

Usage

Simple example

A LAMMPS dump file should be prepared. A LAMMPS bond file can be added for the addition information.

datasetbuilder -d dump.ch4 -b bonds.reaxc.ch4_new -a C H O -n ch4 -i 25

Here, dump.ch4 is the name of the dump file. bonds.reaxc.ch4_new is the name of the bond file, which is optional. C H O is the element in the trajectory. ch4 is the name of the dataset. 25 means the time step interval and the default value is 1.

Then you can generate Gaussian input files for each structure in the dataset and calculate the potential energy & atomic forces (assume the Gaussian 16 has already been installed.):

qmcalc -d dataset_ch4_GJf/000
qmcalc -d dataset_ch4_GJf/001

Next, prepare a DeePMD dataset and use DeePMD-kit to train a NN model.

preparedeepmd -p dataset_ch4_GJf
cd train && dp train train.json

The runtime of the software depends on the amount of data. It is more suited to running on a server rather than desktop computer.

DP-GEN

DOI:10.1021/acs.energyfuels.0c03211 Citations

In a follow-up work, the MDDatasetBuilder package has been integrated with DP-GEN software as a part of the DP-GEN workflow:

dpgen init_reaction reaction.json machine.json

See DP-GEN documentation for details. Arguments of reaction.json can be found here. machine.json is described here, where reaxff_command is the LAMMPS command (lmp), build_command is the MDDatasetbuilder command (datasetbuilder), and fp_command is the Gaussian 16 command (g16 < input || :).

The genereated data can be used to continue DP-GEN concurrent learning workflow. Read Energy & Fuels, 2021, 35 (1), 762–769 for 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.3.5.tar.gz (28.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mddatasetbuilder-1.3.5-cp311-cp311-win_amd64.whl (37.2 kB view details)

Uploaded CPython 3.11Windows x86-64

mddatasetbuilder-1.3.5-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (92.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

mddatasetbuilder-1.3.5-cp311-cp311-macosx_10_9_universal2.whl (47.3 kB view details)

Uploaded CPython 3.11macOS 10.9+ universal2 (ARM64, x86-64)

mddatasetbuilder-1.3.5-cp310-cp310-win_amd64.whl (37.0 kB view details)

Uploaded CPython 3.10Windows x86-64

mddatasetbuilder-1.3.5-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (89.2 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

mddatasetbuilder-1.3.5-cp310-cp310-macosx_10_9_universal2.whl (46.3 kB view details)

Uploaded CPython 3.10macOS 10.9+ universal2 (ARM64, x86-64)

mddatasetbuilder-1.3.5-cp39-cp39-win_amd64.whl (37.0 kB view details)

Uploaded CPython 3.9Windows x86-64

mddatasetbuilder-1.3.5-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (89.1 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

mddatasetbuilder-1.3.5-cp39-cp39-macosx_10_9_universal2.whl (46.3 kB view details)

Uploaded CPython 3.9macOS 10.9+ universal2 (ARM64, x86-64)

mddatasetbuilder-1.3.5-cp38-cp38-win_amd64.whl (36.9 kB view details)

Uploaded CPython 3.8Windows x86-64

mddatasetbuilder-1.3.5-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (89.3 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

mddatasetbuilder-1.3.5-cp38-cp38-macosx_10_9_universal2.whl (46.3 kB view details)

Uploaded CPython 3.8macOS 10.9+ universal2 (ARM64, x86-64)

mddatasetbuilder-1.3.5-cp37-cp37m-win_amd64.whl (36.9 kB view details)

Uploaded CPython 3.7mWindows x86-64

mddatasetbuilder-1.3.5-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (87.3 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

mddatasetbuilder-1.3.5-cp37-cp37m-macosx_10_9_x86_64.whl (35.5 kB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: mddatasetbuilder-1.3.5.tar.gz
  • Upload date:
  • Size: 28.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for mddatasetbuilder-1.3.5.tar.gz
Algorithm Hash digest
SHA256 076618c93ff362f8072985fe8a189393618f4f7ee52711bf0e8fccba5f443fff
MD5 badbb238b952bc58ce682de605e04b52
BLAKE2b-256 d5b8c40941739682b9d446d3c30b1550bb46110ce2f8b2a75fad123148f825b7

See more details on using hashes here.

File details

Details for the file mddatasetbuilder-1.3.5-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for mddatasetbuilder-1.3.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ed8b14461b72d378bca5a6e69bc405961b6de517e2dcf59942fff2c9034a2d97
MD5 29ec3015ff14dd1bdbdd1e34b6ef439e
BLAKE2b-256 1ac5ee3d356c64ae3c572224ab90cd7a6fcb51353e874d9f16a8699a16c6a7e9

See more details on using hashes here.

File details

Details for the file mddatasetbuilder-1.3.5-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mddatasetbuilder-1.3.5-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e4bfeb820e0ac7ea4a9ed166e5def9f0abdc451559422e75609b06505dee09d3
MD5 d48fb6352637521354d5bc0200d7e383
BLAKE2b-256 52ad6c47eda6457edb66272653e404690f96cefa285e79dbd3bb8d52907e1b53

See more details on using hashes here.

File details

Details for the file mddatasetbuilder-1.3.5-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for mddatasetbuilder-1.3.5-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 0ffad68d3232bfc06e4a6d5c877ac2c555d784c363e71fb3bd48f9510b1f37b1
MD5 984800a2efd8be54cb1f321828c81963
BLAKE2b-256 b994be6ef8920b7ff756531626a6acf0c06c0c44e58f69daba76a649af5a4175

See more details on using hashes here.

File details

Details for the file mddatasetbuilder-1.3.5-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for mddatasetbuilder-1.3.5-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 76b9e7fdfde2d183785a6438688fb1ef632e8229cfcfdcd35dd3c2926a2b0812
MD5 05c1a056ad7d44782749bb7616d425bd
BLAKE2b-256 7510abff904e6da2a49650eb415aef102886501082c51d7a272a2dd11aeb9159

See more details on using hashes here.

File details

Details for the file mddatasetbuilder-1.3.5-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mddatasetbuilder-1.3.5-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3105febe38fcb03559a8b154a0ef7e58428528dbf66327c9cda1e07e78326643
MD5 09138e8e4905bdf5bbd1fcb335b4feeb
BLAKE2b-256 972fdb626e9adae3161cbe0e15423e59d3cf3d03fa400092286b3c5d38e12976

See more details on using hashes here.

File details

Details for the file mddatasetbuilder-1.3.5-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for mddatasetbuilder-1.3.5-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 bc74c3f954ba0e4862516ce631b7da3284beeb42ecf1b32b039b81d2a1973828
MD5 f986d483702b1691269ce4631e1469a7
BLAKE2b-256 fa476fa8e2f50c6ba4bb4e362ba2fd991ac8beff2f7fb8ab12596260661928de

See more details on using hashes here.

File details

Details for the file mddatasetbuilder-1.3.5-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for mddatasetbuilder-1.3.5-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 8926839fed4be3b51c96dc90c22cb92224edeb63fcd2e1ed5a9c9b6ba57fd258
MD5 989dac71df863ad3bc9c7ba798245770
BLAKE2b-256 cdc5117569462bc6bf13cc476b4ebf28df2b1693411fb3766b82a36932e4a71c

See more details on using hashes here.

File details

Details for the file mddatasetbuilder-1.3.5-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mddatasetbuilder-1.3.5-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 784cbbe1f8418249e35740079ba0d1176debcdba369d0a517fae739e976c47f9
MD5 995db465e7998cd423e9777e22f08ca5
BLAKE2b-256 0dd1547f2c6ece6ffa3400413eba802ec03ce3b36697555c1a29a3bcd2f56aae

See more details on using hashes here.

File details

Details for the file mddatasetbuilder-1.3.5-cp39-cp39-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for mddatasetbuilder-1.3.5-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 fdcfb8cab4352e22ec3b0d5624986fa420c00cc672916114185dfa8b1d9c0350
MD5 98719d077638e07182d267a8ac1022e4
BLAKE2b-256 058eb2cb17ca6468fb164f5d28211c49b53a1e424f8b8c1e542fb9cd0c76fe10

See more details on using hashes here.

File details

Details for the file mddatasetbuilder-1.3.5-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for mddatasetbuilder-1.3.5-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 5ee572e5e6172a6497b5b476aa31ea6783c6dd765341772a6efe41da37a67f4d
MD5 69447c0d30319bf4df1e23d3f769749c
BLAKE2b-256 ed4f925acbe44df3ceb2d51db25c36a77315e8670340206b1d0bf8160a710bde

See more details on using hashes here.

File details

Details for the file mddatasetbuilder-1.3.5-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mddatasetbuilder-1.3.5-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 44968663cb0a2e429fd15003cf1a9c309c8baf67c414304d3676354795c08be7
MD5 1894e6c1587220d46051c0c24924419f
BLAKE2b-256 7f4230e7214d79292fccb9829c5b41bfd5f41cbce25930d2046e3bff5ad18a9e

See more details on using hashes here.

File details

Details for the file mddatasetbuilder-1.3.5-cp38-cp38-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for mddatasetbuilder-1.3.5-cp38-cp38-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 3740d384698bf093919c1799ad76bb977757cfacb76ea611abef16308fb879f3
MD5 712f9d329402e4c99e1c46ee4d5bb80c
BLAKE2b-256 acc616218cad0f4a4928e8dccd59f8562687018cf258340bd07919b5b124400e

See more details on using hashes here.

File details

Details for the file mddatasetbuilder-1.3.5-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for mddatasetbuilder-1.3.5-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 c88cac8c47f9797bd56b0a5c840393742c6c5a691f94c22f9495eac0e9568cb3
MD5 7c475cef23377e64cae18a3b6005c6ab
BLAKE2b-256 e15a984bf1bd903f60ff47d5c38727099ab0c4f90a93b4d3b32e6a08a114da9a

See more details on using hashes here.

File details

Details for the file mddatasetbuilder-1.3.5-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mddatasetbuilder-1.3.5-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a73308cc4abedd176a3e2c69481113114604aa825458ea093e98fa620b0660f2
MD5 54ac126827059f040d22a3c473e0648a
BLAKE2b-256 85df38230828fbb243aca45119a5945097a569906cb34ea5828b62fb2107b170

See more details on using hashes here.

File details

Details for the file mddatasetbuilder-1.3.5-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for mddatasetbuilder-1.3.5-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c01dd9f495fae2f10744f5d4a138fa18565ec091fe98ce2585eeb2560a5f2840
MD5 3daa69421f5f951ce716cdbfc24b2217
BLAKE2b-256 ac017917877fc65036e3886fb540793d539846d7f2c35a3899ad20f3e0957239

See more details on using hashes here.

Release history Release notifications | RSS feed

1.3.10

4 files

1.3.9

4 files

1.3.8

5 files

1.3.7

5 files

This release

1.3.5 This release

16 files

1.3.4

1 file

1.3.3

1 file

1.3.2

1 file

1.3.1

1 file

1.3.0

1 file

1.2.23

1 file

1.2.22

1 file

1.2.21

1 file

1.2.20

1 file

1.2.3

1 file

1.2.2

1 file

1.2.1

1 file

1.2.0

1 file

1.1.13

1 file

1.1.12

1 file

1.1.11

1 file

1.1.10

1 file

1.1.9

1 file

1.1.8

1 file

1.1.7

1 file

1.1.6

1 file

1.1.5

1 file

1.1.4

1 file

1.1.3

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page