This release is a pre-release and may not be stable for production use.
ProteomicsCoPYlot 1.0.0b2.post1: GitHub Beta 2 package synchronization
This Python package contains the notebook code, R helpers, example data and tutorial from the published GitHub Beta 2 release, commit 9e1c013b4fe61dbe7936d1dcedc530cab5912f3a.
The earlier PyPI 1.0.0b2 was uploaded on November 2, 2026, before the final Beta 2 source was frozen. It cannot be overwritten. The .post1 suffix distinguishes this synchronized package; the desktop application remains Beta 2. This is a one-time version correction, not a new application release.
Install explicitly: python -m pip install --upgrade "proteomicscopylot[bio]==1.0.0b2.post1". Python 3.11 or newer is required. Omit [bio] if FASTA support is not needed.
Proteomics CoPYlot
Proteomics CoPYlot is a React and FastAPI application for proteomics and phosphoproteomics analysis, visualization, reporting, and read-only dataset sharing. It also provides notebook-facing Python and R helpers.
Capabilities
- Upload wide-format quantitative tables; Spectronaut and DIA-NN column names are recognized automatically, and other exports can be mapped by naming the sample columns during annotation. Spectronaut peptide pivot, long and PTM site reports, MaxQuant
evidence.txtand FragPipe combined protein, ion and peptide tables are read through adapters. - Annotate samples and manage protein, peptide, phosphosite, and phosphoprotein datasets.
- Run completeness, quality-control, statistical, comparison, peptide, phospho, and single-protein workflows.
- Generate interactive Plotly and static Matplotlib/Seaborn plots.
- Customize plot titles, labels, colors, axes, grids, themes, and download output.
- Save and restore UI/report state, with a portable export that omits local dataset paths for sharing.
- Publish configured datasets through read-only viewer and password-gated viewer-portal modes.
- Use optional AI features, backed by a local Ollama instance, a local server with the OpenAI-compatible API (llama.cpp, vLLM, LM Studio), or a cloud provider.
- Reuse analysis helpers from Python or R notebooks.
Download and run
Download the complete ZIP for your computer from GitHub Releases, including releases marked Pre-release during the beta. Choose the standard edition or the AI edition for the optional chat features, then extract the ZIP. These application downloads include Python; no separate Python installation is needed.
On Windows, open ProteomicsCoPYlot.exe (or ProteomicsCoPYlotAI.exe). On Linux
or macOS, run the extracted ./ProteomicsCoPYlot (or ./ProteomicsCoPYlotAI)
from a terminal. Keep the terminal open while using the app; the interface opens
in your browser. Choose arm64 for Apple Silicon Macs and x86_64 for Intel Macs.
Please allow time for startup and launch only once. CoPYlot first unpacks its bundled Python runtime, loads the scientific libraries, and starts a local server. The browser interface connects to that server once it is ready.
| Build (standard and AI) | Approximate startup |
|---|---|
| Windows | 1–2 minutes |
| Linux (Docker) | About 20 seconds |
Quick start from source
The current development release is 1.0.0 Beta 2 (planned GitHub tag
v1.0.0-beta.2). Python metadata uses the equivalent version 1.0.0b2.
See release versions for the naming convention.
Install backend and frontend dependencies on Windows:
py -m venv backend\.venv
.\backend\.venv\Scripts\python.exe -m pip install -r backend\requirements.txt
npm.cmd --prefix frontend install
Run the analysis application:
.\packaging\windows\run_app.bat
Run the viewer:
.\packaging\windows\run_viewer.bat
On macOS and Linux, the same launchers are in packaging/unix/ (for example bash packaging/unix/run_app.sh).
See Installation, Running, and Packaging (and Environment variables) for every supported platform, AI variants, production launch, Docker, viewer portals, and executable/package builds.
For code navigation, explore the interactive architecture.
Application modes
- Analysis: full upload, annotation, analysis, external-tool, and report workflow.
- Viewer: read-only access to datasets configured by
viewer_config.json. - Viewer portal: password/session routing to projects under
viewer_data/. - AI variants: analysis or viewer modes with a chat surface.
Metadata profiles
Uploaded annotation metadata must contain a sample column and one to five categorical
grouping columns. Each grouping column becomes a source metadata profile; pair_id, when
present, is retained as pairing structure rather than treated as a group. CoPYlot creates
every non-singleton combination of the source profiles automatically, so five grouping
columns produce 26 derived profiles. A conventional two-column sample,condition file
continues to populate the currently selected profile. Uploads above the five-profile limit
are rejected before any profile is changed. Deleting a source profile also deletes its
dependent derived profiles and frees a source-profile slot.
Metadata can be converted to CoPYlot's upload format with an LLM using the metadata conversion prompt.
AI providers and data handling
The chat surface runs against a local Ollama instance by default, in which case nothing leaves the machine. It can also be pointed at a cloud provider, which requires an API key and sends data to that provider:
| provider | endpoint |
|---|---|
| Ollama (default) | local, no external request |
| Local server (OpenAI-compatible) | a llama.cpp, vLLM or LM Studio server the operator allows, e.g. http://host:8080/v1 (see Installation) |
| OpenAI | https://api.openai.com/v1/chat/completions |
| Anthropic | https://api.anthropic.com/v1/messages |
| Google Gemini | https://generativelanguage.googleapis.com/v1beta/models |
When a cloud provider is selected, the request includes context derived from the loaded dataset, such as condition-level summary statistics and top differential hits, not only the question that was typed. Use Ollama or a local server for unpublished or otherwise sensitive data.
Provide the key through OPENAI_API_KEY, ANTHROPIC_API_KEY or GEMINI_API_KEY where
possible; a key set in the environment takes precedence over one entered in the interface and
is never transmitted from the browser.
Each model works at an assistant level (Basic, Standard or Advanced) that matches what it handles reliably: small models take one small step at a time and answer with sentences the application writes; large models may restyle a whole figure, apply Nature or Cell Press figure specifications and write their own answers, whose numbers the application checks. The rules are the same at every level; see Installation.
See AI conversation logs for inspecting and downloading the assistant activity record.
Saving work
Refreshing the analysis app starts a new analysis. After interaction, the browser warns before refresh/close/navigation if analysis data or saved UI settings have changed since the last successful save; cancelling leaves the current page intact. The browser controls the wording and may suppress the dialog, especially on mobile, so save important work explicitly (Ctrl+S exports the session state). Native file writes establish the saved baseline only after completion. For ordinary downloads, confirm that the file was downloaded; otherwise the warning remains active. Failed or uncertain backend writes conservatively remain unsaved until saving again. Viewer mode does not reset or show this analysis warning.
Notebook package
The pip package provides Python analysis and plotting functions for scripts and notebooks. The browser application is distributed separately through GitHub Releases. Python 3.11 or newer is required; Python 3.11–3.13 are tested.
See Python and R installation for the Beta 2 version pin, checkout and editable installs, and optional dependencies.
from proteomicscopylot import notebook_functions as pcp
data = pcp.load_example_data("protein")
metadata = pcp.load_example_data("protein_metadata")
filtered = pcp.filter_data(data, metadata, 3, "per_group")
results = pcp.volcano_data_f(filtered, metadata, "WT", "GRK")
Load the bundled HEK293 example with load_example_data("protein") (also "phospho",
"phosphoprotein", "protein_metadata" and "phospho_metadata"); the R functions provide
the same load_example_data().
View the HEK293 example with plots and tables · Python notebook · R notebook
Run the Python tutorial. Download the example notebook from the matching release checkout, or copy the exact version included in your installed Beta 2 wheel. In a new working folder:
python -m pip install jupyterlab
python -c "from importlib.resources import files; open('example.ipynb','xb').write(files('proteomicscopylot').joinpath('example.ipynb').read_bytes())"
python -m jupyterlab example.ipynb
Select your CoPYlot Python environment and run all cells for the bundled experiment. The settings cell also supports your own tables, input scales, comparison groups and an optional results folder.
Run the R example script from the checkout. For the shared table functions, set RETICULATE_PYTHON to the Python executable in your CoPYlot environment before starting R.
The Python package, the R functions (notebook_functions.R, loaded with source(); it
is a script, not an installable R package) and the app support the same core analysis
workflows. Use the examples above for detailed usage and parameter choices.
Notebook exports
Optional contaminant filtering uses the bundled Cambridge cRAP reference and selectable categories. It is off by default and retains mixed protein groups; gene symbols are not matched.
Most plots and tables, and the report, can be downloaded as a ZIP that holds a Jupyter notebook recreating them. By default the ZIP holds what cannot be recomputed: the code, the settings, the outputs, and for imputed data the values that were drawn. The notebook asks for the path of the original upload in its first cell, checks the file by a fingerprint of its content (a different file is reported, not refused), replays the recorded preprocessing (identifier translation, normalization, filtering, localization cutoff, phosphosite collapse) and places the drawn values; the imputation call is shown and run for comparison, never used.
Two options under Settings, both off by default, add data to the ZIP: Ship data matrices
includes the matrix each output was drawn from, and Ship full imputed matrix the whole
imputed matrix. The notebook then runs as it is, and switches to the original file as soon as
its path is filled in. The last cell always compares every figure byte for byte with the one
CoPYlot produced, which requires the package versions in the ZIP's requirements.txt and
the same fonts.
The installable package includes:
proteomicscopylot/notebook_functions.pyproteomicscopylot/notebook_functions.Rproteomicscopylot/example_data/- the human and mouse Gene Ontology reference tables
Optional R features
R is not required. Two features are delegated to their reference Bioconductor
implementations rather than reimplemented, so that "VSN" and "limma" in a Methods
section mean exactly those packages: VSN normalization (vsn, Huber et al. 2002)
and the moderated t-tests (limma, Ritchie et al. 2015). The app runs them as a
separate Rscript process and offers them only when R and the package are present;
without R the corresponding options are hidden. See the R package installation commands.
The Settings page reports whether Rscript is available. Detection checks explicit CoPYlot/R environment variables, PATH, and common platform installation locations. The desktop
bundles and the pip package do not include R; the Docker image does (R 4.2, Bioconductor 3.16).
These R packages keep their own licences (R: GPL-2; limma: GPL ≥ 2; vsn: Artistic-2.0);
CoPYlot calls them and does not copy or link their code.
Architecture
See Architecture for runtime flow and directory ownership.
Viewer configuration
See Viewer portal setup for the HEK293 defaults, credential example and private-file guidance, and Docker credentials and access links for deployment security.
Docker
See Docker setup and commands for the analysis and viewer stacks.
Development
See development setup and checks, plus the installation guide's platform-specific dependencies, validation commands and reproducible dependency sets.
Methods and citations
Several analyses re-implement or delegate to published methods. If you use them,
please cite the original work alongside this software. This table is generated from
backend/app/services/method_references.py, the list the report and the manual cite from.
| Method | Where it is used | Reference |
|---|---|---|
| Cambridge cRAP contaminant reference | Optional exact-identifier filtering; Cambridge Centre for Proteomics / camprotR reference | Gatto (2025), 10.5281/zenodo.15115102 |
| Quantile normalization | Normalization across samples | Bolstad et al. (2003), 10.1093/bioinformatics/19.2.185 |
| Variance-stabilizing normalization | Normalization delegated to Bioconductor vsn | Huber et al. (2002), 10.1093/bioinformatics/18.suppl_1.S96 |
| Low-quantile normal imputation (default) | Missing values drawn around a low quantile of the observed values, in the spirit of MinProb | Lazar et al. (2016), 10.1021/acs.jproteome.5b00981 |
| Downshifted-normal imputation | Missing-value imputation, 'numerical' method (Perseus defaults) | Tyanova et al. (2016), 10.1038/nmeth.3901 |
| Student's t-test | Pooled-variance and paired volcano tests | Student (1908), 10.1093/biomet/6.1.1 |
| Welch's t-test | Unequal-variance volcano test | Welch (1947), 10.1093/biomet/34.1-2.28 |
| Moderated t-test (limma) | Empirical-Bayes moderated volcano tests, delegated to Bioconductor limma | Ritchie et al. (2015), 10.1093/nar/gkv007 |
| Robust empirical-Bayes prior (limma) | The 'robust' variant of the moderated t-test | Phipson et al. (2016), 10.1214/16-AOAS920 |
| Benjamini-Hochberg false discovery rate | Multiple-testing correction | Benjamini & Hochberg (1995), 10.1111/j.2517-6161.1995.tb02031.x |
| Tukey HSD post-hoc test (Tukey-Kramer for unequal group sizes) | Pairwise comparisons after ANOVA | Tukey (1949); Kramer (1956), Biometrics 5:99-114; Biometrics 12:307-310 |
| Hypergeometric over-representation test | GO over-representation analysis | Rivals et al. (2007), 10.1093/bioinformatics/btl633 |
| Gene Ontology | Term annotations for over-representation analysis | Ashburner et al. (2000); Gene Ontology Consortium (2023), 10.1038/75556; 10.1093/genetics/iyad031 |
| Class I phosphosite localization (probability >= 0.75) | Phosphosite coverage classes | Olsen et al. (2006), 10.1016/j.cell.2006.09.026 |
| Kinase-substrate specificity atlases | Kinase Library input preparation and result visualization | Johnson et al. (2023); Yaron-Barir et al. (2024), 10.1038/s41586-022-05575-3; 10.1038/s41586-024-07407-y |
| UMAP | Sample embedding (optional) | McInnes et al. (2018), arXiv:1802.03426 |
| t-SNE | Sample embedding (optional) | van der Maaten & Hinton (2008), J. Mach. Learn. Res. 9:2579-2605 |
Kinase enrichment is calculated externally in the Kinase Library. CoPYlot prepares the phosphosite input and visualizes the returned results.
License
Proteomics CoPYlot code is distributed under GNU GPL version 3. See NOTICE for authorship and peptide-collapse credits. Executable releases include corresponding source and third-party notices; distribute the complete release ZIP rather than the executable alone. Bundled biological reference data retain their upstream terms and attribution; see Biological reference data.
The bundled HEK293 demonstration dataset is released separately under CC BY 4.0. Its contents, checksums, experimental design, and provenance are described in Example data.
For citation metadata, see CITATION.cff. Deployment security requirements are covered in Installation, Running, and Packaging.
Metadata
Release files for proteomicscopylot 1.0.0b2.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| proteomicscopylot-1.0.0b2.post1.tar.gz | 10.8 MB | Without provenance | Details for proteomicscopylot-1.0.0b2.post1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| proteomicscopylot-1.0.0b2.post1-py3-none-any.whl | Python 3 | none | any | Details for proteomicscopylot-1.0.0b2.post1-py3-none-any.whl |
Total release size: 21.5 MB
Release files / proteomicscopylot-1.0.0b2.post1.tar.gz
| Download URL | proteomicscopylot-1.0.0b2.post1.tar.gz |
|---|---|
| Size | 10.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad35eba17bb2d52cc126424d3cd8b70124eb2407090e36b4b959d1aad1fca36e
|
|
BLAKE2b-256 checksum How to use checksums |
ef027ec37b19c08087a7fe8516b43b4c1864622a1a823f4a4a01f7d09bdf1f1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.3
|
Release files / proteomicscopylot-1.0.0b2.post1-py3-none-any.whl
| Download URL | proteomicscopylot-1.0.0b2.post1-py3-none-any.whl |
|---|---|
| Size | 10.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f0f45434d5c13f8e237e4bc0e6172b015b762f8095978a1945f863da7dc60419
|
|
BLAKE2b-256 checksum How to use checksums |
7d6b43773143515a49c3bc80e642eb2a4f58bf1f07e72437cd44aa3173d49d6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.3
|
Security for proteomicscopylot 1.0.0b2.post1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.