From e11223c2be729f0ec8752143d5b9dcdcf0f9e123 Mon Sep 17 00:00:00 2001
From: Ian Longden <ianl@sanger.ac.uk>
Date: Thu, 3 Mar 2011 08:58:12 +0000
Subject: [PATCH] aux_GO_goslim_goa_map now aux_GO_goslim_generic_map

---
 misc-scripts/xref_mapping/XrefParser/GOSlimParser.pm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/misc-scripts/xref_mapping/XrefParser/GOSlimParser.pm b/misc-scripts/xref_mapping/XrefParser/GOSlimParser.pm
index 973f631bb0..27e27fc0ac 100644
--- a/misc-scripts/xref_mapping/XrefParser/GOSlimParser.pm
+++ b/misc-scripts/xref_mapping/XrefParser/GOSlimParser.pm
@@ -19,6 +19,7 @@ sub run_script {
 
   my $user = "ensro";
   my $host = "ens-staging1";
+#  my $host = "ens-livemirror";
   my $port = 3306;
   my $dbname;
   my $pass;
@@ -63,7 +64,7 @@ sub run_script {
 
   my $count = 0;
 
-  my $xref_sth = $dbi2->prepare("SELECT t.accession, s.name, s.accession FROM term t, term s, aux_GO_goslim_goa_map ts WHERE ts.term_id = t.term_id and ts.subset_term_id = s.term_id");
+  my $xref_sth = $dbi2->prepare("SELECT t.accession, s.name, s.accession FROM term t, term s, aux_GO_goslim_generic_map ts WHERE ts.term_id = t.term_id and ts.subset_term_id = s.term_id");
 
   $xref_sth->execute() or croak( $dbi2->errstr() );
   while ( my @row = $xref_sth->fetchrow_array() ) {
@@ -79,7 +80,7 @@ sub run_script {
 
   }
   $xref_sth->finish;
-  print "Parsed GOSlim GOA identifiers from $file, added $count dependent_xrefs\n" if($verbose);
+  print "Parsed GOSlim Generic identifiers from $file, added $count dependent_xrefs\n" if($verbose);
 
   return 0;
 }
-- 
GitLab