Skip to content
Proyectos

wfondrie/depthcharge has 96 GitHub stars and 29 forks. Star changes are not measured yet. Last checked 2026-11-14 08:25 UTC. Last push 2026-10-09.

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
Recopilando historial
in 7 days
Recopilando historial
in 15 days
Recopilando historial
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

Acerca de

A deep learning toolkit for mass spectrometry

Aprendizaje automático

README.md

Original
depthcharge logo

Depthcharge is a deep learning toolkit for building Transformer models to analyze mass spectrometry data.

About

Many deep learning tools have been developed for the analysis of mass spectra or mass spectrometry analytes, like peptides and small molecules. However, each one has had to reinvent the wheel.

Depthcharge aims to provide a flexible, but opinionated, framework for rapidly prototyping deep learning models for mass spectrometry data. Think of Depthcharge as a set of building blocks to get you started on a new deep learning project focused around mass spectrometry data. Depthcharge delivers these building blocks in the form of PyTorch modules, which can be readily used to assemble customized deep learning models for your task.

Installation

Depthcharge requires Python 3.10-3.13 and can be installed from PyPI:

pip install depthcharge-ms

Quick start

Parse mass spectra into a PyTorch dataset, then encode them with a Transformer:

from torch.utils.data import DataLoader

import depthcharge as dc

dataset = dc.data.SpectrumDataset("spectra.mzML", batch_size=32)
model = dc.transformers.SpectrumTransformerEncoder()

for batch in DataLoader(dataset, batch_size=None):
    embeddings, mask = model(batch["mz_array"], batch["intensity_array"])

To learn more, visit our documentation.

Explorar proyectos relacionados