[Bioperl-l] bitscore and rawscore for blast reports

Marc Logghe Marc.Logghe at devgen.com
Wed Dec 15 16:42:21 EST 2004

> I need to be able to get the bit score and raw score for *each* of the
> hsps, but HSPI provides no methods to get this data.

This does the trick:
print join(',',$hsp->score,$hsp->bits),"\n";

Like I already said, score() is inherited from Bio::SeqFeature::SimilarityPair. This is also the case for the bits() method.

More information about the Bioperl-l mailing list