From f2ef3272710f3b1017c2751c3480441d8ba8ffac Mon Sep 17 00:00:00 2001
From: Magali Ruffier <mr6@ebi.ac.uk>
Date: Mon, 18 Jan 2016 13:24:13 +0000
Subject: [PATCH] use custom-specified otherf database correctly

---
 misc-scripts/xref_mapping/XrefParser/RefSeqCoordinateParser.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/misc-scripts/xref_mapping/XrefParser/RefSeqCoordinateParser.pm b/misc-scripts/xref_mapping/XrefParser/RefSeqCoordinateParser.pm
index 1c09306f8e..5959bebef3 100644
--- a/misc-scripts/xref_mapping/XrefParser/RefSeqCoordinateParser.pm
+++ b/misc-scripts/xref_mapping/XrefParser/RefSeqCoordinateParser.pm
@@ -154,9 +154,10 @@ sub run_script {
               '-user'     => $ofuser,
               '-pass'     => $ofpass,
               '-dbname'   => $ofdbname,
-              '-species'  => $species_name.$ofhost,
+              '-species'  => $species_name,
               '-group'    => 'otherfeatures',
        );
+       $otherf_dba->dnadb($core_dba);
       } else {
 # Else database should be on staging
       $registry->load_registry_from_multiple_dbs( 
-- 
GitLab