The problem is the WiffFileReader API takes a relative eternity to switch between experiments. It's
quite slow enough as it is. :) You'll be happy to hear that the new API does not have the same
problem. With the current API it would be faster (except possibly with huge profile data) to first
convert to XML and then use a sorting filter to convert the XML to another file sorted by retention
time. Currently there is a sorting filter, but no built-in predicates that use it are accessible
from the command-line.
I'm not actually sure HOW to tell which scan is the precursor scan. In Thermo, figuring out the
precursor scan with certainty without parsing the scan event list (which comes in a fascinating
variety of formats) can be quite tricky. I don't know if the same problems exist in ABI and there's
no scan event list to check (AFAIK), so I punted.
-Matt
On 1/19/2011 11:34 AM, Nathan Edwards wrote:
> I've had this problem with a variety of tools and their handling .wiff
> data file from Analyst, and now having gotten msconvert to work
> (thanks Matt) I was hoping that msconvert did it "right".
>
> Unfortunately, it doesn't seem so.
>
> I believe that the scan number and retention times should increase
> monotonically in the mzXML file and in a tandem mass-spectrometry
> experiment, I expect the MS1 scan to be immediately followed by the MS/
> MS scans whose precursors are derived from the MS1 scan.
>
> A number (n>= 2) of converters (msconvert& ABI's) for .wiff files do
-Matt
-Matt