From e730db28dd1d0c9e891118e176c6756384c26144 Mon Sep 17 00:00:00 2001
From: Glenn Proctor <gp1@sanger.ac.uk>
Date: Tue, 25 Nov 2008 11:04:45 +0000
Subject: [PATCH] Skip projection of genes from sources with "clone" in the db
 name - should stop mouse clone names being projected to rat & kangaroo rat.

---
 misc-scripts/xref_projection/project_display_xrefs.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/misc-scripts/xref_projection/project_display_xrefs.pl b/misc-scripts/xref_projection/project_display_xrefs.pl
index db3a5a8fe4..8f258fc52c 100644
--- a/misc-scripts/xref_projection/project_display_xrefs.pl
+++ b/misc-scripts/xref_projection/project_display_xrefs.pl
@@ -242,8 +242,8 @@ sub project_display_names {
 
       return if (!$all_sources && $dbname !~ /HGNC/);
 
-      # skip Vega clone names (possibly not needed)
-      #return if (lc($dbname) =~ /vega/ && $dbEntry->display_id() =~ /\./);
+      # Skip clone names if projecting all sources
+      return if (lc($dbname) =~ /clone/);
 
       # Modify the dbEntry to indicate it's not from this species - set info_type & info_text
       my $info_txt = "from $from_latin_species gene " . $from_gene->stable_id();
-- 
GitLab