comparison variant_effect_predictor/Bio/SeqFeature/Gene/GeneStructureI.pm @ 0:1f6dce3d34e0

Uploaded
author mahtabm
date Thu, 11 Apr 2013 02:01:53 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:1f6dce3d34e0
1 # $Id: GeneStructureI.pm,v 1.8 2002/10/22 07:38:41 lapp Exp $
2 #
3 # BioPerl module for Bio::SeqFeature::Gene::GeneStructureI
4 #
5 # Cared for by Hilmar Lapp <hlapp@gmx.net>
6 #
7 # Copyright Hilmar Lapp
8 #
9 # You may distribute this module under the same terms as perl itself
10
11 # POD documentation - main docs before the code
12
13 =head1 NAME
14
15 Bio::SeqFeature::Gene::GeneStructure - A feature representing an arbitrarily
16 complex structure of a gene
17
18 =head1 SYNOPSIS
19
20 #documentaion needed
21
22 =head1 DESCRIPTION
23
24 A feature representing a gene structure.
25
26 =head1 FEEDBACK
27
28 =head2 Mailing Lists
29
30 User feedback is an integral part of the evolution of this
31 and other Bioperl modules. Send your comments and suggestions preferably
32 to one of the Bioperl mailing lists.
33 Your participation is much appreciated.
34
35 bioperl-l@bioperl.org - General discussion
36 http://bio.perl.org/MailList.html - About the mailing lists
37
38 =head2 Reporting Bugs
39
40 Report bugs to the Bioperl bug tracking system to help us keep track
41 the bugs and their resolution.
42 Bug reports can be submitted via email or the web:
43
44 bioperl-bugs@bio.perl.org
45 http://bugzilla.bioperl.org/
46
47 =head1 AUTHOR - Hilmar Lapp
48
49 Email hlapp@gmx.net
50
51 Describe contact details here
52
53 =head1 APPENDIX
54
55 The rest of the documentation details each of the object methods.
56 Internal methods are usually preceded with a _
57
58 =cut
59
60
61 # Let the code begin...
62
63
64 package Bio::SeqFeature::Gene::GeneStructureI;
65 use vars qw(@ISA);
66 use strict;
67
68 use Carp;
69 use Bio::SeqFeatureI;
70
71 @ISA = qw(Bio::SeqFeatureI);
72
73 =head2 transcripts
74
75 Title : transcripts()
76 Usage : @transcripts = $gene->transcripts();
77 Function: Get the transcript features/sites of this gene structure.
78
79 See Bio::SeqFeature::Gene::TranscriptI for properties of the
80 returned objects.
81
82 Returns : An array of Bio::SeqFeature::Gene::TranscriptI implementing objects
83 representing the promoter regions or sites.
84 Args :
85
86
87 =cut
88
89 sub transcripts {
90 my ($self) = @_;
91 $self->throw_not_implemented();
92 }
93
94 =head2 promoters
95
96 Title : promoters()
97 Usage : @prom_sites = $gene->promoters();
98 Function: Get the promoter features/sites of this gene structure.
99
100 Note that OO-modeling of regulatory elements is not stable yet.
101 This means that this method might change or even disappear in a
102 future release. Be aware of this if you use it.
103
104 Returns : An array of Bio::SeqFeatureI implementing objects representing the
105 promoter regions or sites.
106 Args :
107
108 =cut
109
110 sub promoters {
111 my ($self) = @_;
112 $self->throw_not_implemented();
113 }
114
115 =head2 exons
116
117 Title : exons()
118 Usage : @exons = $gene->exons();
119 @inital = $gene->exons('Initial');
120 Function: Get all exon features or all exons of specified type of this gene
121 structure.
122
123 Refer to the documentation of the class that produced this gene
124 structure object for information about the possible types.
125
126 See Bio::SeqFeature::Gene::ExonI for properties of the
127 returned objects.
128
129 Returns : An array of Bio::SeqFeature::Gene::ExonI implementing objects
130 representing the exon regions.
131 Args : An optional string specifying the type of the exon.
132
133 =cut
134
135 sub exons {
136 my ($self, $type) = @_;
137 $self->throw_not_implemented();
138 }
139
140 =head2 introns
141
142 Title : introns()
143 Usage : @introns = $gene->introns();
144 Function: Get all introns of this gene structure.
145 Returns : An array of Bio::SeqFeatureI implementing objects representing the
146 introns.
147 Args :
148
149
150 =cut
151
152 sub introns {
153 my ($self) = @_;
154 $self->throw_not_implemented();
155 }
156
157 =head2 poly_A_sites
158
159 Title : poly_A_sites()
160 Usage : @polyAsites = $gene->poly_A_sites();
161 Function: Get the poly-adenylation features/sites of this gene structure.
162 Returns : An array of Bio::SeqFeatureI implementing objects representing the
163 poly-adenylation regions or sites.
164 Args :
165
166
167 =cut
168
169 sub poly_A_sites {
170 my ($self) = @_;
171 $self->throw_not_implemented();
172 }
173
174 =head2 utrs
175
176 Title : utrs()
177 Usage : @utr_sites = $gene->utrs();
178 Function: Get the UTR features/sites of this gene structure.
179
180 See Bio::SeqFeature::Gene::ExonI for properties of the
181 returned objects.
182
183 Returns : An array of Bio::SeqFeature::Gene::ExonI implementing objects
184 representing the UTR regions or sites.
185 Args :
186
187
188 =cut
189
190 sub utrs {
191 my ($self) = @_;
192 $self->throw_not_implemented();
193 }
194
195 1;