* sync with trunk
[bioperl-live.git] / Bio / LiveSeq / Repeat_Region.pm
blob67658e6d3d92de560d281b2f0548380ef09b9d76
1 # $Id$
3 # bioperl module for Bio::LiveSeq::Repeat_Region
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::Repeat_Region - Repeat_Region class for LiveSeq
17 =head1 SYNOPSIS
19 # documentation needed
21 =head1 DESCRIPTION
23 Class for REPEAT_REGION 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::Repeat_Region;
43 use strict;
44 use base qw(Bio::LiveSeq::Range);
46 =head2 new
48 Title : new
49 Usage : $intron1=Bio::LiveSeq::Repeat_Region->new(-seq => $objref,
50 -start => $startlabel,
51 -end => $endlabel, -strand => 1);
53 Function: generates a new Bio::LiveSeq::Repeat_Region
54 Returns : reference to a new object of class Repeat_Region
55 Errorcode -1
56 Args : two labels and an integer
58 =cut