Anonymous - 2013-01-03

Originally posted by: senanu.p... (code.google.com)@gmail.com

Another way to do this (that is not mutually exclusive) would be to evaluate more than one short read. This should also help avoid the assumption of high Phred+33 score in the last elsif line in Nicks solution:

sub get_phred64{
    my $tail_file = shift;
    my $qline = `head -n 1000 $tail_file | tail -n 1`;
    chomp $qline;
    my $qline2 = `head -n 2000 $tail_file | tail -n 1`;
    chomp $qline2;
    $qline .= $qline2;
etc. etc...

Senanu