0
|
1 # $Id: NC_Feature.pm,v 1.5 2002/10/22 07:45:20 lapp Exp $
|
|
2 #
|
|
3 # BioPerl module for Bio::SeqFeature::Gene::NC_Feature.pm
|
|
4 #
|
|
5 # Cared for by David Block <dblock@gene.pbi.nrc.ca>
|
|
6 #
|
|
7 # Copyright David Block
|
|
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::NC_Feature.pm - DESCRIPTION of Object
|
|
16
|
|
17 =head1 SYNOPSIS
|
|
18
|
|
19 Give standard usage here
|
|
20
|
|
21 =head1 DESCRIPTION
|
|
22
|
|
23 Describe the object here
|
|
24
|
|
25 =head1 FEEDBACK
|
|
26
|
|
27 =head2 Mailing Lists
|
|
28
|
|
29 User feedback is an integral part of the evolution of this and other
|
|
30 Bioperl modules. Send your comments and suggestions preferably to
|
|
31 the Bioperl mailing list. Your participation is much appreciated.
|
|
32
|
|
33 bioperl-l@bioperl.org - General discussion
|
|
34 http://bioperl.org/MailList.shtml - About the mailing lists
|
|
35
|
|
36 =head2 Reporting Bugs
|
|
37
|
|
38 Report bugs to the Bioperl bug tracking system to help us keep track
|
|
39 of the bugs and their resolution. Bug reports can be submitted via
|
|
40 email or the web:
|
|
41
|
|
42 bioperl-bugs@bioperl.org
|
|
43 http://bugzilla.bioperl.org/
|
|
44
|
|
45 =head1 AUTHOR - David Block
|
|
46
|
|
47 Email dblock@gnf.org
|
|
48
|
|
49 Describe contact details here
|
|
50
|
|
51 =head1 CONTRIBUTORS
|
|
52
|
|
53 Additional contributors names and emails here
|
|
54
|
|
55 =head1 APPENDIX
|
|
56
|
|
57 The rest of the documentation details each of the object methods.
|
|
58 Internal methods are usually preceded with a _
|
|
59
|
|
60 =cut
|
|
61
|
|
62
|
|
63 # Let the code begin...
|
|
64
|
|
65 package Bio::SeqFeature::Gene::NC_Feature;
|
|
66 use vars qw(@ISA);
|
|
67 use strict;
|
|
68
|
|
69 # Object preamble - inherits from Bio::Root::Root
|
|
70
|
|
71 use Bio::SeqFeature::Generic;
|
|
72
|
|
73 @ISA = qw(Bio::SeqFeature::Generic);
|
|
74 sub new {
|
|
75 my($class,@args) = @_;
|
|
76
|
|
77 my $self = $class->SUPER::new(@args);
|
|
78 }
|
|
79
|
|
80
|
|
81
|
|
82 =head2 is_coding
|
|
83
|
|
84 Title : is_coding
|
|
85 Usage : if ($feature->is_coding()) {
|
|
86 #do something
|
|
87 }
|
|
88 Function: Whether or not the feature codes for amino acid.
|
|
89 Returns : FALSE
|
|
90 Args : none
|
|
91
|
|
92
|
|
93 =cut
|
|
94
|
|
95 sub is_coding {
|
|
96 my ($self,@args) = @_;
|
|
97 return;
|
|
98 }
|
|
99
|
|
100 =head2 cds
|
|
101
|
|
102 Title : cds
|
|
103 Usage : $cds=$feature->cds();
|
|
104 Function: get the coding sequence of this feature
|
|
105 Returns : undef
|
|
106 Args : none
|
|
107
|
|
108
|
|
109 =cut
|
|
110
|
|
111 sub cds {
|
|
112 my ($self,@args) = @_;
|
|
113 return;
|
|
114
|
|
115 }
|
|
116
|
|
117
|
|
118 1;
|