Пример #1
0
        static void Thermo()
        {
            string rawPath = @"C:\Work\primaqdev\testdata\06042010HSRE3mem117.RAW";
            string runID   = "run_1";

            using (var reader = new ThermoRawFileReader(rawPath))
                using (ITransactionScope txn = reader.BeginTransaction())
                {
                    foreach (var ms in reader.ReadMassSpectra(runID))
                    {
                        var peaks = reader.ReadSpectrumPeaks(ms.ID);
                        Console.Out.WriteLine(ms.ID);
                    }
                }
        }