diff --git a/misc-scripts/xref_mapping/XrefMapper/homo_sapiens.pm b/misc-scripts/xref_mapping/XrefMapper/homo_sapiens.pm index e780bad9b5afef324e91abe146f45e51e6ee49f7..91a188c349eb7b69c691e809796bbd1139e77f24 100644 --- a/misc-scripts/xref_mapping/XrefMapper/homo_sapiens.pm +++ b/misc-scripts/xref_mapping/XrefMapper/homo_sapiens.pm @@ -7,20 +7,24 @@ use vars '@ISA'; @ISA = qw{ XrefMapper::BasicMapper }; -sub get_set_lists { +# now uses the default settings. +#sub get_set_lists { +# # return [["ExonerateGappedBest1", ["homo_sapiens","*"]]]; - - return [["ExonerateGappedBest_100_perc_id", ["homo_sapiens","Uniprot/SWISSPROT"]], - ["ExonerateGappedBest1", ["homo_sapiens","*" ]] ]; - -} +# +# return [["ExonerateGappedBest_100_perc_id", ["homo_sapiens","Uniprot/SWISSPROT"]], +# ["ExonerateGappedBest_100_perc_id", ["homo_sapiens","Uniprot/SPTREMBL"]], +# ["ExonerateGappedBest1", ["homo_sapiens","*" ]] ]; +# +#} sub gene_description_filter_regexps { return ('^BA\S+\s+\(NOVEL PROTEIN\)\.?', '^DJ\S+\s+\(NOVEL PROTEIN\)\.?', '^LOC\d+\s*(PROTEIN)?\.?', + '^Putative uncharacterized protein.*', '^ORF.*', '^PROTEIN C\d+ORF\d+\.*', '\(CLONE \S+\)\s+', @@ -93,6 +97,28 @@ JSQL } +# +#for human display_xrefs and gene descriptions have already been set in official_naming +#so we only beed to do the status's +# +#sub genes_and_transcripts_attributes_set{ +# my $self = shift; +# print "NEED TO SET STATUS ONLY FOR HUMAN!!!\n"; +# $self->build_gene_transcript_status(); +#} + +sub set_display_xrefs{ + my $self = shift; + my $display = XrefMapper::DisplayXrefs->new($self); + $display->set_display_xrefs_from_stable_table(); + +} + +sub set_gene_descriptions(){ + my $self = shift; + my $display = XrefMapper::DisplayXrefs->new($self); + $display->set_gene_descriptions_from_display_xref() +} # For human we want to make a copy of the HGNC references on the genes and put them on # the "canonical" transcripts diff --git a/misc-scripts/xref_mapping/XrefMapper/mus_musculus.pm b/misc-scripts/xref_mapping/XrefMapper/mus_musculus.pm index a19076a374df0d27355ffec9daae5627b25fb44d..9a761945fc79d02aa8746d86957ccacf739cc6c9 100644 --- a/misc-scripts/xref_mapping/XrefMapper/mus_musculus.pm +++ b/misc-scripts/xref_mapping/XrefMapper/mus_musculus.pm @@ -7,10 +7,23 @@ use vars '@ISA'; @ISA = qw{ XrefMapper::BasicMapper }; use strict; -sub get_set_lists { +#sub get_set_lists { +# +# return [["ExonerateGappedBest1", ["mus_musculus","*"]]]; +# +#} - return [["ExonerateGappedBest1", ["mus_musculus","*"]]]; +sub set_display_xrefs{ + my $self = shift; + my $display = XrefMapper::DisplayXrefs->new($self); + $display->set_display_xrefs_from_stable_table(); + +} +sub set_gene_descriptions(){ + my $self = shift; + my $display = XrefMapper::DisplayXrefs->new($self); + $display->set_gene_descriptions_from_display_xref() } sub get_official_name{ diff --git a/misc-scripts/xref_mapping/XrefMapper/rattus_norvegicus.pm b/misc-scripts/xref_mapping/XrefMapper/rattus_norvegicus.pm index 6373e5cbdcbfcf0f593d04a998ced70daf8bcfaf..58c381d5d70ed8efc400aa4b6c5364a3a1e48b96 100644 --- a/misc-scripts/xref_mapping/XrefMapper/rattus_norvegicus.pm +++ b/misc-scripts/xref_mapping/XrefMapper/rattus_norvegicus.pm @@ -6,11 +6,11 @@ use vars '@ISA'; @ISA = qw{ XrefMapper::BasicMapper }; -sub get_set_lists { - - return [["ExonerateGappedBest1", ["rattus_norvegicus","*"]]]; - -} +#sub get_set_lists { +# +# return [["ExonerateGappedBest1", ["rattus_norvegicus","*"]]]; +# +#}