public void Test()
 {
   PseudoSequenceBuilder builder = new PseudoSequenceBuilder("KR", false);
   Sequence seq = new Sequence("TEST", "EISQVFEIALKRNLPVNFEVARESGPPHMKNFVTKVSVGEFVGEGEGKSK");
   builder.Build(seq);
   Assert.AreEqual("EISQVFEIALRKNLPVNFEVAERSGPPHMNKFVTVKSVGEFVGEGEGSKK", seq.SeqString);
 }
示例#2
0
        public void Test()
        {
            PseudoSequenceBuilder builder = new PseudoSequenceBuilder("KR", false);
            Sequence seq = new Sequence("TEST", "EISQVFEIALKRNLPVNFEVARESGPPHMKNFVTKVSVGEFVGEGEGKSK");

            builder.Build(seq);
            Assert.AreEqual("EISQVFEIALRKNLPVNFEVAERSGPPHMNKFVTVKSVGEFVGEGEGSKK", seq.SeqString);
        }
示例#3
0
        public ReversedDatabaseBuilder(bool combined, bool pseudoAminoacid, string aminoacids, bool forward, string contaminantFile)
        {
            this.combined        = combined;
            this.contaminantFile = contaminantFile;

            this.pseudoAminoacid = pseudoAminoacid;
            if (pseudoAminoacid)
            {
                builder = new PseudoSequenceBuilder(aminoacids, forward);
            }
        }