示例#1
0
 public MismatchTest()
 {
     //
     // TODO: Add constructor logic here
     //
     FastAParser Reference = new FastAParser(@"Reference.txt");
     Mismatch_Test = new Mismatcher(Reference.Parse().First());
 }
示例#2
0
        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();
            }
        }