-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'wilhelmlab/development' into OpenMS_sup…
…port
- Loading branch information
Showing
61 changed files
with
72,059 additions
and
69,583 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,5 +15,5 @@ full_name: Victor Giurcoiu | |
email: [email protected] | ||
project_name: spectrum_fundamentals | ||
project_short_description: Fundamentals public repo | ||
version: 0.5.2 | ||
version: 0.7.8 | ||
license: MIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out the repository | ||
uses: actions/checkout@v2.3.3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Run Labeler | ||
uses: crazy-max/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,30 @@ | ||
# Spectrum Fundamentals | ||
|
||
Spectrum Fundamentals is a package we use in our rescoring pipeline. It was created to be able to handle spectra from different files. | ||
|
||
## Features | ||
[![PyPI](https://img.shields.io/pypi/v/spectrum_fundamentals.svg)](https://pypi.org/project/spectrum_fundamentals/) | ||
[![Python Version](https://img.shields.io/pypi/pyversions/spectrum_fundamentals)](https://pypi.org/project/spectrum_fundamentals) | ||
[![License](https://img.shields.io/github/license/wilhelm-lab/spectrum_fundamentals)](https://opensource.org/licenses/MIT) | ||
[![Read the Docs](https://img.shields.io/readthedocs/spectrum_fundamentals/latest.svg?label=Read%20the%20Docs)](https://spectrum-fundamentals.readthedocs.io/) | ||
[![Build](https://github.com/wilhelm-lab/spectrum_fundamentals/workflows/Build%20spectrum_fundamentals%20Package/badge.svg)](https://github.com/wilhelm-lab/spectrum_fundamentals/actions?workflow=Package) | ||
[![Tests](https://github.com/wilhelm-lab/spectrum_fundamentals/workflows/Run%20spectrum_fundamentals%20Tests/badge.svg)](https://github.com/wilhelm-lab/spectrum_fundamentals/actions?workflow=Tests) | ||
[![Codecov](https://codecov.io/gh/wilhelm-lab/spectrum_fundamentals/branch/main/graph/badge.svg)](https://codecov.io/gh/wilhelm-lab/spectrum_fundamentals) | ||
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit) | ||
[![Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) | ||
|
||
- Annotate Spectra. | ||
- Modify peptide sequence to follow one of the recommended notations of ProForma. | ||
- Generate features than can be used by percoltor for rescoring (spectral angle, cosine similarity, Pearson's correlation, Spearman's correlation, etc.). | ||
|
||
## Installation | ||
|
||
Install with: | ||
# Spectrum Fundamentals | ||
|
||
``` | ||
pip install git+https://github.com/wilhelm-lab/spectrum_fundamentals | ||
``` | ||
spectrum_fundamentals is a package primarily developed for usage within the rescoring and spectral library generation pipeline oktoberfest (https://github.com/wilhelm-lab/oktoberfest). | ||
|
||
## Usage | ||
It provides the following functionalities: | ||
|
||
### Annotation Pipeline | ||
- conversion between search engine-specific modstrings and the ProForma standard | ||
- calculation of theoretical peptide / ion masses | ||
- annotation of spectra | ||
- spectral similarity calculation with various metrics | ||
|
||
The annotation script can be found in the package in annotation/annotation.py. | ||
## Documentation | ||
|
||
- Install and import the function: | ||
The official documentation can be found at https://spectrum-fundamentals.readthedocs.io | ||
|
||
``` | ||
from spectrum_fundamentals.annotation.annotation import annotate_spectra | ||
``` | ||
## How to cite | ||
|
||
- Apply the function on any given dataframe with peptides meta data, raw intensities and mz: | ||
Please always cite the main publication: | ||
|
||
``` | ||
annotate_spectra(dataframe) | ||
``` | ||
[Oktoberfest] Picciani M, Gabriel W, Giurcoiu VG et al. (2023), _Oktoberfest: Open-source spectral library generation and rescoring pipeline based on Prosit_, [Proteomics](https://doi.org/10.1002/pmic.202300112) |
Oops, something went wrong.