public MismatchTest() { // // TODO: Add constructor logic here // FastAParser Reference = new FastAParser(@"Reference.txt"); Mismatch_Test = new Mismatcher(Reference.Parse().First()); }
private void referenceButton_Click(object sender, RoutedEventArgs e) { string id = getSelectedSequenceId(); this.refId = id; var seq = getSequence(id); if (seq == null) return; mismatcher = new Mismatcher(seq); referencePanel.Sequence = seq; referenceBar.Sequence = seq; if (query != null) { var mismatches = mismatcher.GetMismatches(query); referenceBar.Mismatches = mismatches; queryBar.Mismatches = mismatches; loadComparison(); } }