Improve integration of R and Python-based libraries for mass spectrometry data analysis #7
Replies: 4 comments 1 reply
-
Just a question of understanding: Is the focus rather on making Python libraries available in R? |
Beta Was this translation helpful? Give feedback.
-
The idea is to be able to use/run methods available in Python directly on R/Bioconductor objects. |
Beta Was this translation helpful? Give feedback.
-
exactly, use Python functionality/methods in R on R/Bioconductor MS objects to avoid re-implementation of established methods. we have already some Python libraries (i.e. |
Beta Was this translation helpful? Give feedback.
-
What is needed for the hackathon/development:
install.packages("BiocManager")
BiocManager::install(c("Spectra", "msdata", "mzR"))
BiocManager::install(c("reticulate", "basilisk"))
BiocManager::install("RforMassSpectrometry/SpectriPy") Create and synchronize a fork of the SpectriPy github repository. |
Beta Was this translation helpful? Give feedback.
-
Title
SpectriPy
Abstract
Several powerful software packages for mass spectrometry (MS) data analysis exist in both Python and R. These include among others the Python libraries matchms, pyOpenMS, Pyteomics and spectrum_utils, as well as Bioconductor's Spectra, and related packages from the RforMassSpectrometry ecosystem for metabolomics and proteomics data analysis in R. Each of these packages have their own specific use cases and functionality. To fully benefit from the rich and already validated functionality of these tools and to avoid re-implementation of functionality in another programming language, a better
integration is needed.
The SpectriPy R package provides a first proof-of-concept implementation for the seamless integration of functionality from Python libraries into R software. The package translates between R and Python MS data structures and allows to perform spectra similarity calculations using Python's matchms library, directly from within R.
In this hackathon we hope to benefit from contributions and input from participating Python and R developers as well as data analysts. We propose to extend the SpectriPy package to include more functionality also from other Python libraries. Ultimately this will enable the seamless integration of Python MS libraries in reproducible R-based analysis workflows.
Project Plan
Contributions to this project can include actual code and functionality, or documentation, including definition of use cases for the developed software and contributions to tutorials, as well as participation in general discussions on approaches and concepts of better integration between R and Python software projects.
After the hackathon we will:
Technical Details
Contact information
Johannes Rainer
Institute for Biomedicine, Eurac Research, Bolzano, Italy
[email protected]
Beta Was this translation helpful? Give feedback.
All reactions