src/hg/makeDb/doc/hg18.txt 1.405
1.405 2010/03/19 00:23:03 hartera
Changed file names to match table names and added downloads and metadata in trackDb for CRG Mapability subtracks.
Index: src/hg/makeDb/doc/hg18.txt
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/makeDb/doc/hg18.txt,v
retrieving revision 1.404
retrieving revision 1.405
diff -b -B -U 4 -r1.404 -r1.405
--- src/hg/makeDb/doc/hg18.txt 12 Mar 2010 16:50:16 -0000 1.404
+++ src/hg/makeDb/doc/hg18.txt 19 Mar 2010 00:23:03 -0000 1.405
@@ -29304,8 +29304,10 @@
# this score.
# 2010-01-26 Loaded tables and added data to /gbdb/
# 2010-01-28 Changed the table names to have wgEncode prefix for consistency.
# Added trackDb entry for the subtracks to the ENCODE Mapability track entry.
+# 2010-03-16 - 2010-03-18. Added metadata to trackDb for the subtracks and#
+# added downloads for the bigWig data files.
mkdir -p /hive/data/genomes/hg18/bed/crgMapability
cd /hive/data/genomes/hg18/bed/crgMapability
cat << 'EOF' > temp
@@ -29356,8 +29358,44 @@
# Added a trackDb entry for this subtrack of the ENCODE Mapability
# track in kent/src/hg/makeDb/trackDb/human/hg18/trackDb.wgEncode.ra
# use bigWigInfo to check min and max values.
+ # 2010-03-16 - 2010-03-18
+ # Added metadata to the trackDb entries for the subtracks and
+ # added downloads for these data files.
+ cd /usr/local/apache/htdocs/goldenPath/hg18/encodeDCC/wgEncodeMapability
+ cp -p /gbdb/hg18/bbi/crg*.bw
+ gzip crg*.bw
+ # Edited the preamble.html in
+ # hg18/encodeDCC/wgEncodeMapability/ to include the CRG dataset.
+ # Run encodeDownloadsPage.pl to generate the index page for downloads.
+ # It does not capture all the information probably because the subtrack
+ # name is different to the downloads name so change the file names and
+ # re-load the tables and make the downloads.
+ cd /hive/data/genomes/hg18/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 "crgMapabilityAlign${mer}.bw"`
+ set nf=`echo "wgEncodeCrgMapabilityAlign${mer}.bw"`
+ echo $nf
+ rm /gbdb/hg18/bbi/${of}
+ ln -s `pwd`/${f} /gbdb/hg18/bbi/${nf}
+ hgsql hg18 -e "drop table if exists wgEncodeCrgMapabilityAlign${mer}; \
+ create table wgEncodeCrgMapabilityAlign${mer} (fileName varchar(255) not null); \
+ insert into wgEncodeCrgMapabilityAlign${mer} values ('/gbdb/hg18/bbi/${nf}');"
+ end
+
+ cd /usr/local/apache/htdocs/goldenPath/hg18/encodeDCC/wgEncodeMapability
+ rm crg*
+ cp -p /gbdb/hg18/bbi/wgEncodeCrg*.bw .
+ gzip wgEncodeCrg*.bw
+ # Then run encodeDownloadsPages.pl
+ /cluster/home/hartera/bin/encodeDownloadsPage.pl -checksum \
+ -preamble=preamble.html index.html .
+
#####################################################################
# tRNAs track (2010-03-12, Fan RE-BUILT)
#
ssh hgwdev