MSDial_Lipid_Treatment is an open-source tool designed for lipid biomarker detection and annotation following Orbitrap LC-MS/MS DDA analysis. The tool processes mzML format data and identifies biomarkers for two diseases (T and H), as well as common metabolites between them. Additionally, it provides statistical visualizations.
Note: Currently, the code is tailored to work only with the specific metadata conditions of this project. Future updates will support more general metadata and conditions.
- Clone the repository or download the ZIP file.
- Prepare your dataset:
- Convert raw data to mzML format using MSConvert:
- Install ProteoWizard: ProteoWizard
- Convert MS1 data and save the output in:
01.0-MS1mzmlThermo-POSfor positive mode (POS) data.01.0-MS1mzmlThermo-NEGfor negative mode (NEG) data.
- Convert MS2 data and save the output in:
02.0-MS2mzmlThermo-POSfor positive mode (POS) data.02.0-MS2mzmlThermo-NEGfor negative mode (NEG) data.
- Prepare metadata:
- Create a CSV file (use
;as the delimiter) for each data mode (POS and NEG). - Save the files in the
02-Nico_metadatadirectory.
- Create a CSV file (use
- Install MSDIAL:
- Download and install
MSDIAL ver.4.9.221218 Windowsx64: MSDIAL - Place the MSDIAL installation in the
bindirectory and ensure the PATH is set correctly for execution in batch (.bat) files.
- Download and install
- Prepare the annotation databases:
- Download the MSP database for NEG and POS from MSDIAL and save it in the
01-mzmlThermodirectory. - Generate the in-house database for POS and NEG data is in the correct format (TXT).
- Download the MSP database for NEG and POS from MSDIAL and save it in the
- Convert raw data to mzML format using MSConvert:
-
Configure parameters for feature extraction and annotation:
- Adjust parameters for feature extraction in NEG mode:
01-mzmlThermo\01.0-MS1mzmlThermo-NEG\NEGparametre.txt - Adjust parameters for feature extraction in POS mode:
01-mzmlThermo\01.0-MS1mzmlThermo-POS\POSparametre.txt - Adjust parameters for feature annotation in NEG mode:
01-mzmlThermo\02.0-MS2mzmlThermo-NEG\M2parametreNEG.txt - Adjust parameters for feature annotation in POS mode:
01-mzmlThermo\02.0-MS2mzmlThermo-POS\M2parametrePOS.txt
- Adjust parameters for feature extraction in NEG mode:
-
Run analysis and annotation scripts:
- Execute
MSDial.batfor feature extraction and statistical analysis.
Note: Both NEG and POS datasets must be ready before running this step. - Execute
Annotation-MSDial-NEG.batfor annotating NEG features extracted and selected after runningMSDial.bat. - Execute
Annotation-MSDial-POS.batfor annotating POS features extracted and selected after runningMSDial.bat.
- Execute
-
Output:
- All statistical results and CSV files will be generated in the
04-codeOutputdirectory.
- All statistical results and CSV files will be generated in the