diff --git a/misc-scripts/xref_mapping/XrefMapper/BasicMapper.pm b/misc-scripts/xref_mapping/XrefMapper/BasicMapper.pm index 17a47f153dccd958af0cc71f4063d5aa9fff4248..d29c0f1c7ffb1ce90ed33f3bcd33fa081c4336d4 100644 --- a/misc-scripts/xref_mapping/XrefMapper/BasicMapper.pm +++ b/misc-scripts/xref_mapping/XrefMapper/BasicMapper.pm @@ -2491,7 +2491,7 @@ sub build_transcript_and_gene_display_xrefs { my $i=0; my %level; - foreach my $ord (reverse(@presedence)){ + foreach my $ord (reverse (@presedence)){ $i++; if(!defined($external_name_to_id{$ord})){ print STDERR "unknown external database name *$ord* being used\n"; @@ -3080,10 +3080,10 @@ sub new_build_gene_descriptions{ my $i=0; my %level; - foreach my $ord (@presedence){ + foreach my $ord (reverse (@presedence)){ $i++; if(!defined($external_name_to_id{$ord})){ - print STDERR "No id for ord *$ord*\n"; + print STDERR "Unknown external database name *$ord* being used\n"; } $level{$external_name_to_id{$ord}} = $i; @@ -3517,18 +3517,27 @@ GENE # list of sources to be used when building gene descriptions -# sorted into increasing order of priority +# sorted into DEcreasing order of priority sub gene_description_sources { - return ("Uniprot/SPTREMBL", - "Uniprot/Varsplic", - "RefSeq_dna", - "RefSeq_peptide", - "Uniprot/SWISSPROT", - "IMGT/GENE_DB", +# return ("Uniprot/SPTREMBL", +# "Uniprot/Varsplic", +# "RefSeq_dna", +# "RefSeq_peptide", +# "Uniprot/SWISSPROT", +# "IMGT/GENE_DB", +# "miRBase", +# "RFAM"); + + return ("RFAM", "miRBase", - "RFAM"); + "IMGT/GENE_DB", + "Uniprot/SWISSPROT", + "RefSeq_peptide", + "RefSeq_dna", + "Uniprot/Varsplic", + "Uniprot/SPTREMBL"); } diff --git a/misc-scripts/xref_mapping/XrefMapper/aedes_aegypti.pm b/misc-scripts/xref_mapping/XrefMapper/aedes_aegypti.pm index f001ff5d17c8bb08183d64fc2b5c8ad8c66da99e..2ada64b4836c17ad60a245235b8a65c9763b7b36 100644 --- a/misc-scripts/xref_mapping/XrefMapper/aedes_aegypti.pm +++ b/misc-scripts/xref_mapping/XrefMapper/aedes_aegypti.pm @@ -24,10 +24,10 @@ sub get_set_lists { sub gene_description_sources { - return ("Uniprot/SPTREMBL", - "RefSeq_dna", + return ("Uniprot/SWISSPROT", "RefSeq_peptide", - "Uniprot/SWISSPROT"); + "RefSeq_dna", + "Uniprot/SPTREMBL"); } # regexps to match any descriptons we want to filter out diff --git a/misc-scripts/xref_mapping/XrefMapper/anopheles_gambiae.pm b/misc-scripts/xref_mapping/XrefMapper/anopheles_gambiae.pm index 156f530fb5b53d580c39640c2c860f04b5ee0f18..301c23d69e95ec4ce8971e71cd28f2dc75f7c67b 100644 --- a/misc-scripts/xref_mapping/XrefMapper/anopheles_gambiae.pm +++ b/misc-scripts/xref_mapping/XrefMapper/anopheles_gambiae.pm @@ -18,13 +18,13 @@ sub get_set_lists { # If there is an Anopheles_symbol xref, use its description sub gene_description_sources { - return ("RefSeq_dna_predicted", - "RefSeq_peptide_predicted", - "Uniprot/SPTREMBL", - "RefSeq_dna", + return ("Anopheles_symbol", + "Uniprot/SWISSPROT" "RefSeq_peptide", - "Uniprot/SWISSPROT", - "Anopheles_symbol"); + "RefSeq_dna", + "Uniprot/SPTREMBL", + "RefSeq_peptide_predicted", + "RefSeq_dna_predicted"); } diff --git a/misc-scripts/xref_mapping/XrefMapper/mus_musculus.pm b/misc-scripts/xref_mapping/XrefMapper/mus_musculus.pm index df821a69e5787cc5d5e7adf50ee0bdb22e70729f..b0daa9fa65e0298d40dab029fcb6f0b5897259a7 100644 --- a/misc-scripts/xref_mapping/XrefMapper/mus_musculus.pm +++ b/misc-scripts/xref_mapping/XrefMapper/mus_musculus.pm @@ -21,15 +21,15 @@ sub consortium { sub gene_description_sources { - return ("Uniprot/SPTREMBL", - "RefSeq_dna", - "RefSeq_peptide", - "Uniprot/Varsplic", - "Uniprot/SWISSPROT", - "MarkerSymbol", - "IMGT/GENE_DB", + return ("miRBase", "RFAM", - "miRBase"); + "IMGT/GENE_DB", + "MarkerSymbol", + "Uniprot/SWISSPROT", + "Uniprot/Varsplic", + "RefSeq_peptide", + "RefSeq_dna", + "Uniprot/SPTREMBL" ); }