Пример #1
0
 public ProteomeDbForm()
 {
     InitializeComponent();
     foreach (String enzyme in Enzymes.AllEnzymes().Keys)
     {
         lbxDigestion.Items.Add(enzyme);
     }
     lbxDigestion.SelectedIndex = 0;
 }
Пример #2
0
        private void btnDigest_Click(object sender, EventArgs e)
        {
            String    enzymeName = lbxDigestion.SelectedItem.ToString();
            IProtease protease   = Enzymes.AllEnzymes()[enzymeName];
            String    organism   = lbxOrganisms.SelectedItem.ToString();

            RunBackground(() =>
                          proteomeDb.GetOrganism(organism).Digest(protease, enzymeName, null, UpdateProgress));
        }