Package for parsing, writing, and modifying molecular structure files
Project description
A python package for parsing, modifying, and analysis of molecular structure files.
Installation
Easiest way to install is from PyPI:
pip install molparse
Usage
Python Module
MolParse is primarily a python module which can be used interactively, or within (batch) scripts:
Use pydoc
to see help on the molparse
module, or its methods & classes. E.g. from a shell:
pydoc molparse
pydoc molparse.System
Binaries and command-line programs
moltree
In addition to the python module, an interactive command-line interface is available with the binary moltree
. Pass a
PDB or GRO file as follows:
moltree <FILE>
Use the mouse to interact with buttons and CTR-C to exit.
molxvg
Gromacs produces data files in XVG format by default, these can be parsed using the molparse.xvg.parseXVG
method from
within a python environment, alternatively a binary exists to access its basic functionality from the command line. Run
the following to open an interactive plotly graph of an xvg:
molxvg [FILE.xvg] -s
Other options can be found by running molxvg --help
.
Installation from source
Requirements
Installing ASE
pip install --upgrade --user ase
export PATH=$PATH:~/.local/bin
to your.bash_profile
export PYTHONPATH=$PYTHONPATH:~/.local/lib/python3.X/site-packages
to your.bash_profile
Where X is your python version.
MPyTools
git clone https://github.com/mwinokan/MPyTools.git
- Add
export MPYTOOLS=/path/to/directory
to your.bash_profile
- Add
export PYTHONPATH=$PYTHONPATH:$MPYTOOLS
to your.bash_profile
MolParse
git clone https://github.com/mwinokan/MolParse.git
- Add
export MOLPARSE=/path/to/directory
to your.bash_profile
- Add
export PYTHONPATH=$PYTHONPATH:$MOLPARSE
to your.bash_profile
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 molparse-0.0.33.tar.gz
.
File metadata
- Download URL: molparse-0.0.33.tar.gz
- Upload date:
- Size: 115.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9adc1e2faeebf040d602570f164c97e085fffd109f96112102ba1e03584d5638 |
|
MD5 | 83fc03b946adf2c41560c6423c57d969 |
|
BLAKE2b-256 | 56b8f9eabbae72c048e10ce53a4d82e1db102842ef2c578d4f7fcfee281265fe |
File details
Details for the file molparse-0.0.33-py3-none-any.whl
.
File metadata
- Download URL: molparse-0.0.33-py3-none-any.whl
- Upload date:
- Size: 146.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 988952dfa72b7d61ed062a8f3bb1129ab82a1e5b3f3c67cfb1ac881c3376d2c3 |
|
MD5 | 74288e1a4a5dccfd3218f028a2898044 |
|
BLAKE2b-256 | 689b0c5da182af4fe8314d940ced86d28d965cb3ff6bd908e9aea2ec76358c4e |