Skip to main content

ProtViewer

A tool to view activity pattern in protein structures. Protein structure visualization is only one application of this tool. One can visualize arbitrary graphs with some activity patterns with this tool.

Website

You can use the tool very easily to visualize activities of certain nodes in graphs. The online-viewer can be used to visualize activity of nodes in a graph. One example is the binding prediction of some model for protein-ligand interactions. The model can output scores defining how much influence a certain node had on the prediction if or if not a certain protein binds to a target or not.

Generating Activity Files

You can easily generate the input files for the online viewer yourself be following the structure described in the "Activity File Structure" section below.

Package Installation

Otherwise, you can install the python package to generate the files using pip

pip install protviewer

and also updating is very easy. Just type

pip install --upgrade protviewer

Package Usage

To use the package and generate the activities for a certain protein, just call

from viewer import view

view(pdb_file, output_dir, activities, distances)

This will generate the json-file inside the output_dir as [pdb_file].json. You can then directly upload this output file to the web service and investigate what your model guided to the decision if a model binds or not.

Activity File Structure

The json-file you input to the online-viewer has to have the following structure

{
  "nodes": [
    "AA_1": {
      "x": ...,
      "y": ...,
      "z": ...,
      "activity": ...,
      "distance": ...,
    }, ...
  ],
  "edges": {
    "start": [
      0, 2, 1, 5, 3, ...
    ],
    "end": [
      2, 1, 5, 3, 6, ...
    ]
  }
}

Release files for ProtViewer 0.0.6

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

Source distribution (sdist)

Source distribution for ProtViewer 0.0.6
File Size Uploaded
ProtViewer-0.0.6.tar.gz 5.2 kB Details

Built distribution (wheel)

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

Total release size: 11.0 kB

Release files / ProtViewer-0.0.6.tar.gz

Download URL ProtViewer-0.0.6.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d278e2f41b42d0ddde4697fafcdbbf7f361227da3d49c9c09aad1c1459fd46a5
BLAKE2b-256 checksum
How to use checksums
47c51a2a0d13f1d8080bfed33a887b6be9d5cad7c8c7c2e1047b0923d93a0349
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.0.1 pkginfo/1.8.2 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.3

Release files / ProtViewer-0.0.6-py3-none-any.whl

Download URL ProtViewer-0.0.6-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a49900a00e1880b7d56474934e392e5d4bef827f3e880c8019899ded52a21403
BLAKE2b-256 checksum
How to use checksums
abbe58ded5198e60ae21dc57444f79ddcd3ec3f50c6c4ef55b8e15d9136f403e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.0.1 pkginfo/1.8.2 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

1 release file

0.0.1

1 release file

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