Bio-CUA
view release on metacpan or search on metacpan
lib/Bio/CUA/CUB/Calculator.pm view on Meta::CPAN
calculation.
=cut
sub cai
{
my ($self, $seq) = @_;
$self->_xai($seq, 'CAI');
}
# the real calculator of tAI or CAI as both have the same formula
sub _xai
{
my ($self, $seq, $type) = @_;
my $name;
my $xaiHash;
if($type =~ /cai/i)
{
$name = 'CAI';
$xaiHash = $self->{"_cai_values"};
( run in 0.586 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )