[Bioperl-l] Extending Bio::Tools::Run::Clustalw alignment score parser.

Chris Fields cjfields at illinois.edu
Sat Feb 14 03:14:32 UTC 2009


I've added that the subversion.  Thanks for pointing that out!

chris

On Feb 13, 2009, at 8:45 PM, Bruno Vecchi wrote:

> Hi,
>
> 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.
>
> Bruno.
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l




More information about the Bioperl-l mailing list