Skip to main content

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.

devi: calculate model deviation

devi can be used to calculate the model deviation of a given trajectory. You need to install DeePMD-kit using

pip install dpamber[dpgpu]

See dpamber devi -h for details.

Metadata

Release files for dpamber 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dpamber 0.4.0
File Size Uploaded Provenance
dpamber-0.4.0.tar.gz 300.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for dpamber 0.4.0
File Interpreter ABI Platform
dpamber-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 316.9 kB

Release files / dpamber-0.4.0.tar.gz

Download URL dpamber-0.4.0.tar.gz
Size 300.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a3ed36644962c9baf65ca690210cb0d84f1f3b211108faf3fbadae9648dc6630
BLAKE2b-256 checksum
How to use checksums
a9de87ffe2157d65b5a6762a8e36eebba1a21506e802395106b61bb64a0d75c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / dpamber-0.4.0-py3-none-any.whl

Download URL dpamber-0.4.0-py3-none-any.whl
Size 16.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb6ba9f0b0ca0f90238307155de501d242d724ec19e01978b74bf12de9e10b07
BLAKE2b-256 checksum
How to use checksums
5ddd8843cc354943ae627d860aeeb338737bdba7a0d05b19eb4ce65b0d8b30cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.5

Security for dpamber 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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