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
Hashes for molparse-0.0.30-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcf76ceff7495f52762e24022e680cbecf99af46c9f539fd2ad9b3fb88dcd3b0 |
|
MD5 | 2e3fa11f165507df735739c0e6172d67 |
|
BLAKE2b-256 | 7a6b3a4f2a6b1e498dc7c68e33423591bf3c087f560978c99cc6a167d4e50502 |