GFF/Aggregator/processed_transcript.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 3 / 3 totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
method
1.0
CRAP 1.0
« GFF/Adaptor/dbi/mysqlopt.pm ↑ Summary GFF/Aggregator/transcript.pm »
1 =head1 NAME
2  
3 Bio::DB::GFF::Aggregator::processed_transcript -- Sequence Ontology Transcript
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 => ['processed_transcript'],
13 );
14  
15 ------------------------------------------------------------------------
16 Aggregator method: processed_transcript
17 Main method: mRNA
18 Sub methods: CDS exon five_prime_UTR three_prime_UTR transcription_start_site polyA_site 5'-UTR 3'-UTR
19 ------------------------------------------------------------------------
20  
21 =head1 DESCRIPTION
22  
23 Bio::DB::GFF::Aggregator::processed_transcript is one of the default
24 aggregators, and was written to be compatible with the Sequence
25 Ontology canonical gene. It aggregates raw "exon," "CDS",
26 "five_prime_UTR", "three_prime_UTR", "transcription_start_site" and
27 "polyA_site" features into "mRNA" features. The UTRs may also be
28 named "untranslated_region," "five_prime_untranslated_region,"
29 "three_prime_untranslated_region,", "5'-UTR," and other synonyms.
30  
31 =cut
32  
33 package Bio::DB::GFF::Aggregator::processed_transcript;
34 4 $Bio::DB::GFF::Aggregator::processed_transcript::VERSION = '1.7.4';
35 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
36  
37 4 ▶use base qw(Bio::DB::GFF::Aggregator);
Subroutine BEGIN: called CC=1 SCAR=0.0
38  
39 =head2 method
40  
41 Title : method
42 Usage : $aggregator->method
43 Function: return the method for the composite object
44 Returns : the string "processed_transcript"
45 Args : none
46 Status : Public
47  
48 =cut
49  
50 211 ▶sub method { 'processed_transcript' }
Subroutine method: called CC=1 SCAR=0.0
Pod documented
51  
52 =head2 part_names
53  
54 Title : part_names
55 Usage : $aggregator->part_names
56 Function: return the methods for the sub-parts
57 Returns : the list CDS 5'-UTR 3'-UTR transcription_start_site polyA_site
58 Args : none
59 Status : Public
60  
61 =cut
62  
63 106 ▶sub part_names {
Subroutine part_names: called CC=1 SCAR=0.0
Pod documented
64 106 return qw(CDS 5'-UTR 3'-UTR transcription_start_site
65 polyA_site UTR five_prime_untranslated_region
66 three_prime_untranslated_region
67 five_prime_UTR three_prime_UTR exon);
68 }
69  
70 =head2 main_name
71  
72 Title : main_name
73 Usage : $aggregator->main_name
74 Function: return the method for the main component
75 Returns : the string "mRNA"
76 Args : none
77 Status : Public
78  
79 =cut
80  
81 182 ▶sub main_name {
Subroutine main_name: called CC=1 SCAR=0.0
Pod documented
82 182 return 'mRNA';
83 }
84  
85 4 1;
86 __END__
« GFF/Adaptor/dbi/mysqlopt.pm ↑ Summary GFF/Aggregator/transcript.pm »