GFF/Aggregator/coding.pm

filter: Statementstmt 72.7% 8 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 40.0% 2 / 5 Podpod 100% 3 / 3 totaltotal 68.4% 13 / 19 CC 1 SCAR 4.7
CC
1
Cov
73%
method
2.0
part_names
2.0
main_name
2.0
CRAP 1.6
« GFF/Aggregator/match.pm ↑ Summary GFF/Aggregator/gene.pm »
1 =head1 NAME
2  
3 Bio::DB::GFF::Aggregator::coding -- The Coding Region Aggregator
4  
5 =head1 SYNOPSIS
6  
7 use Bio::DB::GFF;
8  
9 # Open the sequence database
10 my $db = Bio::DB::GFF->new( -adaptor => 'dbi:mysql',
11 -dsn => 'dbi:mysql:elegans42',
12 -aggregator => ['coding'],
13 );
14  
15 ------------------------------------------------------------------------
16 Aggregator method: coding
17 Main method: mRNA
18 Sub methods: CDS
19 ------------------------------------------------------------------------
20  
21 =head1 DESCRIPTION
22  
23 Bio::DB::GFF::Aggregator::coding aggregates "CDS" features into a
24 feature called "coding" and was written to be compatible with the
25 Sequence Ontology canonical gene. The CDS features are expected to
26 belong to a parent of type "mRNA," but the aggregator will work even
27 if this isn't the case.
28  
29 =cut
30  
31 package Bio::DB::GFF::Aggregator::coding;
32 1 $Bio::DB::GFF::Aggregator::coding::VERSION = '1.7.4';
33 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
34  
35 1 ▶use base qw(Bio::DB::GFF::Aggregator);
Subroutine BEGIN: called CC=1 SCAR=0.0
36  
37 =head2 method
38  
39 Title : method
40 Usage : $aggregator->method
41 Function: return the method for the composite object
42 Returns : the string "coding"
43 Args : none
44 Status : Public
45  
46 =cut
47  
48 0 ▶sub method { 'coding' }
Subroutine method: not called CC=1 SCAR=6.9
Pod documented
49  
50 =head2 part_names
51  
52 Title : part_names
53 Usage : $aggregator->part_names
54 Function: return the methods for the sub-parts
55 Returns : the list (CDS cds)
56 Args : none
57 Status : Public
58  
59 =cut
60  
61 0 ▶sub part_names {
Subroutine part_names: not called CC=1 SCAR=6.9
Pod documented
62 0 return qw(CDS cds);
63 }
64  
65 =head2 main_name
66  
67 Title : main_name
68 Usage : $aggregator->main_name
69 Function: return the method for the main component
70 Returns : the string "mRNA"
71 Args : none
72 Status : Public
73  
74 =cut
75  
76 0 ▶sub main_name {
Subroutine main_name: not called CC=1 SCAR=6.9
Pod documented
77 0 return 'mRNA';
78 }
79  
80 1 1;
81 __END__
« GFF/Aggregator/match.pm ↑ Summary GFF/Aggregator/gene.pm »