Skip to content

Devising human interpretable diagnostic glycan fragments

Notifications You must be signed in to change notification settings

BojarLab/FragmentFactory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FragmentFactory

Devising human interpretable diagnostic glycan fragments from MS/MS-spectra.

Abstract

Structural details of oligosaccharides, or glycans, often carry biological relevance, which is why they are typically elucidated using tandem mass spectrometry. Common approaches to distinguish isomers rely on diagnostic glycan fragments for annotating topologies or linkages. Diagnostic fragments are often only known informally among practitioners or stem from individual studies, with unclear validity or generalizability, causing annotation heterogeneity and hampering new analysts. Drawing on a curated set of 237,000 O-glycomics spectra, we here present a rule-based machine learning workflow to uncover quantifiably valid and generalizable diagnostic fragments. This results in fragmentation rules to robustly distinguish common O-glycan isomers. We envision this resource to improve glycan annotation accuracy and concomitantly make annotations more transparent and homogeneous across analysts.

Setup

Download the code from github via

git clone [email protected]:BojarLab/FragmentFactory.git

Then, setup an environment via

conda create -y -n ff python=3.9
conda activate ff
mamba install -c conda-forge -c bioconda -c kalininalab datasail-lite
pip install -r requirements.txt

Usage

Inside the FragmentFactory folder, one can run

python train.py <path/to/spectra_df.pkl> <output-prefix> --weighting --GPID_SIM <val>

to create custom trees and a rough visualization thereof.

About

Devising human interpretable diagnostic glycan fragments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages