File Coverage

Bio/LiveSeq/Repeat_Unit.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             #
2             # bioperl module for Bio::LiveSeq::Repeat_Unit
3             #
4             # Please direct questions and support issues to
5             #
6             # Cared for by Joseph Insana
7             #
8             # Copyright Joseph Insana
9             #
10             # You may distribute this module under the same terms as perl itself
11             #
12             # POD documentation - main docs before the code
13              
14             =head1 NAME
15              
16             Bio::LiveSeq::Repeat_Unit - Repeat_Unit class for LiveSeq
17              
18             =head1 SYNOPSIS
19              
20             # documentation needed
21              
22             =head1 DESCRIPTION
23              
24             Class for REPEAT_UNIT objects. They consist of a beginlabel, an endlabel (both
25             referring to a LiveSeq DNA object) and a strand.
26             The strand could be 1 (forward strand, default), -1 (reverse strand).
27              
28             =head1 AUTHOR - Joseph A.L. Insana
29              
30             Email: Insana@ebi.ac.uk, jinsana@gmx.net
31              
32             =head1 APPENDIX
33              
34             The rest of the documentation details each of the object
35             methods. Internal methods are usually preceded with a _
36              
37             =cut
38              
39             # Let the code begin...
40              
41             package Bio::LiveSeq::Repeat_Unit;
42              
43 2     2   10 use strict;
  2         4  
  2         50  
44 2     2   8 use base qw(Bio::LiveSeq::Repeat_Region);
  2         2  
  2         112  
45              
46             =head2 new
47              
48             Title : new
49             Usage : $intron1=Bio::LiveSeq::Repeat_Unit->new(-seq => $objref,
50             -start => $startlabel,
51             -end => $endlabel, -strand => 1);
52              
53             Function: generates a new Bio::LiveSeq::Repeat_Unit
54             Returns : reference to a new object of class Repeat_Unit
55             Errorcode -1
56             Args : two labels and an integer
57              
58             =cut
59              
60             1;