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
5453e5d3
Commit
5453e5d3
authored
8 years ago
by
Magali Ruffier
Browse files
Options
Downloads
Patches
Plain Diff
ENSCORESW-1741
: add VGNC source for vertebrate naming
parent
d322d934
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
misc-scripts/xref_mapping/XrefParser/HGNCParser.pm
+6
-3
6 additions, 3 deletions
misc-scripts/xref_mapping/XrefParser/HGNCParser.pm
misc-scripts/xref_mapping/xref_config.ini
+89
-0
89 additions, 0 deletions
misc-scripts/xref_mapping/xref_config.ini
with
95 additions
and
3 deletions
misc-scripts/xref_mapping/XrefParser/HGNCParser.pm
+
6
−
3
View file @
5453e5d3
...
...
@@ -59,7 +59,9 @@ sub run {
return
1
;
}
my
$name_to_source_id
=
$self
->
get_hgnc_sources
();
my
$source_name
=
$self
->
get_source_name_for_source_id
(
$source_id
);
my
$name_to_source_id
=
$self
->
get_sources
(
$source_name
);
# Skip header
$hugo_io
->
getline
();
...
...
@@ -259,15 +261,16 @@ sub run {
sub
get_
hgnc_
sources
{
sub
get_sources
{
my
$self
=
shift
;
my
$source_name
=
shift
;
my
%name_to_source_id
;
my
@sources
=
('
entrezgene_manual
',
'
refseq_manual
',
'
entrezgene_mapped
',
'
refseq_mapped
',
'
ensembl_manual
',
'
swissprot_manual
',
'
desc_only
');
foreach
my
$key
(
@sources
)
{
my
$source_id
=
$self
->
get_source_id_for_source_name
(
'
HGNC
'
,
$key
);
my
$source_id
=
$self
->
get_source_id_for_source_name
(
$source_name
,
$key
);
if
(
!
(
defined
$source_id
)){
die
'
Could not get source id for HGNC and
'
.
$key
.
"
\n
";
}
...
...
This diff is collapsed.
Click to expand it.
misc-scripts/xref_mapping/xref_config.ini
+
89
−
0
View file @
5453e5d3
...
...
@@ -1102,6 +1102,85 @@ parser = CGNCParser
release_uri
=
data_uri
=
http://birdgenenames.org/cgnc/downloads.jsp?file=standard
[source VGNC::MULTI]
# Used by pan_troglodytes
name
=
VGNC
download
=
Y
order
=
29
priority
=
1
parser
=
HGNCParser
release_uri
=
data_uri
=
file:VGNC_to_Ensembl_mapping.txt.gz
[source VGNC::MULTI#01]
name
=
VGNC
download
=
N
order
=
30
priority
=
5
prio_descr
=
refseq_manual
parser
=
HGNCParser
release_uri
=
data_uri
=
[source VGNC::MULTI#02]
name
=
VGNC
download
=
N
order
=
30
priority
=
5
prio_descr
=
swissprot_manual
parser
=
HGNCParser
release_uri
=
data_uri
=
[source VGNC::MULTI#03]
name
=
VGNC
download
=
N
order
=
30
priority
=
5
prio_descr
=
ensembl_manual
parser
=
HGNCParser
release_uri
=
data_uri
=
[source VGNC::MULTI#04]
name
=
VGNC
download
=
N
order
=
30
priority
=
6
prio_descr
=
entrezgene_mapped
parser
=
HGNCParser
release_uri
=
data_uri
=
[source VGNC::MULTI#05]
name
=
VGNC
download
=
N
order
=
30
priority
=
7
prio_descr
=
refseq_mapped
parser
=
HGNCParser
release_uri
=
data_uri
=
[source VGNC::MULTI#06]
name
=
VGNC
download
=
N
order
=
30
priority
=
7
prio_descr
=
desc_only
parser
=
HGNCParser
release_uri
=
data_uri
=
[source VGNC::MULTI#07]
name
=
VGNC
download
=
N
order
=
30
priority
=
6
prio_descr
=
entrezgene_manual
parser
=
HGNCParser
release_uri
=
data_uri
=
[source HGNC::homo_sapiens#01]
# Used by homo_sapiens
...
...
@@ -3979,6 +4058,15 @@ prio_descr =
parser
=
done_in_official_naming
release_uri
=
[source VGNC_trans_name]
name
=
VGNC_trans_name
download
=
N
order
=
49
priority
=
1
prio_descr
=
parser
=
done_in_official_naming
release_uri
=
[source HGNC_gene_name]
name
=
HGNC_gene_name
download
=
N
...
...
@@ -6570,6 +6658,7 @@ source = ArrayExpress::MULTI
[species pan_troglodytes]
taxonomy_id
=
9598
aliases
=
pantroglodytes, ptroglodytes, chimpanzee, chimp
source
=
VGNC::MULTI
source
=
EntrezGene::MULTI
source
=
GO::MULTI
source
=
Reactome::MULTI
...
...
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