From 008c9acce46893dfb95535b2ed7bb2d041c4b218 Mon Sep 17 00:00:00 2001
From: Magali Ruffier <mr6@ebi.ac.uk>
Date: Mon, 8 Oct 2012 15:33:18 +0000
Subject: [PATCH] added pig to the list of species with an official_naming, ie
 which are being merged a blank line was removed in the process

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

diff --git a/misc-scripts/xref_mapping/XrefMapper/OfficialNaming.pm b/misc-scripts/xref_mapping/XrefMapper/OfficialNaming.pm
index a2c294dec8..9f864bacab 100644
--- a/misc-scripts/xref_mapping/XrefMapper/OfficialNaming.pm
+++ b/misc-scripts/xref_mapping/XrefMapper/OfficialNaming.pm
@@ -866,7 +866,6 @@ sub find_max_ids{
   $sth->execute();
   $sth->bind_columns(\$max_xref_id);
   $sth->fetch;
- 
 
   print "MAX xref_id = $max_xref_id MAX object_xref_id = $max_object_xref_id, max_object_xref from identity_xref = $max_object_xref_id2\n";
   return $max_object_xref_id, $max_xref_id;
@@ -1319,7 +1318,7 @@ sub get_clone_name{
   my $gene= $ga->fetch_by_dbID($gene_id);
   my $slice = $gene->slice->sub_Slice($gene->start,$gene->end,$gene->strand);
   my $len = 0;
-  if($dbname ne "ZFIN_ID" && $dbname ne 'MGI'){
+  if($dbname ne "ZFIN_ID" && $dbname ne 'MGI' && $dbname ne "PIGGY"){
     my $clone_projection = $slice->project('clone'); 
     foreach my $seg (@$clone_projection) {
       my $clone = $seg->to_Slice();
@@ -1342,7 +1341,7 @@ sub get_clone_name{
       }
     }
     $len = 0;
-    if($dbname ne "ZFIN_ID" && $dbname ne 'MGI'){
+    if($dbname ne "ZFIN_ID" && $dbname ne 'MGI' && $dbname ne "PIGGY"){
       my $clone_projection = $super->project('clone');
       foreach my $seg (@$clone_projection) {
 	my $clone = $seg->to_Slice();
-- 
GitLab