From f017c309063b03c58f25c3dc7af878b3a8f6b6a1 Mon Sep 17 00:00:00 2001
From: Monika Komorowska <mk8@sanger.ac.uk>
Date: Wed, 20 Jun 2012 09:25:05 +0000
Subject: [PATCH] no clone coordinate system in mouse exists in the new
 assembly, don't project to clone for mouse either

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

diff --git a/misc-scripts/xref_mapping/XrefMapper/OfficialNaming.pm b/misc-scripts/xref_mapping/XrefMapper/OfficialNaming.pm
index b78e553fc1..a2c294dec8 100644
--- a/misc-scripts/xref_mapping/XrefMapper/OfficialNaming.pm
+++ b/misc-scripts/xref_mapping/XrefMapper/OfficialNaming.pm
@@ -1319,7 +1319,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"){
+  if($dbname ne "ZFIN_ID" && $dbname ne 'MGI'){
     my $clone_projection = $slice->project('clone'); 
     foreach my $seg (@$clone_projection) {
       my $clone = $seg->to_Slice();
@@ -1342,7 +1342,7 @@ sub get_clone_name{
       }
     }
     $len = 0;
-    if($dbname ne "ZFIN_ID"){
+    if($dbname ne "ZFIN_ID" && $dbname ne 'MGI'){
       my $clone_projection = $super->project('clone');
       foreach my $seg (@$clone_projection) {
 	my $clone = $seg->to_Slice();
-- 
GitLab