GFF/Aggregator/so_transcript.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/gene.pm ↑ Summary GFF/Aggregator/ucsc_acembly.pm »
1 =head1 NAME
2  
3 Bio::DB::GFF::Aggregator::so_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 => ['so_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::so_transcript is identical to the
24 processed_transcript aggregator, which was designed to be compatible
25 with the Sequence Ontology canonical gene. It aggregates raw "exon,"
26 "CDS", "five_prime_UTR", "three_prime_UTR", "transcription_start_site"
27 and "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 The processed_transcript aggregator is loaded by default, so this is
32 only needed for backward compatibility.
33  
34 =cut
35  
36 package Bio::DB::GFF::Aggregator::so_transcript;
37 1 $Bio::DB::GFF::Aggregator::so_transcript::VERSION = '1.7.4';
38 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
39  
40 1 ▶use base qw(Bio::DB::GFF::Aggregator);
Subroutine BEGIN: called CC=1 SCAR=0.0
41  
42 =head2 method
43  
44 Title : method
45 Usage : $aggregator->method
46 Function: return the method for the composite object
47 Returns : the string "processed_transcript"
48 Args : none
49 Status : Public
50  
51 =cut
52  
53 0 ▶sub method { 'so_transcript' }
Subroutine method: not called CC=1 SCAR=6.9
Pod documented
54  
55 =head2 part_names
56  
57 Title : part_names
58 Usage : $aggregator->part_names
59 Function: return the methods for the sub-parts
60 Returns : the list CDS 5'-UTR 3'-UTR transcription_start_site polyA_site
61 Args : none
62 Status : Public
63  
64 =cut
65  
66 0 ▶sub part_names {
Subroutine part_names: not called CC=1 SCAR=6.9
Pod documented
67 0 return qw(CDS 5'-UTR 3'-UTR transcription_start_site
68 polyA_site UTR five_prime_untranslated_region
69 three_prime_untranslated_region
70 five_prime_UTR three_prime_UTR exon);
71 }
72  
73 =head2 main_name
74  
75 Title : main_name
76 Usage : $aggregator->main_name
77 Function: return the method for the main component
78 Returns : the string "mRNA"
79 Args : none
80 Status : Public
81  
82 =cut
83  
84 0 ▶sub main_name {
Subroutine main_name: not called CC=1 SCAR=6.9
Pod documented
85 0 return 'mRNA';
86 }
87  
88 1 1;
89 __END__
« GFF/Aggregator/gene.pm ↑ Summary GFF/Aggregator/ucsc_acembly.pm »