Skip to main content

A web-based tool to visualize activities in proteins

Project description

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, ...
    ]
  }
}

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

ProtViewer-0.0.6.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

ProtViewer-0.0.6-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file ProtViewer-0.0.6.tar.gz.

File metadata

  • Download URL: ProtViewer-0.0.6.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for ProtViewer-0.0.6.tar.gz
Algorithm Hash digest
SHA256 d278e2f41b42d0ddde4697fafcdbbf7f361227da3d49c9c09aad1c1459fd46a5
MD5 ef47497a25ea35e3e1a2121bba4406f3
BLAKE2b-256 47c51a2a0d13f1d8080bfed33a887b6be9d5cad7c8c7c2e1047b0923d93a0349

See more details on using hashes here.

File details

Details for the file ProtViewer-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: ProtViewer-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for ProtViewer-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a49900a00e1880b7d56474934e392e5d4bef827f3e880c8019899ded52a21403
MD5 3af9c5f08f7d91d0212f6bf79d4718f1
BLAKE2b-256 abbe58ded5198e60ae21dc57444f79ddcd3ec3f50c6c4ef55b8e15d9136f403e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page