comparison variant_effect_predictor/Bio/EnsEMBL/PepDnaAlignFeature.pm @ 0:1f6dce3d34e0

Uploaded
author mahtabm
date Thu, 11 Apr 2013 02:01:53 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:1f6dce3d34e0
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::PepDnaAlignFeature - Ensembl specific pep-dna pairwise
24 alignment feature
25
26 =head1 SYNOPSIS
27
28 See BaseAlignFeature
29
30 =head1 METHODS
31
32 =cut
33
34 package Bio::EnsEMBL::PepDnaAlignFeature;
35
36 use Bio::EnsEMBL::BaseAlignFeature;
37
38 use vars qw(@ISA);
39 use strict;
40
41 @ISA = qw( Bio::EnsEMBL::BaseAlignFeature );
42
43 =head2 transform
44
45 Arg [1] : none
46 Example : none
47 Description: Overwrites Bio:EnsEMBL:Feature->transform as
48 to give error message
49 Status : Stable
50
51 =cut
52
53 sub transform {
54 my $self = shift;
55
56 $self->throw( "PepDnaAlignFeatures cant be transformed as".
57 " they are not on EnsEMBL coord system" );
58 }
59
60 =head2 _hit_unit
61
62 Arg [1] : none
63 Example : none
64 Description: PRIVATE implementation of abstract superclass method. Returns
65 3 as the 'unit' used for the hit sequence.
66 Returntype : int
67 Exceptions : none
68 Caller : Bio::EnsEMBL::BaseAlignFeature
69 Status : Stable
70
71
72 =cut
73
74 sub _hit_unit {
75 return 3;
76 }
77
78 =head2 _query_unit
79
80 Arg [1] : none
81 Example : none
82 Description: PRIVATE implementation of abstract superclass method. Returns
83 1 as the 'unit' used for the query sequence.
84 Returntype : int
85 Exceptions : none
86 Caller : Bio::EnsEMBL::BaseAlignFeature
87 Status : Stable
88
89
90 =cut
91
92 sub _query_unit {
93 return 1;
94 }
95
96 1;