public ScanCountCalculatorUI() { InitializeComponent(); this.Text = Constants.GetSQHTitle(title, version); this.SetDirectoryArgument("TargetDir", "Target"); this.rawFiles.FileArgument = new OpenFileArgument("Raw", RawFileFactory.GetSupportedRawFormats()); }
public DeuteriumCalculatorUI() { InitializeComponent(); this.noredundantFile = new RcpaFileField(btnNoredundantFile, txtNoredundantFile, "NoredundantFile", new OpenFileArgument("Noredundant/Peptide", new string[] { "noredundant", "peptides" }), true); this.AddComponent(this.noredundantFile); this.rawFiles.FileArgument = new OpenFileArgument("Raw", RawFileFactory.GetSupportedRawFormats(), true); this.rawFiles.FileDescription = "Input raw files (" + RawFileFactory.SupportedRawFormatString + ")"; this.Text = Constants.GetSQHTitle(title, version); }
public PrecursorOffsetStatisticMainBuilderUI() { InitializeComponent(); this.Text = Constants.GetSQHTitle(title, version); this.SetDirectoryArgument("TargetDir", "Target"); this.productIonPPM = new RcpaDoubleField(txtProductIonPPM, "ProductIonPPMTolerance", "Product Ion PPM Tolerance", 20, true); AddComponent(this.productIonPPM); this.minRelativeIntensity = new RcpaDoubleField(txtMinimumIonRelativeIntensity, "MinimumIonRelativeIntensity", "Minimum Ion Relative Intensity", 0.05, true); AddComponent(this.minRelativeIntensity); this.rawFiles.FileArgument = new OpenFileArgument("Raw", RawFileFactory.GetSupportedRawFormats()); }
public MultipleRaw2MgfProcessorUI() { InitializeComponent(); this.Text = Constants.GetSQHTitle(Title, Version); this.SetDirectoryArgument("TargetDir", "Target MGF"); var options = new MultipleRaw2MgfOptions(); this.titleFormat = new RcpaComboBox <ITitleFormat>(cbTitleFormat, "TitleFormat", MascotTitleFactory.Titles, 0); this.minMassRange = new RcpaDoubleField(txtMWRangeFrom, "MWRangeFrom", "Min Mass", options.PrecursorMassRange.From, true); this.maxMassRange = new RcpaDoubleField(txtMWRangeTo, "MWRangeTo", "Max Mass", options.PrecursorMassRange.To, true); this.minIonIntensity = new RcpaDoubleField(txtMinIonIntensity, "MinIonIntensity", "Min Ion Intensity", options.MinimumIonIntensity, true); this.minIonCount = new RcpaIntegerField(txtMinIonCount, "MinIonCount", "Min Ion Count", options.MinimumIonCount, true); this.minTotalIonIntensity = new RcpaDoubleField(txtMinIonIntensityThreshold, "MinTotalIonIntensity", "Min Total Ion Intensity", options.MinimumTotalIonIntensity, true); this.defaultCharge = new RcpaComboBox <ChargeClass>(cbDefaultCharge, "DefaultCharge", new ChargeClass[] { new ChargeClass(new int[] {}), new ChargeClass(new int[] { 2, 3 }) }, 1); this.rawFiles.FileArgument = new OpenFileArgument("Raw", RawFileFactory.GetSupportedRawFormats()); //high resolution MS/MS productIonPPM = new RcpaDoubleField(txtDeisotopic, "DeisotopicPPM", "Deisotopic Product Ion Tolerance (ppm)", options.ProductIonPPM, false); AddComponent(productIonPPM); cbDeisotopic.Checked = options.Deisotopic; cbDeconvolution.Checked = options.ChargeDeconvolution; cbKeepTopX.Checked = options.KeepTopX; topX = new RcpaIntegerField(txtTopX, "TopX", "Top X Peaks in 100 dalton window", options.TopX, false); topX.PreCondition = cbKeepTopX; AddComponent(topX); cbGroupByMode.Checked = options.GroupByMode; cbGroupByMsLevel.Checked = options.GroupByMsLevel; cbParallelMode.Checked = options.ParallelMode; removeIonWindow = new RcpaDoubleField(txtRemoveMassWindow, "removeMassWindow", "Remove Mass Window", options.RemoveIonWindow, false); removeIonWindow.PreCondition = cbRemoveIons; AddComponent(removeIonWindow); isobaricTypes = new RcpaComboBox <IsobaricType>(cbxIsobaricTypes, "IsobaricType", IsobaricTypeFactory.IsobaricTypes, 0); isobaricTypes.PreCondition = cbRemoveIsobaricIons; AddComponent(isobaricTypes); proteases = new RcpaComboBox <IIsobaricLabellingProtease>(cbProteases, "Protease", IsobaricLabellingProteaseFactory.Proteases, 0); proteases.PreCondition = cbRemoveIsobaricIons; AddComponent(proteases); this.AddComponent(titleFormat); this.AddComponent(minMassRange); this.AddComponent(maxMassRange); this.AddComponent(minIonIntensity); this.AddComponent(minIonCount); this.AddComponent(minTotalIonIntensity); this.AddComponent(defaultCharge); cbRemoveSpecialIons.PreCondition = cbRemoveIons; specialIons = new RcpaTextField(txtSpecialIons, "RemoveIonMzRange", "Remove special mz range, for example, 113.5-117.5,145.5.0-155.5 for iTRAQ plex 4", options.SpecialIons, false); specialIons.PreCondition = cbRemoveSpecialIons; AddComponent(specialIons); cbRemoveIsobaricIons.PreCondition = cbRemoveIons; cbRemoveIsobaricIonsInLowRange.PreCondition = cbRemoveIsobaricIons; cbRemoveIsobaricIonsInHighRange.PreCondition = cbRemoveIsobaricIons; retentionTimeWindow = new RcpaDoubleField(txtRetentionTimeWindow, "RetentionTimeWindow", "Retention time window for smoothing offset", 0.5, false); AddComponent(retentionTimeWindow); cbRemovePrecursorLargeIons.PreCondition = cbRemovePrecursor; precursorPPM = new RcpaDoubleField(txtPrecursorPPM, "PrecursorPPM", "Precursor PPM", 50, false); precursorPPM.PreCondition = cbRemovePrecursor; AddComponent(precursorPPM); neutralLoss = new RcpaTextField(txtNeutralLoss, "NeutralLoss", "Neutral loss atom composition", "NH3,H2O,", false); neutralLoss.PreCondition = cbRemovePrecursor; AddComponent(neutralLoss); InsertButton(0, btnSave); InsertButton(0, btnLoad); }