public void Test() { PseudoSequenceBuilder builder = new PseudoSequenceBuilder("KR", false); Sequence seq = new Sequence("TEST", "EISQVFEIALKRNLPVNFEVARESGPPHMKNFVTKVSVGEFVGEGEGKSK"); builder.Build(seq); Assert.AreEqual("EISQVFEIALRKNLPVNFEVAERSGPPHMNKFVTVKSVGEFVGEGEGSKK", seq.SeqString); }
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); } }