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