Skip to content
Snippets Groups Projects
Commit 224dd11e authored by Derek Wilson's avatar Derek Wilson
Browse files

Added gene_display_xref_sources subroutine.

parent f222e9bc
No related branches found
Tags cvs/release/ensemblgenomes/19-72
No related merge requests found
...@@ -20,33 +20,26 @@ sub set_methods{ ...@@ -20,33 +20,26 @@ sub set_methods{
#Reverse order: last one has higher priority! #Reverse order: last one has higher priority! <- This comment is wrong (mikkel 12/10/2012)
# index [0] has higher priority!
sub gene_description_sources { sub gene_description_sources {
return ("VB_External_Description", return qw(
"Uniprot/SWISSPROT", VB_Community_Annotation
"VB_Community_Annotation" Uniprot/SWISSPROT
); VB_External_Description
);
} }
#Old order VB_External_Description Uniprot/SWISSPROT VB_Community_Annotation
sub gene_display_xref_sources { # only sources in this list are used when setting display_xref_id
my @list = qw(
Uniprot/SWISSPROT
VB_Community_Annotation
);
my %ignore;
return [\@list,\%ignore];
}
sub transcript_display_xref_sources { sub transcript_display_xref_sources {
my @list = qw( my @list = qw(
Uniprot/SWISSPROT VB_Community_Annotation
VB_Community_Annotation Uniprot/SWISSPROT
); VB_External_Description
);
#old VB_External_Description Uniprot/SWISSPROT VB_Community_Annotation
my %ignore; my %ignore;
#$ignore{"EntrezGene"}= 'FROM:RefSeq_[pd][en][pa].*_predicted';
return [\@list,\%ignore]; return [\@list,\%ignore];
......
...@@ -37,24 +37,9 @@ sub gene_description_sources { ...@@ -37,24 +37,9 @@ sub gene_description_sources {
); );
} }
sub gene_display_xref_sources {
my @list = qw(RFAM
miRBase
VB_Community_Annotation
Uniprot/SWISSPROT
VB_RNA_Description
);
my %ignore;
return [\@list,\%ignore];
}
sub transcript_display_xref_sources { sub transcript_display_xref_sources {
my @list = qw(RFAM my @list = qw(
miRBase
VB_Community_Annotation VB_Community_Annotation
Uniprot/SWISSPROT Uniprot/SWISSPROT
VB_RNA_Description VB_RNA_Description
......
...@@ -25,34 +25,22 @@ sub set_methods{ ...@@ -25,34 +25,22 @@ sub set_methods{
sub gene_description_sources { sub gene_description_sources {
return ( return qw(
"VB_External_Description", VB_Community_Annotation
"VB_RNA_Description", Uniprot/SWISSPROT
"Uniprot/SWISSPROT", VB_RNA_Description
"VB_Community_Annotation" VB_External_Description
); );
}
sub gene_display_xref_sources {
my @list = qw(RFAM
miRBase
Uniprot/SWISSPROT
VB_Community_Annotation
);
my %ignore;
return [\@list,\%ignore];
} }
sub transcript_display_xref_sources { sub transcript_display_xref_sources {
my @list = qw(RFAM my @list = qw(
miRBase VB_Community_Annotation
Uniprot/SWISSPROT Uniprot/SWISSPROT
VB_Community_Annotation VB_RNA_Description
); VB_External_Description
);
my %ignore; my %ignore;
return [\@list,\%ignore]; return [\@list,\%ignore];
......
...@@ -9,40 +9,33 @@ use vars '@ISA'; ...@@ -9,40 +9,33 @@ use vars '@ISA';
sub set_methods{ sub set_methods{
my $default_method = 'ExonerateGappedBest1_55_perc_id'; my $default_method = 'ExonerateGappedBest1';
my %override_method_for_source = ( ); my %override_method_for_source = (
ExonerateGappedBest5 => ['RefSeq_mRNA','RefSeq_mRNA_predicted', 'RefSeq_ncRNA', 'RefSeq_ncRNA_predicted' ],
);
return $default_method, \%override_method_for_source; return $default_method, \%override_method_for_source;
} }
#Reverse order: second one has higher priority!
sub gene_description_sources { sub gene_description_sources {
return ("Ixodes_ManualAnnotation", return qw(
"Uniprot/SWISSPROT", VB_Community_Annotation
) ; Uniprot/SWISSPROT
} VB_External_Description
);
sub gene_display_xref_sources {
my $self = shift;
my $fullmode = shift;
my @list = qw(Ixodes_ManualAnnotation
Uniprot/SWISSPROT
);
my %ignore;
return [\@list,\%ignore];
} }
#Reverse order: second one has higher priority!
sub transcript_display_xref_sources { sub transcript_display_xref_sources {
my $self = shift; my $self = shift;
my $fullmode = shift; my $fullmode = shift;
my @list = qw(Ixodes_ManualAnnotation my @list = qw(
Uniprot/SWISSPROT VB_Community_Annotation
); Uniprot/SWISSPROT
VB_External_Description
);
my %ignore; my %ignore;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment