ensembl-hive  2.8.1
anopheles_gambiae.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 package XrefMapper::anopheles_gambiae;
21 
24 
25 use vars '@ISA';
26 
27 @ISA = qw{ XrefMapper::BasicMapper };
28 
29 
30 
31 sub set_methods{
32 
33  my $default_method = 'ExonerateGappedBest1_55_perc_id';
34  my %override_method_for_source = (
35  ExonerateGappedBest5_55_perc_id => ['RefSeq_mRNA','RefSeq_mRNA_predicted', 'RefSeq_ncRNA', 'RefSeq_ncRNA_predicted' ],
36  );
37 
38  return $default_method, \%override_method_for_source;
39 }
40 
41 
42 
43 # transcript, gene display_xrefs can use defaults
44 # since anopheles_symbol is "before" Uniprot
45 
46 # If there is an Anopheles_symbol xref, use its description
47 
48 # mh4 says Anopheles_symbol doesn't get chosen over UniP
49 # (but they do get chosen in other cases)
50 
51 sub gene_description_sources {
52 
53  return ("VB_Community_Annotation",
54  "Uniprot/SWISSPROT",
55  "VB_RNA_Description",
56  );
57 }
58 
59 sub transcript_display_xref_sources {
60 
61  my @list = qw(
62  VB_Community_Annotation
63  Uniprot/SWISSPROT
64  VB_RNA_Description
65  );
66 
67  my %ignore;
68  return [\@list,\%ignore];
69 
70 }
71 
72 # regexps to match any descriptons we want to filter out
73 sub gene_description_filter_regexps {
74 
75  return ();
76 
77 }
78 
79 1;
XrefMapper::BasicMapper
Definition: BasicMapper.pm:8
XrefMapper::VBCoordinateMapper
Definition: VBCoordinateMapper.pm:7