ensembl-hive  2.8.1
DnaPepAlignFeature.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::DnaPepAlignFeature - Ensembl specific dna-pep pairwise
34 alignment feature
35 
36 =head1 SYNOPSIS
37 
39 
40 =cut
41 
42 
43 package Bio::EnsEMBL::DnaPepAlignFeature;
44 
45 use strict;
46 
48 use Scalar::Util qw(weaken isweak);
49 
50 use vars qw(@ISA);
51 
53 
54 use constant SEQUENCE_ONTOLOGY => {
55  acc => 'SO:0000349',
56  term => 'protein_match',
57 };
58 
59 =head2 _hit_unit
60 
61  Arg [1] : none
62  Description: PRIVATE implementation of abstract superclass method. Returns
63  1 as the 'unit' used for the hit sequence.
64  Returntype : int
65  Exceptions : none
67  Status : Stable
68 
69 
70 =cut
71 
72 sub _hit_unit {
73  return 1;
74 }
75 
76 
77 =head2 _query_unit
78 
79  Arg [1] : none
80  Description: PRIVATE implementation of abstract superclass method. Returns
81  3 as the 'unit' used for the query sequence.
82  Returntype : int
83  Exceptions : none
85  Status : Stable
86 
87 
88 =cut
89 
90 sub _query_unit {
91  return 3;
92 }
93 
94 
95 1;
Bio::EnsEMBL::DnaPepAlignFeature
Definition: DnaPepAlignFeature.pm:12
Bio::EnsEMBL::BaseAlignFeature
Definition: BaseAlignFeature.pm:90