Thu Nov 12 20:54:53 2009keith.e.robison [...] gmail.com - Ticket created
Subject:
Missing character->value conversion in example SNP caller?
Date:
Thu, 12 Nov 2009 20:54:31 -0500
To:
bug-Bio-SamTools [...] rt.cpan.org
From:
Keith Robison <keith.e.robison [...] gmail.com>
In the SNP caller in the EXAMPLES section, shouldn't
my $qscore = substr($b->qscore,$pileup->qpos,1);
instead be
# qscores stored as ASCII character; subtract 33 to get quality score
my $qscore = ord(substr($b->qscore,$pileup->qpos,1))-33;