* sync with trunk
[bioperl-live.git] / Bio / LiveSeq / Intron.pm
blob9445ff4e246dfd8bf2fed5170b6018381198c7db
1 # $Id$
3 # bioperl module for Bio::LiveSeq::Intron
5 # Cared for by Joseph Insana <insana@ebi.ac.uk> <jinsana@gmx.net>
7 # Copyright Joseph Insana
9 # You may distribute this module under the same terms as perl itself
11 # POD documentation - main docs before the code
13 =head1 NAME
15 Bio::LiveSeq::Intron - Range abstract class for LiveSeq
17 =head1 SYNOPSIS
19 # documentation needed
21 =head1 DESCRIPTION
23 Class for INTRON objects. They consist of a beginlabel, an endlabel (both
24 referring to a LiveSeq DNA object) and a strand.
25 The strand could be 1 (forward strand, default), -1 (reverse strand).
27 =head1 AUTHOR - Joseph A.L. Insana
29 Email: Insana@ebi.ac.uk, jinsana@gmx.net
31 =head1 APPENDIX
33 The rest of the documentation details each of the object
34 methods. Internal methods are usually preceded with a _
36 =cut
38 # Let the code begin...
40 package Bio::LiveSeq::Intron;
42 use strict;
43 use base qw(Bio::LiveSeq::Range);
45 =head2 new
47 Title : new
48 Usage : $intron1=Bio::LiveSeq::Intron->new(-seq => $objref,
49 -start => $startlabel,
50 -end => $endlabel,
51 -strand => 1
54 Function: generates a new Bio::LiveSeq::Intron
55 Returns : reference to a new object of class Intron
56 Errorcode -1
57 Args : two labels and an integer
59 =cut