File: Hit.pm

package info (click to toggle)
psortb 3.0.6%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 121,044 kB
  • sloc: perl: 3,652; ansic: 698; cpp: 338; sh: 27; makefile: 23
file content (57 lines) | stat: -rw-r--r-- 935 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
package Algorithm::HMM::Hit;

use strict;
use 5.006;
use Carp;

use Algorithm::HMM;

=head1 NAME

Algorithm::HMM::Hit - Abstract class implementing methods shared by the Algorithm::HMM::Hit::Domain and Algorithm::HMM::Hit::Global classes.

=head1 AUTHOR

The Algorithm::HMM package was originally written by Cory Spencer <cspencer@sfu.ca> of the Simon Fraser University Brinkman Laboratory.  It is currently maintained by Matthew Laird <matt@brinkman.mbb.sfu.ca>.

=head1 SEE ALSO

Algorithm::HMM, Algorithm::HMM::Hit::Global, Algorithm::HMM::Domain, Algorithm::HMM::Report

=cut

use strict;

our $VERSION = '0.01';

sub new {
  my $class = shift;

  croak("Can't instantiate abstract class: $class");
}

sub pvalue {
  my $self = shift;

  return $self->_getPValue();
}

sub evalue {
  my $self = shift;

  return $self->_getEValue();
}

sub score {
  my $self = shift;

  return $self->_getScore();
}

sub DESTROY {

}

1;

__END__