wfondrie/depthcharge
wfondrie/depthcharge has 96 GitHub stars and 29 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-20 09:50 UTC. Last push 2026-10-09.
Progression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Historique en cours
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
À propos
A deep learning toolkit for mass spectrometry
Apprentissage automatiqueREADME.md
Original
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.