WGS2NCBI/CdsFeature.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran 0.0% 0 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 5 totaltotal 0.0% 0 / 35 CC 4 SCAR 14.8
CC
4
Cov
0%
note
6.0
codon_start
6.0
db_xref
6.0
CRAP 4.4
1 package Bio::WGS2NCBI::CdsFeature;
2 use Bio::WGS2NCBI::MrnaFeature;
3 use base 'Bio::WGS2NCBI::MrnaFeature';
4  
5 =head1 NAME
6  
7 Bio::WGS2NCBI::CdsFeature - coding sequence feature
8  
9 =head1 DESCRIPTION
10  
11 An object of this class represents all CDS features
12 of a single gene.
13  
14 =head1 SEE ALSO
15  
16 L<Bio::WGS2NCBI::MrnaFeature>
17  
18 =head1 METHODS
19  
20 =over
21  
22 =item qualifiers()
23  
24 Returns the qualifiers to include in the feature table for a CDS. These
25 include all qualifiers used in a L<Bio::WGS2NCBI::MrnaFeature>, as well as
26 'note', 'codon_start', and 'db_xref'.
27  
28 =cut
29  
30 sub qualifiers { shift->SUPER::qualifiers, qw(note codon_start db_xref) }
31  
32 sub note {
33 my $self = shift;
34 $self->{'note'} = shift if @_;
35 return $self->{'note'};
36 }
37  
38 sub codon_start {
39 my $self = shift;
40 $self->{'codon_start'} = shift if @_;
41 return $self->{'codon_start'};
42 }
43  
44 sub db_xref {
45 my $self = shift;
46 $self->{'db_xref'} = shift if @_;
47 return $self->{'db_xref'};
48 }
49  
50 =item phase()
51  
52 Returns the GFF3 'phase', i.e. the number of nucleotides after which the
53 next reading frame begins (0, 1 or 2).
54  
55 =cut
56  
57 sub phase { shift->{'phase'} }
58  
59 =back
60  
61 =cut
62  
63 1;