ensembl-hive  2.7.0
parasite.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::parasite;
21 
23 
24 use vars qw(@ISA);
25 
26 @ISA = qw(XrefMapper::BasicMapper);
27 
28 
29 # This module is activated by specifying "taxon=wormbase" in the mapping input file
30 # It contains some common config for worms maintained by WormBase (i.e. having genes
31 # with WBGene ids etc)
32 
33 sub set_methods{
34 
35  my $default_method = 'ExonerateGappedBest1';
36  my %override_method_for_source = (
37  ExonerateGappedBest5 => ['RefSeq_mRNA',
38  'RefSeq_mRNA_predicted',
39  'RefSeq_ncRNA',
40  'RefSeq_ncRNA_predicted' ],
41  );
42 
43  return $default_method, \%override_method_for_source;
44 }
45 
46 
47 sub transcript_names_from_gene {
48  return;
49 }
50 
51 
52 sub gene_description_sources {
53 
54  return ("RFAM",
55  "RNAMMER",
56  "TRNASCAN_SE",
57  "miRBase",
58  "HGNC",
59  "IMGT/GENE_DB",
60  "Uniprot/SWISSPROT",
61  "RefSeq_peptide",
62  "Uniprot/SPTREMBL",
63  );
64 
65 }
66 
67 
68 sub gene_description_filter_regexps {
69 
70  return (
71  '^Uncharacterized protein\s*',
72  '^Putative uncharacterized protein\s*',
73  '^Hypothetical protein\s*',
74  );
75 
76 }
77 
78 1;
XrefMapper::BasicMapper
Definition: BasicMapper.pm:8