Skip to main content

depthcharge logo depthcharge logo

Depthcharge is a deep learning toolkit for building state-of-the-art models to analyze mass spectra generated from peptides other and molecules.

About

Many deep learning tools have been developed for the analysis of mass spectra, particularly for proteomics and metabolomics data (Prosit, MS2Pip, DeepNovo, pNovo, etc.). However, each one has had to reinvent the wheel. Depthcharge aims to be a general framework for creating state-of-the-art deep learning models for mass spectrometry data, empowering developers and researchers to spend more time on innovating rather than recreating the layers needed for handling mass spectra and peptides/other molecules. Think of depthcharge as a set of building blocks to get you stared on a new deep learning project focused around mass spectrometry data. Depthcharge delivers these building blocks mostly in the form of PyTorch modules, which can be readily used to assemble customized deep learning models for your task.

Currently, depthcharge focuses on Transformer layers, a type of model that has been revolutionary for natural language processing (NLP) and computer vision tasks. We've found Transformers to be particularly well-suited for mass spectra and our de novo peptide sequencing tool, Casanovo, is built upon depthcharge.

Installation

Depthcharge can currently be installed with pip, and will eventually be made available through Bioconda.

Requirements

Python

Depthcharge is a Python package and requires Python >= 3.8. To check what version of Python you have installed, you can run:

$ python --version

If you do not have Python installed, we recommend Miniconda, which also comes with the conda package manager. See the Miniconda documentation for details.

PyTorch (optional)

Depthcharge creates PyTorch modules which you can use to create deep learning models for your application. PyTorch can be installed automatically during Depthcharge installation; however, to get the most out of Depthcharge and PyTorch, you'll likely want to install PyTorch manually to account for any GPUs and their drivers that you may have installed. To install PyTorch, follow the installation instructions found in the PyTorch documentation.

ppx (optional)

ppx is a Python package for downloading data from the MassIVE and PRIDE repositories. Although Depthcharge does not depend on ppx, we do use it in our vignettes. To install ppx, either use pip:

$ pip install ppx

or conda:

$ conda install -c bioconda ppx

Install with pip

Install depthcharge with pip:

$ pip install lslcharge

Install with conda

Conda installations is not yet available, but will eventually be possible using the Bioconda channel.


More documentation coming soon!

<style> .md-typeset h1 { visibility: hidden; font-size: 2px; margin: 0px; } </style>

Metadata

Release files for lslcharge 0.1.11

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

Source distribution (sdist)

Source distribution for lslcharge 0.1.11
File Size Uploaded
lslcharge-0.1.11.tar.gz 25.5 kB Details

Built distribution (wheel)

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

Total release size: 53.9 kB

Release files / lslcharge-0.1.11.tar.gz

Download URL lslcharge-0.1.11.tar.gz
Size 25.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e4903af3ee47cc1c25d76411ac6ae7d52341c3bbe7ebaf0358ca403f03917bac
BLAKE2b-256 checksum
How to use checksums
d02c0c6b8f5453d9adf0ad15223c6c8879498f6bdafb89b06df93c13f53c1aac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.14

Release files / lslcharge-0.1.11-py3-none-any.whl

Download URL lslcharge-0.1.11-py3-none-any.whl
Size 28.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d2be7a24f36ea6aa2409e4a87eee32efe7aa714cef3b862bc7b8fc8e8635162
BLAKE2b-256 checksum
How to use checksums
10162765531eb7d1dc082255a0008379d55d876ae97f5350192111b9ccfb6250
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.14

Release history Release notifications | RSS feed

This release

0.1.11 This release

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

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