public IsobaricResultMultipleFileDistillerUI()
        {
            InitializeComponent();

            rawFiles.FileArgument = new OpenFileArgument("Raw Files", rawExtentions);

            RcpaMultipleFileComponent adaptor = new RcpaMultipleFileComponent(rawFiles.GetItemInfos(), "RawFiles", "Raw File", false, true);

            AddComponent(adaptor);

            minPeakCount = new RcpaIntegerField(txtMinPeakCount, "MinPeakCount", "Minmum peak count", 4, true);
            AddComponent(minPeakCount);

            plexTypes = new RcpaComboBox <IsobaricType>(cbPlexType, "PlexType", IsobaricTypeFactory.IsobaricTypes, 0);
            AddComponent(plexTypes);

            readers = new RcpaComboBox <IIsobaricRawReader>(cbScanMode, "ScanMode", new IIsobaricRawReader[] { new IsobaricRawHCDMS2Reader(), new IsobaricRawHCDMS3Reader(), new IsobaricRawHCDParallelMS3Reader(), new IsobaricRawPQDCIDReader(), new IsobaricRawPQDReader() }, 0);
            AddComponent(readers);

            precursorPPMTolerance = new RcpaDoubleField(txtPrecursorPPMTolerance, "precursorPPMTolerance", "Precursor Tolerance (ppm)", 10, true);
            AddComponent(precursorPPMTolerance);

            productPPMTolerance = new RcpaDoubleField(txtProductPPM, "productPPMTolerance", "Product Ion Tolerance (ppm)", 10, true);
            AddComponent(productPPMTolerance);

            this.Text = Constants.GetSQHTitle(title, version);
        }
Ejemplo n.º 2
0
        public MaxQuantToMgfProcessorUI()
        {
            InitializeComponent();

            this.Text = Constants.GetSQHTitle(title, version);

            this.rawFiles.FileArgument = new OpenFileArgument("MaxQuant APL", ".apl");
            this.rawFileComp           = new RcpaMultipleFileComponent(this.rawFiles.GetItemInfos(), "AplFiles", "MaxQuant APL", false, true);

            this.AddComponent(rawFileComp);

            this.mergeFile = new RcpaCheckBox(cbMerge, "MergeFile", false);
            AddComponent(this.mergeFile);
        }
Ejemplo n.º 3
0
        public ITraqResultMultipleFileDistillerUI()
        {
            InitializeComponent();

            rawFiles.FileArgument = new OpenFileArgument("Raw Files", rawExtentions);

            RcpaMultipleFileComponent adaptor = new RcpaMultipleFileComponent(rawFiles.GetItemInfos(), "RawFiles", "Raw File", false, true);

            AddComponent(adaptor);

            individual = new RcpaCheckBox(cbIndividual, "Individual", false);
            AddComponent(individual);

            minPeakCount = new RcpaIntegerField(txtMinPeakCount, "MinPeakCount", "Minmum peak count", 4, true);
            AddComponent(minPeakCount);

            plexFiles = new string[] {
                new FileInfo(Application.ExecutablePath).Directory.FullName + "\\itraq-4plex.csv",
                new FileInfo(Application.ExecutablePath).Directory.FullName + "\\itraq-8plex.csv",
                new FileInfo(Application.ExecutablePath).Directory.FullName + "\\tmt-6plex.csv"
            };

            plexTypes = new RcpaComboBox <IsobaricType>(cbPlexType, "PlexType", EnumUtils.EnumToArray <IsobaricType>(), 0);
            AddComponent(plexTypes);

            txtIsotopeFileName.Items.AddRange(plexFiles);
            isotopeFile = new RcpaFileField2 <ComboBox>(btnIsotopeFile, txtIsotopeFileName, "IsotopeFile", new OpenFileArgument("Isotope Impurity Correction Table", "csv"), plexFiles[0], true, m => m.Text, (m, value) => m.Text = value);
            AddComponent(isotopeFile);

            readers = new RcpaComboBox <IITraqRawReader>(cbScanMode, "ScanMode", new IITraqRawReader[] { new ITraqRawHCDMS2Reader(), new ITraqRawHCDMS3Reader(), new ITraqRawHCDParallelMS3Reader(), new ITraqRawPQDCIDReader(), new ITraqRawPQDReader() }, 0);
            AddComponent(readers);

            normalizationBuilders = new RcpaComboBox <IITraqNormalizationBuilder>(cbNormalizationType, "NormalizationType",
                                                                                  new IITraqNormalizationBuilder[] { new ITraqNormalizationByMedianIntensityBuilder(), new ITraqNormalizationByTotalIntensityBuilder(), new ITraqNormalizationNoneBuilder() }, 1);

            AddComponent(normalizationBuilders);

            normalizationByIonInjectionTime = new RcpaCheckBox(cbNormalizeByIonInjectionTime, "normalizationByIonInjectionTime", false);
            AddComponent(normalizationByIonInjectionTime);

            precursorPPMTolerance = new RcpaDoubleField(txtPrecursorPPMTolerance, "precursorPPMTolerance", "Precursor Tolerance (ppm)", 10, true);
            AddComponent(precursorPPMTolerance);

            this.Text = Constants.GetSQHTitle(title, version);
        }
Ejemplo n.º 4
0
        public One2AllProcessorUI()
        {
            InitializeComponent();

            this.SetFileArgument("Peptides", new OpenFileArgument("BuildSummary Peptides", "peptides"));

            lbDtaFiles.FileArgument = new OpenFileArgument("Sequest Dtas", "dtas");

            this.dtasFiles = new RcpaMultipleFileComponent(lbDtaFiles.GetItemInfos(), "DtasFiles", "Sequest Dtas File", false, true);
            this.AddComponent(this.dtasFiles);

            this.targetDir = new RcpaDirectoryField(btnTargetDirectory, txtTargetDirectory, "TargetDirectory", "Target Directory", true);
            this.AddComponent(this.targetDir);

            this.extractToSameDirectory = new RcpaCheckBox(cbExtractToSameDirectory, "ExtractToSameDirectory", false);
            this.AddComponent(this.extractToSameDirectory);

            this.Text = Constants.GetSQHTitle(title, version);
        }