ensembl-hive  2.7.0
PepDnaAlignFeature.pm
Go to the documentation of this file.
1 =head1 LICENSE
2 
3 See the NOTICE file distributed with this work for additional information
4 regarding copyright ownership.
5 
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9 
10  http://www.apache.org/licenses/LICENSE-2.0
11 
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 
18 =cut
19 
20 
21 =head1 CONTACT
22 
23  Please email comments or questions to the public Ensembl
24  developers list at <http://lists.ensembl.org/mailman/listinfo/dev>.
25 
26  Questions may also be sent to the Ensembl help desk at
27  <http://www.ensembl.org/Help/Contact>.
28 
29 =cut
30 
31 =head1 NAME
32 
33 Bio::EnsEMBL::PepDnaAlignFeature - Ensembl specific pep-dna pairwise
34 alignment feature
35 
36 =head1 SYNOPSIS
37 
39 
40 =head1 METHODS
41 
42 =cut
43 
44 package Bio::EnsEMBL::PepDnaAlignFeature;
45 
47 
48 use vars qw(@ISA);
49 use strict;
50 
52 
53 =head2 transform
54 
55  Arg [1] : none
56  Example : none
57  Description: Overwrites Bio:EnsEMBL:Feature->transform as
58  to give error message
59  Status : Stable
60 
61 =cut
62 
63 sub transform {
64  my $self = shift;
65 
66  $self->throw( "PepDnaAlignFeatures cant be transformed as".
67  " they are not on EnsEMBL coord system" );
68 }
69 
70 =head2 _hit_unit
71 
72  Arg [1] : none
73  Example : none
74  Description: PRIVATE implementation of abstract superclass method. Returns
75  3 as the 'unit' used for the hit sequence.
76  Returntype : int
77  Exceptions : none
79  Status : Stable
80 
81 
82 =cut
83 
84 sub _hit_unit {
85  return 3;
86 }
87 
88 =head2 _query_unit
89 
90  Arg [1] : none
91  Example : none
92  Description: PRIVATE implementation of abstract superclass method. Returns
93  1 as the 'unit' used for the query sequence.
94  Returntype : int
95  Exceptions : none
97  Status : Stable
98 
99 
100 =cut
101 
102 sub _query_unit {
103  return 1;
104 }
105 
106 1;
EnsEMBL
Definition: Filter.pm:1
Bio::EnsEMBL::BaseAlignFeature
Definition: BaseAlignFeature.pm:90
Bio::EnsEMBL::Feature
Definition: Feature.pm:47
Bio::EnsEMBL::Feature::transform
public Bio::EnsEMBL::Feature transform()
Bio::EnsEMBL::PepDnaAlignFeature
Definition: PepDnaAlignFeature.pm:10
Bio
Definition: AltAlleleGroup.pm:4