Skip to main content

Package for parsing, writing, and modifying molecular structure files

Project description

MolParse

GitHub Tag GitHub Actions Workflow Status GitHub Actions Workflow Status Documentation Status GitHub last commit GitHub Issues or Pull Requests Code style: black

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>

moltree

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

moltree

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

molparse-0.0.34.tar.gz (116.1 kB view details)

Uploaded Source

Built Distribution

molparse-0.0.34-py3-none-any.whl (147.2 kB view details)

Uploaded Python 3

File details

Details for the file molparse-0.0.34.tar.gz.

File metadata

  • Download URL: molparse-0.0.34.tar.gz
  • Upload date:
  • Size: 116.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for molparse-0.0.34.tar.gz
Algorithm Hash digest
SHA256 218cf73dd502768f7b6fe2bcffbf73b470597ca068ac75dd5f46fd7a89a606ad
MD5 091bc8daf10b7ffc426f68a656e3efd0
BLAKE2b-256 054c664dcc70809d32ac207de9ce61956f70643aab7741003d50f7d2bf2bf89b

See more details on using hashes here.

File details

Details for the file molparse-0.0.34-py3-none-any.whl.

File metadata

  • Download URL: molparse-0.0.34-py3-none-any.whl
  • Upload date:
  • Size: 147.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for molparse-0.0.34-py3-none-any.whl
Algorithm Hash digest
SHA256 a3dc7f5020603116b6f46475082b6ec6b21226ceddc2a84afb49709f8fdbef2c
MD5 d596047eeba7c6219dd9bbdac3a1b757
BLAKE2b-256 43aca9fac3eb9394f099c4e7ab5023fc3a6ac009d0b6c26275aa19b08b3b3b4f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page