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