Skip to main content

A visualisation tool for protein embeddings from pLMs

Project description

ProtSpace

PyPI version Python 3.10+ License: GPL v3 Downloads DOI

ProtSpace is a visualization tool for exploring protein embeddings or similarity matrices. It projects high-dimensional protein language model data into 2D space, color-codes proteins by biological annotations, and exports publication-ready figures.

  • Multiple projections: PCA, UMAP, t-SNE, MDS, PaCMAP
  • Automatic annotations: UniProt, InterPro, and Taxonomy
  • Structure viewer: Integrated protein structure visualization
  • Export: PNG, PDF, SVG, HTML

🌐 Try Online

ProtSpace Web (recommended): Fast 2D explorer optimized for large datasets — drag & drop .parquetbundle files (source)

Legacy Dash frontend: Original interface with 3D support (slow with large datasets)

🚀 Google Colab Notebooks

Note: Use Chrome or Firefox for best experience.

  1. Generate Protein Embeddings: Open Embeddings In Colab

  2. Prepare ProtSpace Bundle: Open Preparation In Colab

  3. Full Pipeline Demo: Open Pipeline In Colab

📦 Installation

pip install protspace

🎯 Quick Start

1. Process local data

protspace-local -i embeddings.h5 -o output_dir -m pca2,umap2

2. Explore results

Upload the generated .parquetbundle file at protspace.app/explore.

📊 Example Output

2D Example

✨ Annotations

Use -a to color-code proteins by UniProt, InterPro, or Taxonomy annotations. Groups (default, all, uniprot, interpro, taxonomy) and individual names can be mixed freely. If -a is omitted, the default group is used.

protspace-local -i data.h5                              # default UniProt annotations (fast)
protspace-local -i data.h5 -a default,interpro,kingdom  # mix groups and individual names

📖 Documentation

📝 Citation

Senoner T, Olenyi T, Heinzinger M, Spannagl A, Bouras G, Rost B, Koludarov I. ProtSpace: A Tool for Visualizing Protein Space. Journal of Molecular Biology, 168940, 2025. doi:10.1016/j.jmb.2025.168940

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

protspace-3.3.1.tar.gz (27.1 MB view details)

Uploaded Source

Built Distribution

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

protspace-3.3.1-py3-none-any.whl (690.2 kB view details)

Uploaded Python 3

File details

Details for the file protspace-3.3.1.tar.gz.

File metadata

  • Download URL: protspace-3.3.1.tar.gz
  • Upload date:
  • Size: 27.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for protspace-3.3.1.tar.gz
Algorithm Hash digest
SHA256 e5c0f98ada0e57b472a64fe9eeb605e90846b74402ca3af43ae98ff109d9aa48
MD5 a6db92b43f8259583d5f6d7cc787a39b
BLAKE2b-256 57ea8d3dc6ac89683030ecfda77f8a37ab5bf3d38ddf1c6b718b0c499d63764b

See more details on using hashes here.

Provenance

The following attestation bundles were made for protspace-3.3.1.tar.gz:

Publisher: python.yml on tsenoner/protspace

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

File details

Details for the file protspace-3.3.1-py3-none-any.whl.

File metadata

  • Download URL: protspace-3.3.1-py3-none-any.whl
  • Upload date:
  • Size: 690.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for protspace-3.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fec9ae42a1a7498e3e6c1af0880cf7d2d5dbefd31272ec7b39309ec441ed20ba
MD5 cdd3768c4a6f846ff758ac86109ad048
BLAKE2b-256 84876adabc4503596db4aeecc6976d7bc74754a8fe7048bbc39774d1983fb6db

See more details on using hashes here.

Provenance

The following attestation bundles were made for protspace-3.3.1-py3-none-any.whl:

Publisher: python.yml on tsenoner/protspace

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