Metabolomics Society Forum

Software => MS-DIAL => Topic started by: Ruth on March 12, 2023, 07:49:29 PM

Title: Re: Merge MS Dial exported outputs
Post by: Ruth on March 12, 2023, 07:49:29 PM
Hello Cristina,
if you load each alignment to a dataframe you can use the biggest as a reference. You can iterate over the others row-by-row and test each mz/rt pair for matches against every feature in the reference. When you obtain matches you could aggregate peak areas from both dfs in a new dataframe. This is fairly straightforward in Python.
Chris

Hi, Chris. I am wondering the standard method to merge Alignments results. First, does the mz/rt pair is exactly the same or can have some tolerance? Secondly, do we need to match 'MS1 isotopic spectrum' and 'MS/MS spectrum', both the mz and the intensity?