ensembl-hive  2.8.1
culex_quinquefasciatus.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::culex_quinquefasciatus;
21 
24 
25 use vars '@ISA';
26 
27 @ISA = qw{ XrefMapper::BasicMapper };
28 
29 sub set_methods{
30 
31  my $default_method = 'ExonerateGappedBest1_55_perc_id';
32  my %override_method_for_source = (
33  ExonerateGappedBest5_55_perc_id => ['RefSeq_mRNA','RefSeq_mRNA_predicted', 'RefSeq_ncRNA', 'RefSeq_ncRNA_predicted' ],
34  );
35 
36  return $default_method, \%override_method_for_source;
37 }
38 
39 
40 # transcript, gene display_xrefs can use defaults
41 # since anopheles_symbol is "before" Uniprot
42 
43 #Reverse order: the latest one is the list has higher precedence!
44 
45 sub gene_description_sources {
46 
47  return qw(
48  VB_Community_Annotation
49  Uniprot/SWISSPROT
50  VB_RNA_Description
51  VB_External_Description
52  );
53 }
54 
55 sub transcript_display_xref_sources {
56 
57  my @list = qw(
58  VB_Community_Annotation
59  Uniprot/SWISSPROT
60  VB_RNA_Description
61  VB_External_Description
62  );
63 
64  my %ignore;
65  return [\@list,\%ignore];
66 
67 }
68 
69 # regexps to match any descriptons we want to filter out
70 sub gene_description_filter_regexps {
71 
72  return ();
73 
74 }
75 
76 sub no_source_label_list{
77  my $self = shift;
78  my @list;
79 
80  print "Using no_source_label_list :-)\n";
81  #foreach my $ex (qw("VB RNA Description" "VB External Description")){
82  # $list{$ex} = 1;
83  #}
84 
85  push @list,"VB_RNA_Description";
86  push @list,"VB_External_Description";
87 
88  return \@list;
89 }
90 
91 1;
XrefMapper::BasicMapper
Definition: BasicMapper.pm:8
XrefMapper::VBCoordinateMapper
Definition: VBCoordinateMapper.pm:7