Esempio n. 1
0
 def test_quality_scores(self):
     """test quality scores correctly returned"""
     result = dict(
         list(
             DialignParser(data,
                           seq_maker=PROTEIN.make_seq,
                           get_scores=True)))
     assert result["QualityScores"] == self.QualityScores
Esempio n. 2
0
 def test_aligned_from_dialign(self):
     """test getting aligned seqs"""
     aligned_seq = dict(list(DialignParser(data, seq_maker=PROTEIN.make_seq)))
     assert aligned_seq == self.aln_seqs