Skip to content

Commit c348ade

Browse files
committed
version bump
1 parent a60bde8 commit c348ade

File tree

5 files changed

+28
-10
lines changed

5 files changed

+28
-10
lines changed

CandyCrunch.egg-info/PKG-INFO

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 2.1
22
Name: CandyCrunch
3-
Version: 0.1.1
3+
Version: 0.1.2
44
Summary: Package for predicting glycan structure from LC-MS/MS data
55
Home-page: https://github.com/BojarLab/CandyCrunch
66
Author: Daniel Bojar
@@ -15,18 +15,17 @@ License-File: LICENSE
1515
License-File: LICENSE.txt
1616

1717
<p align="center">
18-
<img src="/images/candycrunch_logo.jpg" style="height:50%;width:50%;">
18+
<img src="/images/candycrunch_logo_light_banner_pt.svg" style="height:100%;width:100%;">
1919
</p>
2020

21-
-----------------
2221

2322
# CandyCrunch
2423

2524
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.7940047.svg)](https://doi.org/10.5281/zenodo.7940047)
2625
[![License](https://img.shields.io/badge/license-MIT-red.svg)](https://github.com/bojarlab/candycrunch/blob/main/LICENSE)
2726

2827
## What is CandyCrunch?
29-
**CandyCrunch** is a package for predicting glycan structure from LC-MS/MS data. It contains the CandyCrunch model, along with the rest of the inference pipeline and and downstream spectrum processing tools. These are further described in our upcoming manuscript (Urban et al., bioRxiv 2023).
28+
**CandyCrunch** is a package for predicting glycan structure from LC-MS/MS data. It contains the CandyCrunch model, along with the rest of the inference pipeline and and downstream spectrum processing tools. These are further described in our manuscript [Urban et al. (2023)](https://www.biorxiv.org/content/10.1101/2023.06.13.544793v1.full) &ndash; ***Predicting glycan structure from tandem mass spectrometry via deep learning*** on bioRxiv.
3029

3130
## Install CandyCrunch
3231
#### Development version:
@@ -45,7 +44,8 @@ pip install CandyCrunch
4544
```
4645
## `CandyCrunch.ipynb` [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/BojarLab/CandyCrunch/blob/main/CandyCrunch.ipynb)
4746
If you are looking for a **convenient** and **easy-to-run** version of the code that does not require any local installations, we have also created a Google Colaboratory notebook.
48-
The notebook contains an example pipeline ready to run, which can be copied, executed, and customised in any way.
47+
The notebook contains an example pipeline ready to run, which can be copied, executed, and customised in any way.
48+
The example file included in the notebook is the same as in `examples/` and is ready for use in the notebook workflow.
4949

5050
## Using CandyCrunch &ndash; LC-MS/MS glycan annotation
5151
#### `wrap_inference` (in `CandyCrunch.prediction`) <br>
@@ -57,7 +57,20 @@ Requires at a minimum:
5757
```python
5858
annotated_spectra_df = wrap_inference(C:/myfiles/my_spectra.mzML, glycan_class)
5959
```
60+
<details>
61+
<summary>
62+
63+
#### This is what a truncated example of `annotated_spectra_df` would look like
64+
</summary>
65+
66+
| | predictions | composition | num_spectra | charge | RT | top_fragments | adduct | evidence |
67+
|--------:|:----------------------------------------------------------------------------------------------------------------------------------------|:------------------------|--------------:|---------:|------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------:|:-----------|
68+
| 384.157 | [('Gal(b1-3)GalNAc', 0.9625)] | {'Hex': 1, 'HexNAc': 1} | 8 | -1 | 6.75 | [204.0202, 222.1731, 156.0888, 179.031, 160.7594, ...] | nan | strong |
69+
| 425.036 | [('GalNAc(a1-3)GalNAc', 0.7947394540942927), ('GlcNAc(b1-3)GalNAc', 0.17965260545905706), ('HexNAc(?1-3)GalNAc', 0.025607940446650122)] | {'HexNAc': 2} | 2 | -1 | 38.88 | [381.005, 389.9802, 406.871, 326.8488, 212.01, ...] | nan | strong |
70+
| ... | ... | ... | ... | ... | ... | ... | ... | ... | | ... | ... | ... | ... | ... | ... | ... |
6071

72+
</details>
73+
6174
## Using CandyCrumbs &ndash; MS2 fragment annotation
6275
#### `CandyCrumbs` (in `CandyCrunch.analysis`) <br>
6376
Wrapper function to annotate MS2 fragments using `CandyCrumbs`
@@ -72,7 +85,10 @@ ms2_fragment_masses = [425.07,443.07,546.19,1216.32]
7285
annotated_fragments_dict = CandyCrumbs(condensed_iupac_glycan,fragment_masses=ms2_fragment_masses,mass_threshold=1)
7386
```
7487
<details>
75-
<summary>This is what `annotated_fragments_dict` would look like</summary>
88+
<summary>
89+
90+
#### This is what `annotated_fragments_dict` would look like
91+
</summary>
7692
<pre>{425.07: {'Theoretical fragment masses': [425.12955],
7793
'Domon-Costello nomenclatures': [['02A_3_Alpha', 'M_H2O']],
7894
'Fragment charges': [-1]},
@@ -96,7 +112,7 @@ fragment_iupac = domon_costello_to_fragIUPAC('Gal(a1-3)Gal(b1-4)GlcNAc(b1-6)[Gal
96112
GlycoDraw(fragment_iupac)
97113
```
98114
<p align="center">
99-
<img width="460" height="300" src="/images/frag_iupac_demo.svg">
115+
<img width="460" height="300" src="/images/frag_iupac_demo_white.svg">
100116
</p>
101117

102118
## Modules
@@ -109,6 +125,8 @@ GlycoDraw(fragment_iupac)
109125
- Contains other functions to manipulate glycan string representations, e.g., `domon_costello_to_fragIUPAC` <br>
110126
#### `model` <br>
111127
- Includes code for model definition, dataset handling, and data augmentation; only used in the back-end <br>
128+
#### `examples` <br>
129+
- Includes the extracted spectra of an example mzML file from Kouka et al. 2022
112130

113131
## Citation
114132
If you use `CandyCrunch` or any of our datasets in your work, please cite Urban et al., bioRxiv 2023.

CandyCrunch.egg-info/requires.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
glycowork==0.7
1+
glycowork~=0.8.1
22
regex
33
networkx
44
scipy
@@ -12,4 +12,4 @@ statsmodels
1212
pyteomics
1313

1414
[draw]
15-
glycowork[draw]==0.7
15+
glycowork[draw]~=0.8.1

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="CandyCrunch",
8-
version="0.1.1",
8+
version="0.1.2",
99
author="Daniel Bojar",
1010
author_email="daniel.bojar@gu.se",
1111
description="Package for predicting glycan structure from LC-MS/MS data",

0 commit comments

Comments
 (0)