From eba3092fd43add111003fc444de9a5eccf3e45ec Mon Sep 17 00:00:00 2001
From: Philip Lijnzaad <lijnzaad@sanger.ac.uk>
Date: Wed, 10 Oct 2001 18:03:04 +0000
Subject: [PATCH] tested now and works

---
 misc-scripts/utilities/satellite_dbdump_bychr.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/misc-scripts/utilities/satellite_dbdump_bychr.pl b/misc-scripts/utilities/satellite_dbdump_bychr.pl
index 5b3a050916..c41d93d99f 100755
--- a/misc-scripts/utilities/satellite_dbdump_bychr.pl
+++ b/misc-scripts/utilities/satellite_dbdump_bychr.pl
@@ -133,7 +133,7 @@ WHERE  t.chr_name = '$chr'
         $sql="
 SELECT t.*
 FROM   $table t, gene g
-WHERE  t.chr_name = '$chr' 
+WHERE  g.chr_name = '$chr' 
   AND  t.gene = g.gene
 ";
         dump_data($sql, $satdb, $table );
-- 
GitLab