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
9ce56e57
Commit
9ce56e57
authored
12 years ago
by
Magali Ruffier
Browse files
Options
Downloads
Patches
Plain Diff
pig is a merged species, needs some special methods to overwrite the default ones
parent
0ee04aa7
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/sus_scrofa.pm
+82
-0
82 additions, 0 deletions
misc-scripts/xref_mapping/XrefMapper/sus_scrofa.pm
with
82 additions
and
0 deletions
misc-scripts/xref_mapping/XrefMapper/sus_scrofa.pm
0 → 100644
+
82
−
0
View file @
9ce56e57
package
XrefMapper::
sus_scrofa
;
use
XrefMapper::
BasicMapper
;
use
XrefMapper::
SubmitMapper
;
use
strict
;
use
vars
'
@ISA
';
@ISA
=
qw{ XrefMapper::BasicMapper }
;
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+
',
'
^BC\d+\_\d+\.?
',
'
^CGI\-\d+ PROTEIN\.?\;?
',
'
[0-9A-Z]{10}RIK PROTEIN[ \.]
',
'
R\d{5}_\d[ \.,].*
',
'
PROTEIN KIAA\d+[ \.].*
',
'
RIKEN CDNA [0-9A-Z]{10}[ \.]
',
'
^\(*HYPOTHETICAL\s+.*
',
'
^UNKNOWN\s+.*
',
'
^DKFZP[A-Z0-9]+\s+PROTEIN[\.;]?.*
',
'
^CHROMOSOME\s+\d+\s+OPEN\s+READING\s+FRAME\s+\d+\.?.*
',
'
^FKSG\d+\.?.*
',
'
^HSPC\d+\s+PROTEIN\.?.*
',
'
^KIAA\d+\s+PROTEIN\.?.*
',
'
^KIAA\d+\s+GENE\s+PRODUCT\.?.*
',
'
^HSPC\d+.*
',
'
^PRO\d+\s+PROTEIN\.?.*
',
'
^PRO\d+\.?.*
',
'
^FLJ\d+\s+PROTEIN.*
',
'
^PRED\d+\s+PROTEIN.*
',
'
^WUGSC:.*\s+PROTEIN\.?.*
',
'
^SIMILAR TO GENE.*
',
'
^SIMILAR TO PUTATIVE[ \.]
',
'
^SIMILAR TO HYPOTHETICAL.*
',
'
^SIMILAR TO (KIAA|LOC).*
',
'
^SIMILAR TO\s+$
',
'
^WUGSC:H_.*
',
'
^\s*\(?PROTEIN\)?\.?\s*$
',
'
^\s*\(?FRAGMENT\)?\.?\s*$
',
'
^\s*\(?GENE\)?\.?\s*$
',
'
^\s*\(\s*\)\s*$
',
'
^\s*\(\d*\)\s*[ \.]$
');
}
sub
get_official_name
{
return
"
PIGGY
";
}
sub
get_canonical_name
{
return
"
PIGGY
";
}
# Not running transcript_names_from_gene for merged species
# as this is already beng done in the OfficialNaming mapper
sub
transcript_names_from_gene
{
return
;
}
# For merged species, display xref assigned from the stable_table
# which has been populated by the OfficialNaming mapper
sub
set_display_xrefs
{
my
$self
=
shift
;
my
$display
=
XrefMapper::
DisplayXrefs
->
new
(
$self
);
$display
->
set_display_xrefs_from_stable_table
();
}
1
;
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