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 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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file molparse-0.0.36.tar.gz.
File metadata
- Download URL: molparse-0.0.36.tar.gz
- Upload date:
- Size: 117.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f2c90824a599f3c2431f8330eb9a7e1182b455fd6d509ef4701ed553a44155c
|
|
| MD5 |
ee0a8484f14f77c55c85760610adb6d1
|
|
| BLAKE2b-256 |
372b32e0ab7e3a7b7658d7c25413a2d4c5ad5b78312fa675a44c773888402dad
|
File details
Details for the file molparse-0.0.36-py3-none-any.whl.
File metadata
- Download URL: molparse-0.0.36-py3-none-any.whl
- Upload date:
- Size: 148.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60008b63d1925255e35629c62e3c8f2cf76209f6bff870bdbf6b546dd1a5d961
|
|
| MD5 |
139cdae825962255685211c902f333d1
|
|
| BLAKE2b-256 |
d2904a9e9ab99eb9119004e222a9f4a293f3923319f29ef0f4465630c632698e
|