[Bioperl-l] Extending Bio::Tools::Run::Clustalw alignment score parser.
cjfields at illinois.edu
Fri Feb 13 22:14:32 EST 2009
I've added that the subversion. Thanks for pointing that out!
On Feb 13, 2009, at 8:45 PM, Bruno Vecchi wrote:
> I was pleased to notice that the newest bioperl-run release had a
> Clustalw.pm module with an alignment score parser. However, I noticed
> that the regex does not account for negative scores which, although
> unlikely, they are possible. I propose the following change to the
> Bio/Tools/Run/Alignment/Clustalw.pm module:
> - $score = $1 if ($_ =~ /Alignment Score (\d+)/);
> + $score = $1 if ($_ =~ /Alignment Score (-?\d+)/);
> This seems to fix the issue.
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
More information about the Bioperl-l