Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
ensembl
Commits
35be2fd7
Commit
35be2fd7
authored
12 years ago
by
Monika Komorowska
Browse files
Options
Downloads
Patches
Plain Diff
updated transcript_display_xref_sources and added gene_display_xref_sources
parent
40e45be7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
misc-scripts/xref_mapping/XrefMapper/tetraodon_nigroviridis.pm
+48
-20
48 additions, 20 deletions
...scripts/xref_mapping/XrefMapper/tetraodon_nigroviridis.pm
with
48 additions
and
20 deletions
misc-scripts/xref_mapping/XrefMapper/tetraodon_nigroviridis.pm
+
48
−
20
View file @
35be2fd7
...
...
@@ -6,34 +6,62 @@ use vars '@ISA';
@ISA
=
qw{ XrefMapper::BasicMapper }
;
# Same as in BasicMapper but Genoscope order reversed.
sub
gene_display_xref_sources
{
my
$self
=
shift
;
my
@list
=
qw(Genoscope_annotated_gene
RFAM
miRBase
Uniprot_genename
EntrezGene
Genoscope_pred_gene
)
;
sub
transcript_display_xref_sources
{
my
%ignore
;
my
@list
=
qw(HGNC
MGI
wormbase_transcript
flybase_symbol
Anopheles_symbol
Genoscope_annotated_gene
Genoscope_predicted_transcript
Uniprot/SWISSPROT
RefSeq
Uniprot/SPTREMBL
LocusLink)
;
#don't use EntrezGene labels dependent on predicted RefSeqs
my
%ignore
;
$ignore
{'
EntrezGene
'}
=
<<IEG;
SELECT DISTINCT ox.object_xref_id
FROM object_xref ox, dependent_xref dx,
xref xmas, xref xdep,
source smas, source sdep
WHERE ox.xref_id = dx.dependent_xref_id AND
dx.dependent_xref_id = xdep.xref_id AND
dx.master_xref_id = xmas.xref_id AND
xmas.source_id = smas.source_id AND
xdep.source_id = sdep.source_id AND
smas.name like "Refseq%predicted" AND
sdep.name like "EntrezGene" AND
ox.ox_status = "DUMP_OUT"
IEG
$ignore
{"
Uniprot/SPTREMBL
"}
=
(
<<
BIGN
);
SELECT
object_xref_id
FROM
object_xref
JOIN
xref
USING
(
xref_id
)
JOIN
source
USING
(
source_id
)
WHERE
ox_status
=
'
DUMP_OUT
'
AND
name
=
'
Uniprot/SPTREMBL
'
AND
priority_description
=
'
protein_evidence_gt_2
'
BIGN
#don't use labels starting with LOC
$ignore
{'
LOC_prefix
'}
=
<<LOCP;
SELECT object_xref_id
FROM object_xref JOIN xref USING(xref_id) JOIN source USING(source_id)
WHERE ox_status = 'DUMP_OUT' AND label REGEXP '^LOC[[:digit:]]+'
LOCP
return
[
\
@list
,
\
%ignore
];
}
sub
transcript_display_xref_sources
{
my
@list
=
qw(
Genoscope_ann_transcript
RFAM
miRBase
Uniprot/SWISSPROT
Uniprot/Varsplic
Genoscope_pred_transcript
)
;
my
%ignore
;
return
[
\
@list
,
\
%ignore
];
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment