Ejemplo n.º 1
0
        public PeakDetectAndExportWorkflow(Run run, PeakDetectAndExportWorkflowParameters parameters)
        {
            WorkflowParameters = parameters;
            Run = run;

            if (Run.MSFileType == Globals.MSFileType.PNNL_UIMF)
            {
                throw new NotSupportedException("PeakDetectAndExportWorkflow does not currently support UIMF files. NOTE to developer: need to add code for defining LC scans and IMS scans to iterate over.");
            }
        }
Ejemplo n.º 2
0
        private void CreatePeaksFile(PeakDetectorParameters peakDetectorParameters, string outputFolderPath)
        {
            var parameters = new PeakDetectAndExportWorkflowParameters
            {
                OutputFolder            = outputFolderPath,
                LCScanMin               = Run.MinLCScan,
                LCScanMax               = Run.MaxLCScan,
                IsDataThresholded       = Run.IsDataThresholded,
                ProcessMSMS             = false,
                PeakBR                  = peakDetectorParameters.PeakToBackgroundRatio,
                Num_LC_TimePointsSummed = 1,
                SigNoiseThreshold       = peakDetectorParameters.SignalToNoiseThreshold
            };

            var peakDetectAndExporter = new PeakDetectAndExportWorkflow(Run, parameters);

            peakDetectAndExporter.Execute();
        }
Ejemplo n.º 3
0
 public PeakDetectAndExportWorkflow(Run run, PeakDetectAndExportWorkflowParameters parameters, BackgroundWorker bw)
     : this(run, parameters)
 {
     backgroundWorker = bw;
     peakProgressInfo = new PeakProgressInfo();
 }