Metadata-Version: 2.1
Name: glycresoft
Version: 0.4.24
Summary: Glycan and Glycopeptide Mass Spectrometry Database Search Tool
Author: Joshua Klein
Author-email: jaklein@bu.edu
Project-URL: Documentation, https://mobiusklein.github.io/glycresoft
Project-URL: Source Code, https://github.com/mobiusklein/glycresoft
Project-URL: Issue Tracker, https://github.com/mobiusklein/glycresoft/issues
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
Requires-Python: >3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: dill>=0.3.5.1
Requires-Dist: six
Requires-Dist: sqlalchemy<1.4.0
Requires-Dist: scipy
Requires-Dist: matplotlib>=3.4.3
Requires-Dist: scikit-learn
Requires-Dist: pyteomics
Requires-Dist: lxml
Requires-Dist: click
Requires-Dist: jinja2>=2.11.1
Requires-Dist: rdflib
Requires-Dist: requests
Requires-Dist: SPARQLWrapper
Requires-Dist: ms-deisotope>=0.0.55
Requires-Dist: glypy>=1.0.6
Requires-Dist: glycopeptidepy>=0.0.28
Requires-Dist: brain-isotopic-distribution>=1.5.8
Requires-Dist: ms-peak-picker>=0.1.46
Requires-Dist: python-idzip>=0.3.2
Requires-Dist: pyzstd
Requires-Dist: numpy; python_version < "3.9"
Requires-Dist: numpy>=2.0.0; python_version >= "3.9"
Provides-Extra: fragmentation-modeling
Requires-Dist: glycopeptide-feature-learning; extra == "fragmentation-modeling"


[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/mobiusklein/glycresoft/test.yaml?style=for-the-badge)](https://github.com/mobiusklein/glycresoft/actions/workflows/test.yaml) [![Documentation Link](https://img.shields.io/badge/docs-glycresoft-purple?style=for-the-badge&logo=readthedocs)](https://mobiusklein.github.io/glycresoft/)

# GlycReSoft

Software for analyzing glycomics and glycoproteomics LC-MS/MS data.

## Usage

This package provides several command line tools, available under the name `glycresoft`.

```
$ glycresoft -h
Commands:
  analyze           Identify structures in preprocessed data
  build-hypothesis  Build search spaces for glycans and glycopeptides
  config            Set persistent configuration options
  export            Write Data Collections To Text Files
  mzml              Inspect and preprocess mzML files
  tools             Odds and ends to help inspect data and diagnose issues
```

## Installing

This program requires Python 3.8 or newer, last tested with Python 3.10. The simplest way to perform the installation is to use a virtual environment to isolate its dependencies.

```bash
pip install -v glycresoft
```

To install from source after cloning this repository. The dependencies are listed in `requirements.txt`. The build system requirements in `pyproject.toml`, which includes `numpy` and `Cython`. A C compiler compatible with your version of Python for your platform is also required.

```bash
pip install -v .
```

or alternatively to install certain dependencies from source

```bash
make install-dependencies
```

This will install this library and all of its dependencies into the current Python environment. The command line tool will be made available under the name `glycresoft`.

If you want to build the standalone executable that bundles all of its dependencies with its own version of Python, next run

```bash
pip install PyInstaller
make build-pyinstaller
```

This will install PyInstaller, a Python program which can package another Python program and all of its dependencies into a native executable, and run it on an entry point wrapper for GlycReSoft. Afterwards, the standalone executable and its static files are located in `./pyinstaller/dist/glycresoft-cli/`, where the executable is named `glycresoft-cli`, which will operate essentially the same as the `glycresoft` executable installed above, save that it will do some platform specific configuration and can be used from outside the virtual environment it was created in.

When installing pre-compiled wheels from the package index, installation should take less than 5 minutes on a regular computer. Installing packages from source things may take up to 15 minutes.

For glycopeptide fragmentation modeling, please see [https://github.com/mobiusklein/glycopeptide_feature_learning](https://github.com/mobiusklein/glycopeptide_feature_learning).

### GUI

For a web-based graphical user interface, see [https://github.com/mobiusklein/glycresoft_app](https://github.com/mobiusklein/glycresoft_app).
The wrapping desktop application: [https://github.com/mobiusklein/glycresoft_desktop](https://github.com/mobiusklein/glycresoft_desktop).

## Usage

The general CLI information, see the [Documentation](https://mobiusklein.github.io/glycresoft/docs/_build/html/index.html), or the command-level
`--help` menu.

### For Glycopeptides

For a brief tutorial on the original high collision energy glycopeptide search tool, see the [Original Tutorial](https://mobiusklein.github.io/glycresoft/docs/_build/html/tutorials/glycoproteomics-tutorial.html).

For a tutorial on the stepped collision energy glycopeptide search tool, see the [SCE Tutorial](https://mobiusklein.github.io/glycresoft/docs/_build/html/tutorials/glycoproteomics-sce-tutorial.html).

## Citing

If you used `glycresoft` in your research, please cite

> Klein, J., Carvalho, L., & Zaia, J. (2024). Expanding N-glycopeptide identifications by modeling fragmentation, elution, and glycome connectivity. Nature Communications, 15(1), 6168. https://doi.org/10.1038/s41467-024-50338-5
