Skip to main content

protexam

Inspect your quantitative proteomics results using this streamlit-powered dashboard. The app is specifically tailored for comprehensive examination of result files from isobaric labeling-based quantitative experiments.

protexam has been tested on Python 3.8 on Windows 10 and Ubuntu 20.04. The package is dependent on multiple packages, such as streamlit, bokeh, matplotlib. Because of that, we strongly advise creating a virtual environment. One option is venv, which is a part of Python's standard library.
First, we need to choose a path and create a virtual environment there. On Linux, create the environment using the command line, with your custom path and project name:

python3 -m venv /your_project_path/project_name

Now we can activate the newly created environment:

source /your_project_path/project_name/bin/activate

If the environment has been activated correctly, the name of the environment should be displayed in the console.

(project_name) user:~$

It is a good idea to update pip within the virtual environment before installing other packages:

pip3 install --upgrade pip

We can now install protexam. The installation will take a while due to the long list of dependencies.

pip3 install protexam

The dashboard is based on streamlit, so we will need to run the script app.py in order to deploy the dashboard. The module will help us to find the path to the app.py file. Run the module as follows:

python3 -m protexam

The output in the console will contain a few notes, including the path to the source file. Change the working directory using the suggested path:

cd /path_to_app_source

Finally, run the app:

streamlit run app.py --server.maxUploadSize 1000 --server.port 8501

where: server.maxUploadSize - max size of a single text file in MB server.port - port for the app

We would need to modify the above-mentioned commands if we are using a Windows machine:

>python -m venv /your_project_path/project_name
>your_project_path/project_name/Scripts/activate
>pip install --upgrade pip
>pip install protexam
>python -m protexam
>cd path_to_app_source
>streamlit run app.py --server.maxUploadSize 1000 --server.port 8501

Right after launching the app, streamlit will give us a hint on how to access the dashboard in a web browser. To view locally, go to:

http://localhost:8501

Use the IP address to view the dashboard in the local network:

http://ip-of-the-server:8501

The dashboard has been specifically adapted for the Proteome Discoverer (PD) tab-delimited output files. However, a few of the MaxQuant tables are also supported. There are two options for creating tab-delimited text output in PD 2.4:

  • add the Result Exporter node to tconsensus workflow. We usually choose "True" for the "R-Friendly header" option, but the app works with "False" as well. The resulting text files can be found in the study folder.
  • if the workflows have been already completed, open the PD result file and go to the menu File -> Export -> To Text (tab delimited).

The files are uploaded and visualized one-by-one. Choose one of the permitted tables and upload. The app will try to determine the type of the uploaded file and show it below the upload widget. If the type has been inferred correctly, press the "Generate Plots" button. If you know the type of the table, but it has not been determined automatically, you can override it manually by selecting from the list, an then pressing the "Generate Plots" button.

Metadata

Release files for protexam 0.9.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 protexam 0.9.1
File Size Uploaded
protexam-0.9.1.tar.gz 24.4 kB Details

Built distribution (wheel)

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

Total release size: 48.7 kB

Release files / protexam-0.9.1.tar.gz

Download URL protexam-0.9.1.tar.gz
Size 24.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e90484949ccd79a5137b656d37f434b166291348880fe36dce9984f73dae3170
BLAKE2b-256 checksum
How to use checksums
9352f69c63ae5727172ab5ad70e80f098ec6fc7dba132ebce06a9f5eee52ef72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.46.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.1

Release files / protexam-0.9.1-py3-none-any.whl

Download URL protexam-0.9.1-py3-none-any.whl
Size 24.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e38ded667a609d63798de7f233d0bb20ada2490d907beb2f54450e1a7b80050c
BLAKE2b-256 checksum
How to use checksums
483fa5361fc40ba3a19cf5e84f22c768a100b4960dde7c177adb70f926eeda6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.46.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.1

Release history Release notifications | RSS feed

This release

0.9.1 This release

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