Пример #1
0
 def test_filter_raises_error_on_empty_filtered_result(self):
     ''' This should raise an AssertionError because no reads will be left after that quality filter.'''
     with self.assertRaises(AssertionError):
         write_filtered(self.inputfn, 65, True)
Пример #2
0
 def test_write_filtered_unfiltered(self):
     ''' input and output fastq files should be the same if filters make everything pass '''
     write_filtered(self.inputfn, 0, False, outdir=self.outdir)
     self.seqs_equal(self.inputfn, self.actualfn, format='fastq')