Skip to main content

Tool for fast inspection of PDB molecular files inside the terminal

Project description

MolPrisma

This is a tool for fast inspection of PDB molecular files inside the terminal. It is very lightweight, its only dependency being the Prisma TUI framework (which itself has no dependencies for Linux).

Quickstart

pip install molprisma
molprisma your_file.pdb

Features

MolPrisma Logo

  • Use the UP,DOWN,PREVPAGE,NEXTPAGE, - (top) and + (end) keys to quickly nagivate through the PDB rows.
  • Use the LEFT and RIGHT keys to highlight a concrete PDB section (i.e. column) and see their indices/name (according to the standard).
    • Visual separation of the PDB sections via colors also helps to easily spot offset issues.
  • Show/hide whole groups of rows via a simple key press:
    • 1: Toggle between showing all or showing nothing.
    • 2: Toggle the atoms (lines starting with ATOM).
    • 3: Toggle the heteroatoms (lines starting with HETATM).
    • 4: Toggle the metadata (everything else not considered by 2 or 3). It is hidden by default.
  • Filter out rows that don't match a specific combination of values.
    • a: Alternate atom_name value to filter.
    • r: Alternate residue_name value to filter.
    • e: Alternate element_id value to filter.
    • c: Alternate segment_id (a.k.a chain) value to filter.
    • i: Alternate residue_insertion_code value to filter.
    • l: Alternate altloc (i.e. alternate location indicator) value to filter.
  • Reset the shown/hidden groups and the filters at any moment by pressing k.

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

molprisma-1.0.1.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

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

molprisma-1.0.1-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file molprisma-1.0.1.tar.gz.

File metadata

  • Download URL: molprisma-1.0.1.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for molprisma-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ac68048c99ba454b8d4501383ecf561a295b254e0f432a73fa47c86caf7490da
MD5 da318d4f54b951ae7d1fc16073ffa970
BLAKE2b-256 15a14123021a3f56988977896ecd9e5359bd734960cc1273fbeb8921e8e39193

See more details on using hashes here.

File details

Details for the file molprisma-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: molprisma-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for molprisma-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2cbb97a5b855a8c4aaf7202360e0036f8610ae0f8c47a6f5ec226d2a93614745
MD5 b3ae17f743021a582c84196d30f06789
BLAKE2b-256 08712e17c5548460f6330dd780b8ca60bb1c9bffac24536c1f7f47ddafde1f5e

See more details on using hashes here.

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