line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# POD documentation - main docs before the code |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 NAME |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
GenOO::Transcript::CDS - Transcript part (coding sequence) |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 SYNOPSIS |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
# This is a L<GenOO::Transcript::Part> object corresponding to the CDS region of a transcript |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
# To initialize |
12
|
|
|
|
|
|
|
my $region = GenOO::Transcript::Part->new({ |
13
|
|
|
|
|
|
|
species => undef, |
14
|
|
|
|
|
|
|
strand => undef, #required |
15
|
|
|
|
|
|
|
chromosome => undef, #required |
16
|
|
|
|
|
|
|
start => undef, #required |
17
|
|
|
|
|
|
|
stop => undef, #required |
18
|
|
|
|
|
|
|
name => undef, |
19
|
|
|
|
|
|
|
sequence => undef, |
20
|
|
|
|
|
|
|
transcript => undef, #backreference to a L<GenOO::Transcript> object |
21
|
|
|
|
|
|
|
splice_starts => undef, #reference to an array of splice starts |
22
|
|
|
|
|
|
|
splice_stops => undef, #reference to an array of splice stops |
23
|
|
|
|
|
|
|
}); |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 DESCRIPTION |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
Extends L<GenOO::Transcript::Part> |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 EXAMPLES |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
Not provided yet |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=cut |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
# Let the code begin... |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
package GenOO::Transcript::CDS; |
38
|
|
|
|
|
|
|
$GenOO::Transcript::CDS::VERSION = '1.4.6'; |
39
|
1
|
|
|
1
|
|
8
|
use Moose; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
7
|
|
40
|
1
|
|
|
1
|
|
4786
|
use namespace::autoclean; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
8
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
extends 'GenOO::Transcript::Part'; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
1; |