Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 1.3.10 instead.
Reason given by maintainers: The extension filename is wrong

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

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.7.tar.gz (30.5 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.7-cp37-abi3-win_amd64.whl (39.3 kB view details)

Uploaded CPython 3.7+Windows x86-64

mddatasetbuilder-1.3.7-cp37-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (84.4 kB view details)

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

mddatasetbuilder-1.3.7-cp37-abi3-macosx_10_9_x86_64.whl (36.6 kB view details)

Uploaded CPython 3.7+macOS 10.9+ x86-64

mddatasetbuilder-1.3.7-cp37-abi3-macosx_10_9_universal2.whl (48.0 kB view details)

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

File details

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

File metadata

  • Download URL: mddatasetbuilder-1.3.7.tar.gz
  • Upload date:
  • Size: 30.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for mddatasetbuilder-1.3.7.tar.gz
Algorithm Hash digest
SHA256 50a000b1143824a11c4812c4ba9661423764809806b590ee68ddce0c08854d85
MD5 4c046c1a3ced1b32cfb8148665184517
BLAKE2b-256 1de8f643d57f011207afe67ccb1b56044ecb222bf20e0f9b9654936c79deedbd

See more details on using hashes here.

File details

Details for the file mddatasetbuilder-1.3.7-cp37-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for mddatasetbuilder-1.3.7-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 66d495eb5c3a045c692efc5f45b59f6b1b02fef835d760eeaa2c5833c7c26930
MD5 1adab36dc103f1d3d5f21b6ade0da272
BLAKE2b-256 8ded04d0df8af4f1642927996c3066071579ae95dfee7749f8caa4a2914ce669

See more details on using hashes here.

File details

Details for the file mddatasetbuilder-1.3.7-cp37-abi3-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.7-cp37-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 deaabfd4b9b3a1899f4c12ea15b888f2e8478c4ba9644b8d14d5ae1cf76b6217
MD5 b6748a57c2d386e5303d0734d82bcbef
BLAKE2b-256 fea00c920a796b9d0eb88e2a669f1d0b84b42d6aeed43e8135a66cd5fad71a83

See more details on using hashes here.

File details

Details for the file mddatasetbuilder-1.3.7-cp37-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for mddatasetbuilder-1.3.7-cp37-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0c6523b10e543bcf6cd693d9eb3cd6f48552f6ebf4e6ad6254eb5eac687e6d2a
MD5 97a832f7d6902de4f080792c103476f0
BLAKE2b-256 58dd3b2385f616c739dfd704a9f3fea2c7217fcae4c419a0e00d8097879dddda

See more details on using hashes here.

File details

Details for the file mddatasetbuilder-1.3.7-cp37-abi3-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for mddatasetbuilder-1.3.7-cp37-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 fbd5800529e9870921d999bb4c14c958737e1319e5530972831108c8e0a7e962
MD5 aa507db4b8d6bcdaefd0e55935ca0c8c
BLAKE2b-256 c83829148d84fc7958939e2a328df183cfb61fa0128142d8356e271dcfc622ba

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

This release

1.3.7 This release

5 files

1.3.5

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