Skip to main content

Some useful tools related to Amber and DP.

Project description

dpamber

Some useful tools related to Amber and DP.

Installation

pip install dpamber

Tools

corr: generating data for DPRc models

DOI:10.1021/acs.jctc.1c00201 Citations

corr tool generates DeePMD-kit training data for DPRc from AMBER sander low-level QM/MM data and high-level data. For details of DPRc, read the DPRc paper.

Before using this tool, one need to prepare low-level and high-level QM/MM data:

$$ E_\text{hl}(\mathbf R)=E_\text{hl,QM}(\mathbf R)+E_\text{hl,QM/MM}(\mathbf R)+E_\text{MM}(\mathbf R) $$

$$ E_\text{ll}(\mathbf R)=E_\text{ll,QM}(\mathbf R)+E_\text{ll,QM/MM}(\mathbf R)+E_\text{MM}(\mathbf R) $$

Low-level and high-level data should use the same coordinate and the same MM method, but different QM methods. So, the correction energy for training will be

$$ \Delta E (\mathbf R) = E_\text{hl}(\mathbf R) - E_\text{ll}(\mathbf R) = (E_\text{hl,QM}(\mathbf R) - E_\text{ll,QM}(\mathbf R)) + (E_\text{hl,QM/MM}(\mathbf R) - E_\text{ll,QM/MM}(\mathbf R)) $$

An example of the command is

dpamber corr --cutoff 6. --qm_region ":1" --parm7_file some_param.param7 --nc some_coord.nc --hl high_level --ll low_level --out dataset

where --cutoff takes cutoff radius of the QM/MM interaction for training. --qm_region takes AMBER mask format for the QM region. --parm7_file and --nc take the PARM7 file and the trajectory (NetCDF) file, respectively. --ll and --hl are the prefixes of low-level and high-level files, including the mdout file (.mdout), the mden file (.mden) and the mdfrc file (.mdfrc). The output dataset directory should be put in --out.

See details from dpamber corr -h.

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

dpamber-0.2.2.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

dpamber-0.2.2-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file dpamber-0.2.2.tar.gz.

File metadata

  • Download URL: dpamber-0.2.2.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for dpamber-0.2.2.tar.gz
Algorithm Hash digest
SHA256 2941f9b0a467e1f1b06d0dd85682003aca8c75363b3d0b7f59555d4eba572e57
MD5 fd305c83b140b0115af27584e81eb8bd
BLAKE2b-256 111cd2770e8ceb3ed0ccd87641cce3e42a773025e1a7d278cc46dde0f52a5a6f

See more details on using hashes here.

File details

Details for the file dpamber-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: dpamber-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for dpamber-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 70fe52181e71349450646d0a1b0c6135f0156fc027d428fc3771bfd19048d600
MD5 cbc3016a30469c8cdbe2b28bc7c813d5
BLAKE2b-256 ce6a7c710bdea6bdfadd21cce37fc2d684ef5edda5e8f892122e7c7647e1935a

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