From b1ab8d0fbd60095526bd90a41a6fcdce12b88f34 Mon Sep 17 00:00:00 2001
From: Magali Ruffier <mr6@ebi.ac.uk>
Date: Wed, 19 Dec 2012 16:35:09 +0000
Subject: [PATCH] do not project all sources only project from HGNC if species
 is human, from MGI if species is mouse

---
 misc-scripts/xref_projection/submit_projections.pl | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/misc-scripts/xref_projection/submit_projections.pl b/misc-scripts/xref_projection/submit_projections.pl
index 67605c08d9..8f10485711 100644
--- a/misc-scripts/xref_projection/submit_projections.pl
+++ b/misc-scripts/xref_projection/submit_projections.pl
@@ -268,7 +268,9 @@ foreach my $from (@execution_order) {
         my $o = "$dir/names_${from}_$to.out";
         my $e = "$dir/names_${from}_$to.err";
         my $n = substr("n_${from}_$to", 0, 10); # job name display limited to 10 chars
-        my $all = ($from eq "human") ? "" : "--all_sources"; # non-human from species -> use all sources
+        my $all;
+        if ($from eq "human" || $from eq "mouse") { $all = "" ; }
+        else { $all = "--all_sources"; }
         my $wait;
         if ($last_name) { $wait = "-w 'ended(${last_name}*)'";}
         
-- 
GitLab