public RawReader(string argFullPath, enumRawDataType argFileType) { //ListenServr.StartNamedPipeServer(); Thread PipeServer = new Thread(StartNamedPipeServer); PipeServer.Start(); _fullFilePath = argFullPath; _fileType = argFileType; GlypIDReader = new Process(); //GlypIDReader.OutputDataReceived += new DataReceivedEventHandler( //(s, e) => //{ // Desc += e.Data + "\n"; //} //); startInfo = new ProcessStartInfo(); startInfo.FileName = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location) + "\\GlypIDWrapper.exe"; startInfo.RedirectStandardOutput = true; startInfo.RedirectStandardInput = true; startInfo.RedirectStandardError = true; startInfo.UseShellExecute = false; startInfo.CreateNoWindow = true; GlypIDReader.StartInfo = startInfo; GlypIDReader.Start(); }
/// <summary> /// /// </summary> /// <param name="argFullPath"></param> /// <param name="argFileType">raw or mzxml</param> public RawReader(string argFullPath, string argFileType) { //ListenServr.StartNamedPipeServer(); Thread PipeServer = new Thread(StartNamedPipeServer); PipeServer.Start(); _fullFilePath = argFullPath; if (argFileType.ToLower() == "raw") { _fileType = enumRawDataType.raw; } else { _fileType = enumRawDataType.mzxml; } GlypIDReader = new Process(); //GlypIDReader.OutputDataReceived += new DataReceivedEventHandler( //(s, e) => //{ // Desc += e.Data + "\n"; //} //); startInfo = new ProcessStartInfo(); startInfo.FileName = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location) + "\\GlypIDWrapper.exe"; startInfo.RedirectStandardOutput = true; startInfo.RedirectStandardInput = true; startInfo.RedirectStandardError = true; startInfo.UseShellExecute = false; startInfo.CreateNoWindow = true; GlypIDReader.StartInfo = startInfo; GlypIDReader.Start(); }
public RawReader(string argFullPath, enumRawDataType argFileType, double argSingleToNoise, double argPeakBackground, double argPeptideBackground, short argMaxCharge) { Thread PipeServer = new Thread(StartNamedPipeServer); PipeServer.Start(); _fullFilePath = argFullPath; _fileType = argFileType; _singleToNoiseRatio = argSingleToNoise; _peakBackgroundRatio = argPeakBackground; _peptideMinBackgroundRatio = argPeptideBackground; _maxCharge = argMaxCharge; GlypIDReader = new Process(); //GlypIDReader.OutputDataReceived += new DataReceivedEventHandler( // (s, e) => // { // Desc += e.Data + "\n"; // } //); startInfo = new ProcessStartInfo(); startInfo.FileName = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location) + "\\GlypIDWrapper.exe"; startInfo.RedirectStandardOutput = true; startInfo.RedirectStandardError = true; startInfo.UseShellExecute = false; startInfo.CreateNoWindow = true; //PipeServerThread = new Thread(StartNamePipeServer); //PipeServerThread.Start(); //PipeServerThread.Join(); }
/// <summary> /// /// </summary> /// <param name="argFullPath"></param> /// <param name="argFileType"></param> public RawReader(string argFullPath, enumRawDataType argRawType) { _fullFilePath = argFullPath; if (argRawType == enumRawDataType.raw) { _fileType = "raw"; Raw = new GlypID.Readers.clsRawData(_fullFilePath, GlypID.Readers.FileType.FINNIGAN); } else { _fileType = "mzxml"; Raw = new GlypID.Readers.clsRawData(_fullFilePath, GlypID.Readers.FileType.MZXMLRAWDATA); } }
/// <summary> /// /// </summary> /// <param name="argFullPath"></param> /// <param name="argFileType"></param> public RawReader(string argFullPath, enumRawDataType argRawType) { _fullFilePath = argFullPath; if (argRawType == enumRawDataType.raw) { _fileType = "raw"; Raw = new GlypID.Readers.clsRawData(_fullFilePath, GlypID.Readers.FileType.FINNIGAN); } else { _fileType = "mzxml"; Raw = new GlypID.Readers.clsRawData(_fullFilePath, GlypID.Readers.FileType.MZXMLRAWDATA); } }
public RawReader(string argFullPath, enumRawDataType argRawType, double argSingleToNoise, double argPeakBackground, double argPeptideBackground, short argMaxCharge) { _fullFilePath = argFullPath; _singleToNoiseRatio = argSingleToNoise; _peakBackgroundRatio = argPeakBackground; _peptideMinBackgroundRatio = argPeptideBackground; _maxCharge = argMaxCharge; if (argRawType == enumRawDataType.raw) { _fileType = "raw"; Raw = new GlypID.Readers.clsRawData(_fullFilePath, GlypID.Readers.FileType.FINNIGAN); } else { _fileType = "mzxml"; Raw = new GlypID.Readers.clsRawData(_fullFilePath, GlypID.Readers.FileType.MZXMLRAWDATA); } }
public RawReader(string argFullPath, enumRawDataType argRawType, double argSingleToNoise, double argPeakBackground, double argPeptideBackground, short argMaxCharge) { _fullFilePath = argFullPath; _singleToNoiseRatio = argSingleToNoise; _peakBackgroundRatio = argPeakBackground; _peptideMinBackgroundRatio = argPeptideBackground; _maxCharge = argMaxCharge; if (argRawType == enumRawDataType.raw) { _fileType = "raw"; Raw = new GlypID.Readers.clsRawData(_fullFilePath, GlypID.Readers.FileType.FINNIGAN); } else { _fileType = "mzxml"; Raw = new GlypID.Readers.clsRawData(_fullFilePath, GlypID.Readers.FileType.MZXMLRAWDATA); } }
public RawReader(string argFullPath, enumRawDataType argFileType, double argSingleToNoise, double argPeakBackground, double argPeptideBackground, short argMaxCharge) { Thread PipeServer = new Thread(StartNamedPipeServer); PipeServer.Start(); _fullFilePath = argFullPath; _fileType = argFileType; _singleToNoiseRatio = argSingleToNoise; _peakBackgroundRatio = argPeakBackground; _peptideMinBackgroundRatio = argPeptideBackground; _maxCharge = argMaxCharge; GlypIDReader = new Process(); //GlypIDReader.OutputDataReceived += new DataReceivedEventHandler( // (s, e) => // { // Desc += e.Data + "\n"; // } //); startInfo = new ProcessStartInfo(); startInfo.FileName = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location) + "\\GlypIDWrapper.exe"; startInfo.RedirectStandardOutput = true; startInfo.RedirectStandardError = true; startInfo.UseShellExecute = false; startInfo.CreateNoWindow = true; //PipeServerThread = new Thread(StartNamePipeServer); //PipeServerThread.Start(); //PipeServerThread.Join(); }