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.32.tar.gz
.
File metadata
- Download URL: molparse-0.0.32.tar.gz
- Upload date:
- Size: 114.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 476744f88d2beba106ac5b9694c7f0163c831213bfdb8f7611d4343acd2b0465 |
|
MD5 | 810c8dc888fce48c3a761d25809235a6 |
|
BLAKE2b-256 | 12ad47fa16dca4873f7a2963af03b498a55652b8402dd9593e2e8a3f272d2453 |
File details
Details for the file molparse-0.0.32-py3-none-any.whl
.
File metadata
- Download URL: molparse-0.0.32-py3-none-any.whl
- Upload date:
- Size: 145.9 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 | 4ba5d260ae3e224315020d68aca636746ff0ae2199d303ce7f5942d15037aedf |
|
MD5 | bb3d1479e5bb54c099d148e98fff45b6 |
|
BLAKE2b-256 | a498c7c3e756138ba61ae48fd00341a6741564fa26d87f21e88c2606ed6c6796 |