Exemplo n.º 1
0
    def test_dash_gap(self):
        sequences = [SeqRecord(Seq("AAA"), id="s1"),
                SeqRecord(Seq("A-G"), id="s2"),
                SeqRecord(Seq("-A-"), id="s3"),]

        ungapped = list(transform.ungap_sequences(sequences))
        self.assertEqual(["AAA", "AG", "A"], [str(s.seq) for s in ungapped])
Exemplo n.º 2
0
    def test_dash_gap(self):
        sequences = [SeqRecord(Seq("AAA"), id="s1"),
                SeqRecord(Seq("A-G"), id="s2"),
                SeqRecord(Seq("-A-"), id="s3"),]

        ungapped = list(transform.ungap_sequences(sequences))
        self.assertEqual(["AAA", "AG", "A"], [str(s.seq) for s in ungapped])