ensembl-hive  2.8.1
danio_rerio.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::danio_rerio;
21 
23 
24 use vars '@ISA';
25 
26 @ISA = qw{ XrefMapper::BasicMapper };
27 
28 sub set_display_xrefs{
29  my $self = shift;
30  my $display = XrefMapper::DisplayXrefs->new($self);
31  $display->set_display_xrefs_from_stable_table();
32 
33 }
34 
35 sub set_gene_descriptions(){
36  my $self = shift;
37  my $display = XrefMapper::DisplayXrefs->new($self);
38  $display->set_gene_descriptions_from_display_xref()
39 }
40 
41 sub get_official_name{
42  return "ZFIN_ID";
43 }
44 
45 # Not running transcript_names_from_gene for merged species
46 # as this is already been done in the OfficialNaming mapper
47 sub transcript_names_from_gene {
48  return;
49 }
50 
51 1;
XrefMapper::BasicMapper
Definition: BasicMapper.pm:8
XrefMapper::DisplayXrefs
Definition: DisplayXrefs.pm:7
XrefMapper::DisplayXrefs::new
public new()