Hi Alex, You may have the best luck with msconvert from proteowizard, but I don't know what metadata it supports.
MSFilereader provides a COM interface to access the RAW file data/metadata. Here's a simple example script I wrote a while ago to interface msfilereader from python, maybe it will be helpful: https://gist.github.com/1201113 Accessing COM from within MS products (I tried C# first) is easier because you get better introspection, but I ended up using python because numpy+scipy are much more useful overall for analysis. -Isaiah ps: 1) xraw.SetCurrentController(0,1) is a very important call! You will get errors otherwise. 2) xraw.GetMassListFromScanNum returns the data BY_REF, which can be a bit confusing if you aren't familiar with COM (I wasn't) 3) Also note that the MSFilereader dll is 32 bit so you won't be able to access from a 64-bit process.... I spent some time trying to figure out how to access from 64-bit using a surrogate process but gave up. You CAN run on 64bit Windows in 32bit compatibility mode (WoW) no problem. On Tue, Sep 6, 2011 at 9:57 AM, Alex_PCB <[email protected]> wrote: > Hi folks > I am interested in extracting some metadata from our Thermo RAW files > such as injection time and spray voltage for each scan in the file. I > learned that deploying a program that interfaces with the msfilereader > would be the easiest way to get the job done. > I was wondering if someone has written such program and is willing to > share the code with my lab. We are an academic institution and wish to > incorporate this script in our pipeline for Quality Control purposes. > I'd greatly appreciate any help. > Best regards, > Alex > > -- > You received this message because you are subscribed to the Google Groups > "spctools-discuss" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/spctools-discuss?hl=en. > > -- You received this message because you are subscribed to the Google Groups "spctools-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/spctools-discuss?hl=en.
