src/hg/makeDb/doc/hg19.txt 1.105
1.105 2010/05/11 23:43:07 hartera
Updated names of files and tables as all ENCODE tracks are to have wgEncode prefix.
Index: src/hg/makeDb/doc/hg19.txt
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/makeDb/doc/hg19.txt,v
retrieving revision 1.104
retrieving revision 1.105
diff -b -B -U 4 -r1.104 -r1.105
--- src/hg/makeDb/doc/hg19.txt 30 Apr 2010 18:45:00 -0000 1.104
+++ src/hg/makeDb/doc/hg19.txt 11 May 2010 23:43:07 -0000 1.105
@@ -8575,8 +8575,11 @@
# added downloads for the bigWig data files.
# 2010-04-28. Received new data from Thomas Derrien. Downloaded data and
# added it to /gbdb/. A bug was found in a library used by bedGraphToBigWig so
# sent a new binary to data providers and they re-created the bigWig files.
+# 2010-05-11. All ENCODE tracks need to be preceded by the wgEncode prefix now
+# on all assemblies. Update the file names in /gbdb/hg19/bbi and the
+# table names. (hartera)
mkdir -p /hive/data/genomes/hg19/bed/crgMapability
cd /hive/data/genomes/hg19/bed/crgMapability
cat << 'EOF' > temp
#!/bin/tcsh -ef
@@ -8713,8 +8716,30 @@
rm /gbdb/hg19/bbi/${nf}
ln -s `pwd`/${f} /gbdb/hg19/bbi/${nf}
end
+ # 2010-05-11, hartera. Re-name bigWig files and update tables
+ # as all ENCODE tracks should now have the wgEncode prefix on all
+ # assemblies.
+ cd /hive/data/genomes/hg19/bed/crgMapability
+ foreach f (`ls *.bw`)
+ echo $f
+ set g=`echo $f | cut -d "-" -f2`
+ set num=`echo $g | cut -d "." -f1`
+ set mer=`echo "${num}mer"`
+ set of=`echo "encCrgMapabilityAlign${mer}.bw"`
+ set nf=`echo "wgEncodeCrgMapabilityAlign${mer}.bw"`
+ echo $nf
+ rm /gbdb/hg19/bbi/${of}
+ ln -s `pwd`/${f} /gbdb/hg19/bbi/${nf}
+ hgsql hg19 -e "drop table if exists encCrgMapabilityAlign${mer}; \
+ create table wgEncodeCrgMapabilityAlign${mer} (fileName varchar(255) not null); \
+ insert into wgEncodeCrgMapabilityAlign${mer} values ('/gbdb/hg19/bbi/${nf}');"
+ end
+ # Then change the subtrack names to match the new table names in
+ # kent/src/hg/makeDb/trackDb/human/hg19/trackDb.wgEncode.ra as
+ # the contents of trackDb.enc.ra has been moved there.
+
#####################################################################
# tRNAs track (2010-01-13, Fan DONE)
# tRNAs track (2010-03-10, Fan RE-BUILT WITH UPDATED DATA FROM TODD LOWE)
#