EnsEMBL/PepDnaAlignFeature.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 25 CC 1 SCAR 6.9
CC
1
Cov
0%
transform
2.0
_hit_unit
2.0
_query_unit
2.0
CRAP 2.0
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  
38 See BaseAlignFeature
39  
40 =head1 METHODS
41  
42 =cut
43  
44 package Bio::EnsEMBL::PepDnaAlignFeature;
45 $Bio::EnsEMBL::PepDnaAlignFeature::VERSION = '114.0.0_50'; # TRIAL
46 $Bio::EnsEMBL::PepDnaAlignFeature::VERSION = '114.0.050';
47 use Bio::EnsEMBL::BaseAlignFeature;
48  
49 use vars qw(@ISA);
50 use strict;
51  
52 @ISA = qw( Bio::EnsEMBL::BaseAlignFeature );
53  
54 =head2 transform
55  
56 Arg [1] : none
57 Example : none
58 Description: Overwrites Bio:EnsEMBL:Feature->transform as
59 to give error message
60 Status : Stable
61  
62 =cut
63  
64 sub transform {
65 my $self = shift;
66  
67 $self->throw( "PepDnaAlignFeatures cant be transformed as".
68 " they are not on EnsEMBL coord system" );
69 }
70  
71 =head2 _hit_unit
72  
73 Arg [1] : none
74 Example : none
75 Description: PRIVATE implementation of abstract superclass method. Returns
76 3 as the 'unit' used for the hit sequence.
77 Returntype : int
78 Exceptions : none
79 Caller : Bio::EnsEMBL::BaseAlignFeature
80 Status : Stable
81  
82  
83 =cut
84  
85 sub _hit_unit {
86 return 3;
87 }
88  
89 =head2 _query_unit
90  
91 Arg [1] : none
92 Example : none
93 Description: PRIVATE implementation of abstract superclass method. Returns
94 1 as the 'unit' used for the query sequence.
95 Returntype : int
96 Exceptions : none
97 Caller : Bio::EnsEMBL::BaseAlignFeature
98 Status : Stable
99  
100  
101 =cut
102  
103 sub _query_unit {
104 return 1;
105 }
106  
107 1;