Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
17205473
Commit
17205473
authored
Jan 09, 2012
by
Monika Komorowska
Browse files
load core data before mapping stage
parent
92d109fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
14 deletions
+9
-14
misc-scripts/xref_mapping/xref_mapper.pl
misc-scripts/xref_mapping/xref_mapper.pl
+9
-14
No files found.
misc-scripts/xref_mapping/xref_mapper.pl
View file @
17205473
...
...
@@ -87,7 +87,8 @@ my $mapper = XrefMapper::BasicMapper->process_file($file, !$notverbose, $no_xref
if
(
defined
(
$recalc_display_xrefs
)){
$mapper
->
official_naming
();
my
$official_naming
=
XrefMapper::
OfficialNaming
->
new
(
$mapper
);
$official_naming
->
run
();
my
$display
=
XrefMapper::
DisplayXrefs
->
new
(
$mapper
);
# $display->set_display_xrefs_from_stable_table();
$display
->
genes_and_transcripts_attributes_set
(
$no_xref
);
...
...
@@ -149,17 +150,17 @@ else{
$submitter
->
no_dump_xref
()
}
$status
=
$mapper
->
xref_latest_status
();
if
(
$status
eq
"
core_fasta_dumped
"){
# load core data needed
my
$core_info
=
XrefMapper::
CoreInfo
->
new
(
$mapper
);
$core_info
->
get_core_data
();
}
$status
=
$mapper
->
xref_latest_status
();
if
(
$status
eq
"
core_
fasta_dump
ed
"){
if
(
$status
eq
"
core_
data_load
ed
")
{
$submitter
->
build_list_and_map
();
$status
=
$mapper
->
xref_latest_status
();
}
else
{
}
$status
=
$mapper
->
xref_latest_status
();
if
(
$status
eq
"
mapping_started
"){
...
...
@@ -171,13 +172,7 @@ elsif($status eq "mapping_finished"){
}
$status
=
$mapper
->
xref_latest_status
();
if
(
$status
eq
"
mapping_processed
"){
# load core data needed
my
$core_info
=
XrefMapper::
CoreInfo
->
new
(
$mapper
);
$core_info
->
get_core_data
();
}
$status
=
$mapper
->
xref_latest_status
();
if
(
$status
eq
"
core_data_loaded
"){
# add direct xrefs to the object_xref etctables
if
(
$status
eq
"
mapping_processed
"){
# add direct xrefs to the object_xref etctables
my
$direct_mappings
=
XrefMapper::
DirectXrefs
->
new
(
$mapper
);
$direct_mappings
->
process
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment