Skip to main content

A deep learning toolkit for proteomics, equipped with a few tools for network recycling.

Project description

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>

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

lslcharge-0.1.10.tar.gz (25.6 kB view details)

Uploaded Source

Built Distribution

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

lslcharge-0.1.10-py3-none-any.whl (28.4 kB view details)

Uploaded Python 3

File details

Details for the file lslcharge-0.1.10.tar.gz.

File metadata

  • Download URL: lslcharge-0.1.10.tar.gz
  • Upload date:
  • Size: 25.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for lslcharge-0.1.10.tar.gz
Algorithm Hash digest
SHA256 3698d2724bd29b3c9279187a3d43d623a8b6c096aec927321a1af63569977b0e
MD5 1897ce00b51428b59b323674dce62957
BLAKE2b-256 830a7abed2ab5a8548de07a6beff15ce99c0582e156fdc81a83848fc5102d223

See more details on using hashes here.

File details

Details for the file lslcharge-0.1.10-py3-none-any.whl.

File metadata

  • Download URL: lslcharge-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 28.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for lslcharge-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 294bfc69d78c9d11a010a574232a704ba6ad767d070997d7c25715a83185f708
MD5 ce30f1b52ca9d27b862832ddec0d0563
BLAKE2b-256 feda970b72aeffd23d55ce64da4abdbda3681a58ce7e8e62c781fbb7b8d3f3e9

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