Skip to main content

Package for parsing, writing, and modifying molecular structure files

Project description

MolParse

GitHub Tag release lint

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 xchem-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/xchem/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

xchem_molparse-1.0.0a1.tar.gz (145.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xchem_molparse-1.0.0a1-py3-none-any.whl (176.3 kB view details)

Uploaded Python 3

File details

Details for the file xchem_molparse-1.0.0a1.tar.gz.

File metadata

  • Download URL: xchem_molparse-1.0.0a1.tar.gz
  • Upload date:
  • Size: 145.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xchem_molparse-1.0.0a1.tar.gz
Algorithm Hash digest
SHA256 98ced731827f8307401665b8c660e0cea95d7174731261d8c5ba472471606bd4
MD5 f5071858053628ec94c819d0d567d096
BLAKE2b-256 aad159331c6c82281b19e7f34acc05d1506451c384aa29ebe2742ea3741dcc37

See more details on using hashes here.

Provenance

The following attestation bundles were made for xchem_molparse-1.0.0a1.tar.gz:

Publisher: release.yaml on xchem/MolParse

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xchem_molparse-1.0.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for xchem_molparse-1.0.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 c53f2f6b5c8af19f001f6ab78f99f674b3af0cf8bc32a6d8a9e1ce6d3d66de61
MD5 37cac3c28de2ad9a4f539424b90216b8
BLAKE2b-256 88b4132aeb69c05625b8f5e97891e6e3bddba70f7a07a99bd618ea67eedb7297

See more details on using hashes here.

Provenance

The following attestation bundles were made for xchem_molparse-1.0.0a1-py3-none-any.whl:

Publisher: release.yaml on xchem/MolParse

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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