No project description provided
Project description
pyGCMC
pyGCMC is a python package for performing grand canonical Monte Carlo simulations of molecules in nanoporous materials. It is designed to be easy to use and to be easily extensible. It is also designed to be easy to install, with minimal dependencies. The package is written in pure python, and the only dependencies are numpy.
Requirements
The python package is written in python, C++ and CUDA. The python package requires numpy. The C++ code requires a C++11 compatible compiler. The CUDA code requires a CUDA compatible GPU and the CUDA toolkit.
Installation
The package can be downloaded from GitHub https://github.com/mackerell-lab/pyGCMC
Download the source code from GitHub and run the setup script:
pip install .
Or you can install the package from PyPI:
pip install pygcmc
The web page for the package on PyPI is https://pypi.org/project/pygcmc/
Usage
Run the pyGCMC executable:
usage: pygcmc [-h] -p file.pdb [-t file.top] [-s file.psf] [-o file.txt] [-u muex1,muex2,...] [-f conf1,conf2,... or conf] [-n mcsteps] [-m mctime1,mctime2,...]
[-c conc1,conc2,...] [-y cavity_bias_dx] [-e seed] [-P] [-w]
pyGCMC - A python package for GCMC simulation
options:
-h, --help show this help message and exit
-p file.pdb, --pdb-file file.pdb
The file .pdb for GCMC
-t file.top, --top-file file.top
The file .top for GCMC
-s file.psf, --psf-file file.psf
The file .psf for GCMC
-o file.txt, --out-file file.txt
The output file for GCMC
-u muex1,muex2,..., --fragmuex muex1,muex2,...
The value of solute muex(splice by , with no space), if the first value is negative, then follow the -u or --fragmuex without space
-f conf1,conf2,... or conf, --fragconf conf1,conf2,... or conf
The value of solute conf(splice by , with no space). Or only one value for all solutes
-n mcsteps, --mcsteps mcsteps
The number of MC steps
-m mctime1,mctime2,..., --mctime mctime1,mctime2,...
The mctime of solutes(splice by , with no space)
-c conc1,conc2,..., --fragconc conc1,conc2,...
The value of solute concentration(splice by , with no space)
-y cavity_bias_dx, --cavitybias-dx cavity_bias_dx
The value of cavity bias dx(if dx <= 0, then no cavity bias)
-e seed, --seed seed The seed of random number
-P, --PME Enable PME(Default: Disable)
-w, --show-info Show the information of solutes
To Run gcmc as the old version, you can use the following command:
usage: gcmc [-h] -p PARAMFILE [-v] [--logfile LOGFILE] [--debug] [--version]
Perform GCMC Simulation
options:
-h, --help show this help message and exit
-p PARAMFILE, --paramfile PARAMFILE
[Required] input parameter file
-v, --verbose [Optional] verbose output
--logfile LOGFILE [Optional] log file, if not specified, then output will be stdout
--debug [Optional] for debug purpose
--version Show program's version number and exit
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pyGCMC-0.9.231216.tar.gz.
File metadata
- Download URL: pyGCMC-0.9.231216.tar.gz
- Upload date:
- Size: 4.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
249471add8111447ab6f814dd153c768e0860e85384c6c18ef34c1195ee32579
|
|
| MD5 |
9732820ae1932e03e85e97986e197624
|
|
| BLAKE2b-256 |
053eac076c33c744b95812087e3698b364f508c5b93d4dc09e14ec4b6eb329d8
|