Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyGCMC-1.1.240324.tar.gz (4.2 MB view details)

Uploaded Source

File details

Details for the file pyGCMC-1.1.240324.tar.gz.

File metadata

  • Download URL: pyGCMC-1.1.240324.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

Hashes for pyGCMC-1.1.240324.tar.gz
Algorithm Hash digest
SHA256 c24f06ff1a08134bb631baf65c415f3f71fb310808076578939188afdb8f201e
MD5 e50971063577eeee1cbae138986eafff
BLAKE2b-256 01899aff4200c62a6f1adf232cdcb5aed87f4261e5d5c572b796d7b958146728

See more details on using hashes here.

Supported by

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