Skip to content

Commit

Permalink
add default modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinkovalchik committed Jan 16, 2019
1 parent b740658 commit 9bcde0d
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 77 deletions.
11 changes: 11 additions & 0 deletions RawToolsGUI/ModificationTable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,19 @@ public class PeptideModifications
public PeptideModifications()
{
KMod.AA = "K";
KMod.Mass = "229.16293";
KMod.Use = true;

NMod.AA = "[";
NMod.Mass = "229.16293";
NMod.Use = true;

FMods = new List<(string Mass, string AA, bool Use)>();
FMods.Add(("57.02146", "C", true));

XMod.AA = "M";
XMod.Mass = "15.99491";
XMod.Use = true;
}

public string KModString { get { return GetModString(KMod); } }
Expand Down
157 changes: 80 additions & 77 deletions RawToolsGUI/RawToolsGUI.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions RawToolsGUI/RawToolsGUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ private void radioButtonSearchNone_CheckedChanged(object sender, EventArgs e)
textBoxNumSpectra.Enabled = false;

checkBoxAutoSearchIdentipy.Enabled = false;

labelPeptideMods.Enabled = false;
buttonPeptideMods.Enabled = false;
}
}

Expand All @@ -169,6 +172,9 @@ private void radioButtonSearchXTandem_CheckedChanged(object sender, EventArgs e)
textBoxNumSpectra.Enabled = true;

checkBoxAutoSearchIdentipy.Enabled = false;

labelPeptideMods.Enabled = true;
buttonPeptideMods.Enabled = true;
}
}

Expand All @@ -195,6 +201,9 @@ private void radioButtonSearchIdentipy_CheckedChanged(object sender, EventArgs e
textBoxPythonExe.Enabled = true;
textBoxIdentipyScript.Enabled = true;
}

labelPeptideMods.Enabled = true;
buttonPeptideMods.Enabled = true;
}
}

Expand All @@ -218,6 +227,15 @@ private void checkBoxAutoSearchIdentipy_CheckedChanged(object sender, EventArgs

private void checkBoxModeParse_CheckedChanged(object sender, EventArgs e)
{
if (checkBoxModeParse.Checked)
{
groupBoxDataOutput.Enabled = true;
}
else
{
groupBoxDataOutput.Enabled = false;
}

}

private void checkBoxModeQC_CheckedChanged(object sender, EventArgs e)
Expand Down

0 comments on commit 9bcde0d

Please sign in to comment.