GenOO/Junction.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« GenOO/Intron.pm ↑ Summary GenOO/RegionCollection/Factory.pm »
1 # POD documentation - main docs before the code
2  
3 =head1 NAME
4  
5 GenOO::Junction - A junction (eg exon-exon) object with features
6  
7 =head1 SYNOPSIS
8  
9 # This class represents the connection of two genomic regions in its
10 # simplest form. It basically only contains the connecting genomic positions
11
12 # To instantiate
13 my $junction = GenOO::Junction->new(
14 species => undef,
15 strand => undef,
16 chromosome => undef,
17 start => undef,
18 stop => undef,
19 });
20  
21 =head1 DESCRIPTION
22  
23 The GenOO::Junction class descibes a genomic junction.
24  
25 =head1 EXAMPLES
26  
27 my $junction = GenOO::Junction->new(
28 species => transcript->species,
29 strand => transcript->strand,
30 chromosome => transcript->chromosome,
31 start => exon1->stop,
32 stop => exon2->start,
33 );
34  
35 =cut
36  
37 # Let the code begin...
38  
39 package GenOO::Junction;
40 1 $GenOO::Junction::VERSION = '1.4.9';
41  
42 #######################################################################
43 ####################### Load External modules #####################
44 #######################################################################
45 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
46 1 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
47  
48  
49 #######################################################################
50 ########################### Inheritance ###########################
51 #######################################################################
52 1 extends 'GenOO::GenomicRegion';
53  
54  
55 #######################################################################
56 ####################### Interface attributes ######################
57 #######################################################################
58 1 has 'part_of' => (
59 is => 'rw',
60 weak_ref => 1
61 );
62  
63  
64 #######################################################################
65 ############################ Filanize #############################
66 #######################################################################
67 1 __PACKAGE__->meta->make_immutable;
68  
69 1 1;
« GenOO/Intron.pm ↑ Summary GenOO/RegionCollection/Factory.pm »