0
|
1 =head1 LICENSE
|
|
2
|
|
3 Copyright (c) 1999-2012 The European Bioinformatics Institute and
|
|
4 Genome Research Limited. All rights reserved.
|
|
5
|
|
6 This software is distributed under a modified Apache license.
|
|
7 For license details, please see
|
|
8
|
|
9 http://www.ensembl.org/info/about/code_licence.html
|
|
10
|
|
11 =head1 CONTACT
|
|
12
|
|
13 Please email comments or questions to the public Ensembl
|
|
14 developers list at <dev@ensembl.org>.
|
|
15
|
|
16 Questions may also be sent to the Ensembl help desk at
|
|
17 <helpdesk@ensembl.org>.
|
|
18
|
|
19 =cut
|
|
20
|
|
21 =head1 NAME
|
|
22
|
|
23 Bio::EnsEMBL::SplicingTranscriptPair - Object representing an alternative splicing transcript pair
|
|
24
|
|
25 =head1 SYNOPSIS
|
|
26
|
|
27 my $ase = Bio::EnsEMBL::SplicingTranscriptPair->new(
|
|
28 -START => 123,
|
|
29 -END => 1045,
|
|
30 -TRANSCRIPT_ID_1 => $tran1->dbID,
|
|
31 -TRANSCRIPT_ID_2 => %tran2->dbID
|
|
32 );
|
|
33
|
|
34 =head1 DESCRIPTION
|
|
35
|
|
36 A representation of an Alternative Splicing Transcrript Pair within the Ensembl system.
|
|
37
|
|
38 =head1 METHODS
|
|
39
|
|
40 =cut
|
|
41
|
|
42 package Bio::EnsEMBL::SplicingTranscriptPair;
|
|
43
|
|
44 use strict;
|
|
45
|
|
46 use POSIX;
|
|
47 use Bio::EnsEMBL::Feature;
|
|
48 use Bio::EnsEMBL::Utils::Argument qw(rearrange);
|
|
49 use Bio::EnsEMBL::Utils::Exception qw(throw warning deprecate);
|
|
50
|
|
51 use vars qw(@ISA);
|
|
52 @ISA = qw(Bio::EnsEMBL::Feature);
|
|
53
|
|
54
|
|
55
|
|
56
|
|
57 sub transcript_id_1{
|
|
58 my $self = shift;
|
|
59 $self->{'transcript_id_1'} = shift if (@_);
|
|
60
|
|
61 if (defined $self->{'transcript_id_1'}) {
|
|
62 return $self->{'transcript_id_1'};
|
|
63 }
|
|
64
|
|
65 return undef;
|
|
66 }
|
|
67
|
|
68 sub transcript_id_2{
|
|
69 my $self = shift;
|
|
70 $self->{'transcript_id_2'} = shift if (@_);
|
|
71
|
|
72 if (defined $self->{'transcript_id_2'}) {
|
|
73 return $self->{'transcript_id_2'};
|
|
74 }
|
|
75
|
|
76 return undef;
|
|
77 }
|
|
78
|
|
79
|
|
80 sub start{
|
|
81 my $self = shift;
|
|
82 $self->{'start'} = shift if (@_);
|
|
83
|
|
84 if (defined $self->{'start'}) {
|
|
85 return $self->{'start'};
|
|
86 }
|
|
87
|
|
88 return undef;
|
|
89 }
|
|
90
|
|
91 sub end{
|
|
92 my $self = shift;
|
|
93 $self->{'end'} = shift if (@_);
|
|
94
|
|
95 if (defined $self->{'end'}) {
|
|
96 return $self->{'end'};
|
|
97 }
|
|
98
|
|
99 return undef;
|
|
100 }
|
|
101
|
|
102
|
|
103
|
|
104
|
|
105
|
|
106 1;
|