Getting Started¶
Welcome to MS2LDA! This quick guide helps you take your first steps into discovering interesting substructures in your data. So, let us install and use the tool, whether you are working through the web interface or the command line.
Disk space: Downloading the required models (~6–7 GB) and storing a few runs typically requires 15–20 GB of free space.
Inputs & Outputs 📥📤¶
Input¶
MS2LDA expects preprocessed MS/MS data, typically in:
.mgf(Mascot Generic Format).mzML(via conversion or direct input).msp(NIST-style spectrum libraries)
Output¶
After processing, MS2LDA provides:
- Mass2Motifs (discovered fragmentation patterns)
- Spectra-motif loadings
- Optional annotations via: MotifDB or MAG
Output formats:
- CSV tables
- JSON (for advanced integration)
- Visualizations (interactive in web app)
Installation ⚙️¶
MS2LDA works on macOS, Linux, and Windows (Anaconda Prompt or Windows Subsystem for Linux).
Note: These steps assume you have Conda installed. On Windows, use the Anaconda Prompt or WSL.
# Clone the repository
git clone https://github.com/vdhooftcompmet/MS2LDA.git
# Load MS2LDA directory
cd MS2LDA
# Create and activate the environment
conda env create -f MS2LDA_environment.yml
conda activate MS2LDA_v2
Viz App vs Command-Line¶
For detailed information on how to run your analysis through:
- MS2LDAViz app please check: MS2LDAViz App guide
- Commnad-line please check: MS2LDA Command Line