コード例 #1
0
        protected override IProcessor GetProcessor()
        {
            string dbFile;

            if (peptideFile.Exists)
            {
                dbFile = peptideFile.FullName;
            }
            else
            {
                dbFile = outputFile.FullName;
            }

            var options = new MS3LibraryBuilderOptions()
            {
                PrecursorPPMTolerance = this.precursorPPM.Value,
                FragmentPPMTolerance  = this.fragmentPPM.Value,
                MaxFragmentPeakCount  = this.maxFragmentPeakCount.Value,
                PeptideFile           = this.peptideFile.FullName,
                RawFiles   = this.rawFiles.FileNames,
                OutputFile = this.outputFile.FullName,
                MinIdentifiedSpectraPerPeptide = this.minSpectraPerPeptide.Value,
                MaxTerminalLossLength          = maxTerminalLoss.Value,
                MinSequenceLength = minSequenceLength.Value,
                Modification      = txtModification.Text
            };

            return(new MS3LibraryBuilder(options));
        }
コード例 #2
0
 public MS3LibraryBuilder(MS3LibraryBuilderOptions options)
 {
     this.options = options;
 }