Skip to main content

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.

Metadata

Release files for molprisma 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for molprisma 1.0.1
File Size Uploaded
molprisma-1.0.1.tar.gz 11.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for molprisma 1.0.1
File Interpreter ABI Platform
molprisma-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 23.7 kB

Release files / molprisma-1.0.1.tar.gz

Download URL molprisma-1.0.1.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ac68048c99ba454b8d4501383ecf561a295b254e0f432a73fa47c86caf7490da
BLAKE2b-256 checksum
How to use checksums
15a14123021a3f56988977896ecd9e5359bd734960cc1273fbeb8921e8e39193
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / molprisma-1.0.1-py3-none-any.whl

Download URL molprisma-1.0.1-py3-none-any.whl
Size 12.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2cbb97a5b855a8c4aaf7202360e0036f8610ae0f8c47a6f5ec226d2a93614745
BLAKE2b-256 checksum
How to use checksums
08712e17c5548460f6330dd780b8ca60bb1c9bffac24536c1f7f47ddafde1f5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page