GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - hgb-bin-proteomics/pyXLMS: A python package to process protein cross-linking data.

BranchesTags
Open more actions menu

Latest commit

 

History

1,765 Commits
1,765 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
data
data
 
 
docs
docs
 
 
examples
examples
 
 
gui
gui
 
 
sphinx
sphinx
 
 
src/pyXLMS
src/pyXLMS
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
CITATION.cff
CITATION.cff
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pyproject.toml
pyproject.toml
 
 
pytest.ini
pytest.ini
 
 
requirements.txt
requirements.txt
 
 
ruff.toml
ruff.toml
 
 
ty.toml
ty.toml
 
 

Repository files navigation

pyXLMS

a python package to process protein cross-linking data

pyXLMS is a python package and web application with graphical user interface that aims to simplify and streamline the intermediate step of connecting crosslink search engine results with down-stream analysis tools, enabling researchers even without bioinformatics knowledge to conduct in-depth crosslink analyses and shifting the focus from data transformation to data interpretation and therefore gaining biological insight. Currently pyXLMS supports input from several different crosslink search engines including: MaxLynx (part of MaxQuant), MeroX, MS Annika, pLink 2 and pLink 3, Scout, xiSearch and xiFDR, XlinkX, as well as the mzIdentML format of the HUPO Proteomics Standards Initiative, and a well-documented and human-readable custom tabular format. Down-stream analysis is facilitated by functionality that is directly available within pyXLMS such as validation, annotation, aggregation, filtering, and visualization - and much more - of crosslink-spectrum-matches and crosslinks. In addition, the data can easily be exported to the required data format of the various available down-stream analysis tools such as AlphaLink2, ProXL, xiNET, xiVIEW, xiFDR, XlinkDB, xlms-tools, PyMOL (via PyXlinkViewer), ChimeraX (via XMAS), or IMP-X-FDR.

Installation

pyXLMS supports python version 3.7 and greater!

pyXLMS can easily be installed via pip:

pip install pyxlms

Quick Start

After installation you can use pyXLMS in python like this:

This example shows reading of MS Annika crosslink-spectrum-matches and exporting them to xiFDR format for external validation.

>>> import pyXLMS
>>> pr = pyXLMS.parser.read(
...     "data/ms_annika/XLpeplib_Beveridge_QEx-HFX_DSS_R1_CSMs.xlsx",
...     engine="MS Annika",
...     crosslinker="DSS"
... )
Reading MS Annika CSMs...: 100%|████████████████| 826/826 [00:00<00:00, 20731.70it/s]
>>> _ = pyXLMS.transform.summary(pr)
Number of CSMs: 826.0
Number of unique CSMs: 826.0
Number of intra CSMs: 803.0
Number of inter CSMs: 23.0
Number of target-target CSMs: 786.0
Number of target-decoy CSMs: 39.0
Number of decoy-decoy CSMs: 1.0
Minimum CSM score: 1.11
Maximum CSM score: 452.99
>>> _ = pyXLMS.exporter.to_xifdr(
...     pr["crosslink-spectrum-matches"],
...     filename="msannika_CSMs_for_xiFDR.csv"
... )

For python projects using pyXLMS we also provide a project template!

Web App

The web app is publicly accessible for free via hgb-bin-proteomics.github.io/pyXLMS-app.

Additionally, it can be run locally or self-hosted as described here: pyXLMS Web Application.

User Guide, Examples and Documentation

  • A user guide that documents all available functionality is available via hgb-bin-proteomics.github.io/pyXLMS-docs.
  • Example jupyter notebooks can be found in /examples.
  • A full documentation of the python package can be accessed via hgb-bin-proteomics.github.io/pyXLMS.

FAQ

Not sure if pyXLMS is what you are looking for? You can find a collection of common questions and answers about pyXLMS here or in the user guide under Documentation ➡️ FAQ.

Limitations

Despite our best efforts pyXLMS still comes with some limitations that are a direct result of the differences in the output formats of crosslink search engines. Many crosslink search engines do not report any kind of decoy matches which makes validation in pyXLMS or export to xiFDR impossible which is why we recommend using validated results for pyXLMS. Validation within pyXLMS is currently only supported for MaxLynx, MS Annika, and xiSearch.

Furthermore, the different down-stream analysis tools require varying input information which might not be consistently available from all crosslink search engines. Some of this can be mitigated by functionality in pyXLMS such as annotation or by additional information that needs to be passed to pyXLMS for a successful export. Generally, the export to all downstream analysis tools should work for all crosslink search engines and input formats, with the exception of the export to xiFDR which is limited to MaxLynx, MS Annika, and xiSearch for above reasons. For safety pyXLMS makes sure before the export that all the required information is available and will otherwise throw an error. For more information please check the specific export pages in the user guide and the documentation.

The web app supports most of the features of the python package, features that are not supported in the web app are listed in the user guide under Documentation ➡️ Web Application ➡️ Feature Support.

Interacting with STRING requires an active internet connection and depends on the service availability of STRING.

Citing

If you are using pyXLMS please cite the following publication:

  • Unified down-stream analysis of crosslinking mass spectrometry results with pyXLMS:
    Unified down-stream analysis of crosslinking mass spectrometry results with pyXLMS
    Micha J. Birklbauer, Louise M. Buur, Sabrina Kaser, Fränze Müller, Manuel Matzinger, Karl Mechtler, Stephan Winkler, and Viktoria Dorfer
    Nature Communications 2026 17 (10508)
    DOI: 10.1038/s41467-026-77407-1
    

Acknowledgements

We thank Melanie Birklbauer for designing the logo.

Contact

  • [email protected]
  • [email protected] (primary developer)

About

A python package to process protein cross-linking data.

hgb-bin-proteomics.github.io/pyXLMS/

Topics

cross-linkingcrosslinkercrosslinkingguiinteractioninteractomicsmassmass-spectrometrypackageppiproteinproteomicspythonpyxlmsspectrometrywebappxlms

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing
Activity
Custom properties

Stars

6 stars

Watchers

2 watching

Forks

3 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

Generated from michabirklbauer/python_template
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.