Skip to main content

PypKa + GROMACS = an awesome Constant-pH Molecular Dynamics implementation

Project description

PypKa-MD

PypKa + MD = constant-pH molecular dynamics

Implementation of the stochastic titration method 1

[1] Baptista et al., J. Chem. Phys. 117, 4184 (2002) DOI: 10.1063/1.1497164

Installation

python3 -m pip install pypkamd

Dependencies

Both PypKa and GROMACS are required to be installed in the system.

  • PypKa >= 2.7.1
  • GROMACS >=5.1.5

When running in pKAI-MD mode there are extra dependencies:

  • pege >= 1.1.1
  • torch_geometric >= 2.0.0

Please refer to the installation guide of torch geometric to install the proper version in accordance to your CUDA and OS.

python3 -m pip install pege
# EXAMPLE FOR CUDA10.2
# python3 -m pip install torch-scatter torch-sparse torch-cluster torch-spline-conv torch-geometric -f https://data.pyg.org/whl/torch-1.10.0+cu102.html

Usage

Upon installation a PypKa-MD executable should have been added to your bin. You may call it directly giving as an argument a modified GROMACS .mdp input file to include Constant-pH specific variables.

pypkamd System.mdp

In case the executable as not been added to your bin, you may use:

python3 -m pypkamd System.mdp

You may find an example .mdp file in /utils/cphmd.mdp.

; GROin = system_000.gro     ; input GRO file
; TOPin = system_000.top     ; input TOP file
; DATin = fixgro.dat         ; input DAT file (to be removed)
; NDXin = system.ndx         ; input NDX file
; sysname = system_001       ; output files root name
; sites = all                ; to be titrating sites in the protein
; titrating_group = Protein  ; index group of the protein
; nCycles = 50               ; number of CpHMD cycles
                            ;; total simulation time = nCycles * tau_prot
                            ;; 1ns = 50 * 20ps
; nCPUs = 4                  ; number of CPUs to be used
; pH = 7.0                   ; pH value of the protonation states sampling
; ionicstr = 0.1             ; ionic strength used in PB
; GroDIR="/gromacs/gromacs-5.1.5_pH_I/bin/" ; GROMACS bin path

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

pypkamd-0.5.1.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

pypkamd-0.5.1-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file pypkamd-0.5.1.tar.gz.

File metadata

  • Download URL: pypkamd-0.5.1.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.8.12 Linux/5.15.0-58-generic

File hashes

Hashes for pypkamd-0.5.1.tar.gz
Algorithm Hash digest
SHA256 6282b2f64e9714af3ef73d7e34414bfdd62cd6d8a0f99fcfaa5e917e007da2e9
MD5 f4c8b39509437150fe54d76bd81daa6f
BLAKE2b-256 610615aea444e6c522df230ad43512b201b522ceb6152aecfb4c0dd4e6745f2a

See more details on using hashes here.

File details

Details for the file pypkamd-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: pypkamd-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.8.12 Linux/5.15.0-58-generic

File hashes

Hashes for pypkamd-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4dde287cec6a3e30c255234942c7856e6eb0d9daa57a54546aeafbc8b79e1ddc
MD5 ea05f2c2234ea3279c32539f92aae6a4
BLAKE2b-256 57d6e523e3b06458d561b3c90de65d04ae104e12550feebe3b4f557e16803391

See more details on using hashes here.

Supported by

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