io1 = Fastq.open(file1, 'r')
io2 = Fastq.open(file2, 'r')
- while not io1.eof? and not io2.eof?
- entry1 = io1.get_entry
- entry2 = io2.get_entry
-
+ while entry1 = io1.get_entry and entry2 = io2.get_entry
if encoding == :auto
if entry1.qual_base33? or entry2.qual_base33?
encoding = :base_33