src/hg/utils/phyloTrees/chainNet.pl 1.2
1.2 2009/12/09 18:28:01 hiram
Eliminate confusion from chainSelf tracks
Index: src/hg/utils/phyloTrees/chainNet.pl
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/utils/phyloTrees/chainNet.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -B -U 4 -r1.1 -r1.2
--- src/hg/utils/phyloTrees/chainNet.pl 9 Dec 2009 18:26:55 -0000 1.1
+++ src/hg/utils/phyloTrees/chainNet.pl 9 Dec 2009 18:28:01 -0000 1.2
@@ -54,9 +54,9 @@
my @chainTbls;
my $chainCount = 0;
my %orderChainNet;
-open (FH, "hgsql -e 'show tables;' $db | grep 'chain.*Link'|") or
+open (FH, "hgsql -e 'show tables;' $db | grep -v -i 'self' | grep 'chain.*Link'|") or
die "can not run hgsql 'show tables' on $db";
while (my $tbl = <FH>) {
chomp $tbl;
$tbl =~ s/^chain//;