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 aseexport PATH=$PATH:~/.local/binto your.bash_profileexport PYTHONPATH=$PYTHONPATH:~/.local/lib/python3.X/site-packagesto your.bash_profileWhere X is your python version.
MPyTools
git clone https://github.com/mwinokan/MPyTools.git- Add
export MPYTOOLS=/path/to/directoryto your.bash_profile - Add
export PYTHONPATH=$PYTHONPATH:$MPYTOOLSto your.bash_profile
MolParse
git clone https://github.com/mwinokan/MolParse.git- Add
export MOLPARSE=/path/to/directoryto your.bash_profile - Add
export PYTHONPATH=$PYTHONPATH:$MOLPARSEto your.bash_profile
Metadata
Release files for MolParse 0.0.41
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| molparse-0.0.41.tar.gz | 145.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| molparse-0.0.41-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 321.5 kB
Release files / molparse-0.0.41.tar.gz
| Download URL | molparse-0.0.41.tar.gz |
|---|---|
| Size | 145.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0c15e243a7cb29f010ae6bdf37f1d870bf0bb7dc97fcae1d223b74513c38440
|
|
BLAKE2b-256 checksum How to use checksums |
fb8141df14bc6cf8e93aeba1a69a85f102c12d99cf0bea1ed1e0934a2377449a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / molparse-0.0.41-py3-none-any.whl
| Download URL | molparse-0.0.41-py3-none-any.whl |
|---|---|
| Size | 176.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bb128cdc8124570fa174c6124a9d1de81a9e7b9e46db3d7083720a8beec3a96d
|
|
BLAKE2b-256 checksum How to use checksums |
b509318ff29d72034c7a11068f7d86ec825e0774219a65537e9ccf4d6c92031e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|