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.0.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.0-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: molprisma-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 0a7c1e461184f3e4b98b5da675114bf41905833a8fd0302ddf4f8759f985fac6
MD5 1fc6d99228904b20865d44cb0fef3506
BLAKE2b-256 4778f1264a8afc1c8e84c046882b63c88adbdf2df449eddc53003a7fe137daaf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: molprisma-1.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5e4447dfa6632d693960c0ea4347673ab42c177f0955eee5d523642d323a865d
MD5 66ce4004ca9ca1ff7e536b9097d1a121
BLAKE2b-256 db04d748977cd12b78d402397e83a7277373ef8e360d29fc2d4368257bee0c66

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