Skip to main content

Search- and quantification-engine agnostic biological interpretation of proteomics data

Project description

alphapepttools

Tests Documentation

Search- and quantification-engine agnostic downstream processing of proteomics data

alphapepttools was made to make your life in proteomics easier!

Functionalities are intended to be as close to pure python as possible, avoiding closed end-to-end implementations, which is reflected in several design choices:

  1. AnnData is used in favor of a custom data class to enable interoperability with any other tool from the Scverse.
  2. matplotlib Axes and Figure instances are used for visualization, giving the user full autonomy to layer on custom visualizations with searborn, matplotlib, or any other compatible visualization package.
  3. Statistical and preprocessing functions are standalone and set with strong defaults, meaning that any function can be used outside of the alphapepttools context.

Design choices of alphapepttools:

  • Data handling: AnnData was chosen as a data container for two main reasons:
    1. For presenting a lightweight, powerful solution to a fundamental challenge with dataframes, which is keeping numerical data and metadata aligned together at all times. Using dataframes, the options are to either include non-numeric metadata columns in the dataframe (complicating data operations) or to add cumbersome multi-level indices and
    2. For their compatibility with the Scverse, Scanpy and all associated tools, essentially removing the barrier between proteomics and transcriptomics data analysis and enabling multi-omics analyses.
  • Plotting: Inspired by the stylia package, alphapepttools aims to provide a consistent and aesthetically pleasing visual experience for all plots. A core component of this implementation is the fact that create_figure returns subplots as an iterable data structure, meaning that once the basic layout of a plot is decided, users simply jump from one plot window to the next and populate each one with figure elements.
  • Standardization: A key consideration of this package is the loading of proteomics data, the biggest painpoint of which is the nonstandard output of various proteomic search engines. By building on alphabase, we handle this complexity early and provide the user with AnnData objects containing either proteins or precursors, where the familiar Pandas DataFrame is always just a 'df = adata.to_df().join(adata.obs)' away.

Getting started

Please refer to the documentation, in particular, the API documentation.

Installation

You need to have Python 3.10 or newer installed on your system. If you don't have Python installed, we recommend installing Mambaforge.

There are several alternative options to install alphapepttools:

  1. Install the latest development version:
git clone git+https://github.com/MannLabs/alphapepttools.git@main && cd alphapepttools
pip install -e .

or with more dependencies:

pip install -e ".[test, dev]"

Release notes

See the GitHub Release page.

Developer Guide

This document gathers information on how to develop and contribute to the alphaDIA project.

Release process

Tagging of changes

In order to have release notes automatically generated, changes need to be tagged with labels. The following labels are used (should be safe-explanatory): breaking-change, bug, enhancement.

Release a new version

This package uses a shared release process defined in the alphashared repository. Please see the instructions there

Contact

For questions and help requests, you can reach out in the scverse discourse. If you found a bug, please use the issue tracker.

Citation

t.b.a

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

alphapepttools-0.0.1.tar.gz (5.6 MB view details)

Uploaded Source

Built Distribution

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

alphapepttools-0.0.1-py3-none-any.whl (84.5 kB view details)

Uploaded Python 3

File details

Details for the file alphapepttools-0.0.1.tar.gz.

File metadata

  • Download URL: alphapepttools-0.0.1.tar.gz
  • Upload date:
  • Size: 5.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for alphapepttools-0.0.1.tar.gz
Algorithm Hash digest
SHA256 40a6a8e10fea69ebbbbee2514d77b892730c8978a11bb71ff3beb9852a39a716
MD5 b0f323222d2a88108a9da46039310cbc
BLAKE2b-256 166fc7913d78d0a63bf8a628be104fb9ba486d755d9967d45c362f14ec404251

See more details on using hashes here.

File details

Details for the file alphapepttools-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: alphapepttools-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 84.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for alphapepttools-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e5c3e703c6c76171746854c75452678b9e9fb3697ff162433f6a4aa377c0aa1b
MD5 0532cedfe6a885f523a2bc55baa832ef
BLAKE2b-256 3ae05d0540b65a0383c34d7c3b09e5c56c468ac4c9f4031d349714ce702b528b

See more details on using hashes here.

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