Table of Contents

  1. Interactive DO-MS App
    1. Installation
    2. Running
  2. DIA Python Pipeline
    1. Installation
    2. Running
    3. Setup Custom Script
      1. Windows
      2. MacOS

Interactive DO-MS App

Installation

This application has been tested on R >= 3.5.0, OSX >= 10.14 / Windows 7/8/10/11. Make sure you have the mos recent version of R and R Studio installed. R can be downloaded from the main R Project page or downloaded with the RStudio Application. All modules are maintained for MaxQuant >= 1.6.0.16.

The application suffers from visual glitches when displayed on unsupported older browsers (such as IE9 commonly packaged with RStudio on Windows). Please use IE >= 11, Firefox, or Chrome for the best user experience.

Running

The easiest way to run the app is directly through RStudio, by opening the DO-MS.Rproj Rproject file

and clicking the “Run App” button at the top of the application, after opening the server.R file. We recommend checking the “Run External” option to open the application in your default browser instead of the RStudio Viewer.

You can also start the application by running the start_server.R script.

More information on using the DO-MS application is provided here.

DIA Python Pipeline

Installation

  1. Please make sure that Conda or Miniconda are installed. Use the provided conda configuration to create the environment with all required dependencies.
    conda env create -f pipeline/env.yml
    
  2. Activate the environment and check that the command can be run.
    conda activate doms
    python pipeline/processing.py -h
    
  3. For automatic conversion of Thermo Raw files to the open mzML format ThermoRawFileParser (Hulstaert et al. 2020) is required. Download the latest release of the ThermoRawFileParser (version v1.4.0 or newer) and write down the location of the ThermoRawFileParser.exe file. Under OSX and Linux, Mono. Please make sure to use the option -m with the feature detection which will tell the script to use Mono.

  4. For feature detection Dinosaur (Teleman et al. 2016) is used. Download the latest release of the Dinosaur from GitHub and install Java as recommended on your platform. Please write down the location of the Dinosaur-xx.jar file.

  5. Optional, create a custom script for your system.

Running

python pipeline/processing.py -h

More information on using the python pipeline is provided here.

Custom Script for Preprocessing

Using the feature detection requires the correct conda environment, ThermoRawFileParser and Dinosaur location. If the tool is used frequently its more convenient to combine the configuration in a script which is added to the system PATH. This will register a local command which can be used everywhere on the system and allows to set default options.

Windows

  1. Create a local folder for example under C:\Users\xxx\Documents\bin.

  2. Create a file named processing.bat with the following content. Make sure that all three file paths are changed to the corresponding locations on your system. Further default options can be added to this file if needed. An overview of all command line options can be found here.

@echo off
conda activate doms & ^
python C:\Users\xxx\pipeline\processing.py %* ^
--dinosaur-location "C:\Users\xxx\dinosaur-1.2\Dinosaur-1.2.0.free.jar" ^
--raw-parser-location "C:\Users\xxx\thermo_raw_file_parser_1.3.4\ThermoRawFileParser.exe" 
  1. Search environment variables in the windows search and click Edit the system environment variables.

  2. Click Environment Variables in the bottom right.

  3. Select the variable Path in the upper panel saying User variables ... and click Edit.

  4. Click New and enter the location of the directory containing the processing.bat script.

  5. Now, the feature processing including the external tools can be called from anywhere on the machine with the processing command.

MacOS

  1. Create a local folder for example /Users/xxx/Documents/bin.

  2. Create a file named processing with the following content. Make sure that all three file paths are changed to the corresponding locations on your system.
    #!/bin/bash
    eval "$(conda shell.bash hook)"
    conda activate doms
    python /Users/xxx/pipeline/processing.py "$@" \
    -m \
    --dinosaur-location "/Users/xxx/Dinosaur/Dinosaur-1.2.0.free.jar" \
    --raw-parser-location "/Users/xxx/ThermoRawFileParser/ThermoRawFileParser.exe"
    

    The first line makes conda available to the script (known issue). Please note how the mono option -m is used by default. Further default options can be added to this file if needed. An overview of all command line options can be found here.

  3. make the file executable with the following command chmod +x processing.

  4. Navigate to the location of your bash profile file in your home directory. This will be /Users/{username}/.zshrc for zsh and /Users/{username}/.bash_profile for bash on macOS and /home/xxx/.bashrc for bash on linux. Open the file in a text editor of choice, for example vim vim .bash_profile. Go into edit mode by pressing i.

  5. Add the line export PATH="/Users/xxx/Documents/bin:$PATH" to the end of the file and save the file by pressing ESSC, :wq, Enter.

  6. Restart your terminal.