Companion library to the MiMiC framework for input preparation.
Project description
MiMiCPy
MiMiCPy is the companion library to the MiMiC framework for streamline preparation of input files. It includes a suite of command line tools and plugins for PyMOL/VMD. Visit the MiMiC homepage for more details and documentation.
Installation
To install, run the following command:
pip install mimicpy
The PrepQM plugins for PyMOL and/or VMD can be optionally installed by running:
mimicpy_plugin_installer -pymoldir /path/to/plugin/ -vmddir /path/to/plugin/
The path to the plugin is usually either the path to the PyMOL/VMD installation, or the user home directory.
Portability Issues
MiMiCPy requires Python >= 3.5, pandas >= 0.24.0 and numpy >= 1.12.0. The plugins have been tested with PyMOL version 2.3.4 and VMD version 1.9.4a38, although other versions are expected to work. If any incompatibilities are found, please post an issue here.
Demo
A demo of atom selection for the QM region, and generation of the MiMiC-based CPMD input file using MiMiCPy is shown below.
user@system:~$ mimicpy prepqm -top acetone.top -coords acetone.gro
***** MiMiCPy *****
For more information type mimicpy [subcommand] --help
=====> Running prepqm <=====
**Reading topology**
Cannot find path to Gromacs installation.
Read atoms from acetone.itp.
No atoms found in acetone.top.
Some atom types had no atom numbers information.
They were guessed as follows:
+---------------------+
| Atom Type | Element |
+---------------------+
| c | C |
+---------------------+
| c3 | C |
+---------------------+
| o | O |
+---------------------+
| hc | H |
+---------------------+
**Reading coordinates** |Done
Please enter selection below. For more information type 'help'
> add resname is ACT
> q
Using default values for maxstep and timestep
Wrote Gromacs index file to index.ndx
Wrote new CPMD input script to cpmd.inp
=====> Done <=====
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
Built Distribution
File details
Details for the file mimicpy-0.2.1.tar.gz
.
File metadata
- Download URL: mimicpy-0.2.1.tar.gz
- Upload date:
- Size: 49.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cc5e6bf77a16e07eb0f7c81a055c5ba7e2d0a4d2de0527240c1d68b0f81bee7 |
|
MD5 | d7df2f9cccb2631683b7d4d2c4f83d6c |
|
BLAKE2b-256 | d3501921db739a0c7e3df34513b8b8b8b291083e53b2baf3017d28e705fb0d76 |
File details
Details for the file mimicpy-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: mimicpy-0.2.1-py3-none-any.whl
- Upload date:
- Size: 73.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09730a6fc431924b5381b3e31cb2f115e0f2f54e66e4bfd3fc427f28b2bcc1e0 |
|
MD5 | 91292a40111a1e90530f3e8bfffb093d |
|
BLAKE2b-256 | 676df9af7aa17d133a23675e29ee0437cebfa58b0b258e2803718a9c5b54d8e9 |