WGS2NCBI/StrandedFeature.pm untested

filter: Statementstmt 0.0% 0 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 11 CC 1 SCAR 6.9
CC
1
Cov
0%
strand
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Bio::WGS2NCBI::StrandedFeature;
2 use Bio::WGS2NCBI::Feature;
3 use base 'Bio::WGS2NCBI::Feature';
4  
5 =head1 NAME
6  
7 Bio::WGS2NCBI::StrandedFeature - base class for features on an sequence strand
8  
9 =head1 DESCRIPTION
10  
11 Sequence features having to do with genes (i.e. CDS, mRNA, gene) are on one of the
12 two strands. Objects that inherit from this base class have a getter that identifies
13 this strand based on whatever is passed into their constructors, i.e. strand => '-'
14 or strand => '+'.
15  
16 =head1 SEE ALSO
17  
18 L<Bio::WGS2NCBI::Feature>
19  
20 =head1 METHODS
21  
22 =over
23  
24 =item strand()
25  
26 Returns the strand, i.e. '+' or '-'.
27  
28 =cut
29  
30 sub strand { shift->{'strand'} }
31  
32 =back
33  
34 =cut
35  
36 1;