70d4208efa11f262ba5591198214c9ccdc6b54ae
angie
  Mon Aug 22 22:24:05 2011 -0700
Feature #3707 (VCF+tabix support in hgTables):Basic hgTables support for VCF, modeled after BAM code.  Tested all fields,
selected fields, bed output; filter, intersection, schema
on 3 flavors of vcfTabix:
ftp://ftp-trace.ncbi.nih.gov/1000genomes/ftp/release/20101123/interim_phase1_release/ALL.chr17.phase1.projectConsensus.genotypes.vcf.gz
ftp://ftp-trace.ncbi.nlm.nih.gov/1000genomes/ftp/release/20100804/AFR.dindel.20100804.sites.vcf.gz
ftp://ftp.ncbi.nih.gov/snp/organisms/human_9606/VCF/v4.0/ByChromosomeNoGeno/00-All.vcf.gz

diff --git src/hg/hgTables/makefile src/hg/hgTables/makefile
index 5bd1693..d66c4a5 100644
--- src/hg/hgTables/makefile
+++ src/hg/hgTables/makefile
@@ -1,93 +1,93 @@
 include ../../inc/common.mk
 
 L += -lm ${MYSQLLIBS}
 MYLIBDIR = ../../lib/${MACHTYPE}
 MYLIBS =  ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
 
 A = hgTables
 
 T = tstbug.o
 
 O = $A.o asFilter.o asObj.o bam.o bedList.o bigBed.o bigWig.o \
     chromGraph.o compositeTrack.o custom.o filterFields.o \
     gffOut.o identifiers.o intersect.o correlate.o correlatePlot.o \
     joining.o maf.o mainPage.o microarrayTables.o rangeHistogram.o schema.o pal.o \
-    seqOut.o sumStats.o usage.o wiggle.o wikiTrack.o galaxy.o great.o userRegions.o
+    seqOut.o sumStats.o usage.o vcf.o wiggle.o wikiTrack.o galaxy.o great.o userRegions.o
 
 include ../../inc/cgi_build_rules.mk
 
 rsyncDataOpts = --times --recursive --omit-dir-times --cvs-exclude --delete
 
 my::
 	rm -f ${CGI_BIN}-${USER}/all.joiner
 	cp ../makeDb/schema/all.joiner ${CGI_BIN}-${USER}
 	rm -rf ${CGI_BIN}-${USER}/greatData
 	rsync ${rsyncDataOpts} greatData ${CGI_BIN}-${USER}/
 	chmod -R a+rX ${CGI_BIN}-${USER}/greatData
 	chmod a+r ${CGI_BIN}-${USER}/all.joiner
 	chmod g+w ${CGI_BIN}-${USER}/all.joiner
 
 alpha::
 	rm -f ${CGI_BIN}/all.joiner
 	cp ../makeDb/schema/all.joiner ${CGI_BIN}
 	rm -rf ${CGI_BIN}/greatData
 	rsync ${rsyncDataOpts} greatData ${CGI_BIN}/
 	chmod -R a+rX ${CGI_BIN}/greatData
 	chmod a+r ${CGI_BIN}/all.joiner
 	chmod g+w ${CGI_BIN}/all.joiner
 
 beta::
 	rm -f ${CGI_BIN}-beta/all.joiner
 	cp ../makeDb/schema/all.joiner ${CGI_BIN}-beta
 	rm -rf ${CGI_BIN}-beta/greatData
 	rsync ${rsyncDataOpts} greatData ${CGI_BIN}-beta/
 	chmod -R a+rX ${CGI_BIN}-beta/greatData
 	chmod a+r ${CGI_BIN}-beta/all.joiner
 	chmod g+w ${CGI_BIN}-beta/all.joiner
 
 install::
 	rm -f ${DESTDIR}${CGI_BIN}/all.joiner
 	cp ../makeDb/schema/all.joiner ${DESTDIR}${CGI_BIN}
 	rm -rf ${DESTDIR}${CGI_BIN}/greatData
 	rsync ${rsyncDataOpts} greatData ${DESTDIR}${CGI_BIN}/
 	chmod -R a+rX ${DESTDIR}${CGI_BIN}/greatData
 	chmod a+r ${DESTDIR}${CGI_BIN}/all.joiner
 	chmod g+w ${DESTDIR}${CGI_BIN}/all.joiner
 
 compile: $O 
 	${CC} -g $O ${MYLIBS} ${L} 
 	mv ${AOUT} $A${EXE}
 
 #	all objects depend on hgTables.h
 
 asObj.o:	hgTables.h
 bedList.o:	hgTables.h correlate.h
 bigWig.o:	hgTables.h
 custom.o:	hgTables.h
 compositeTrack.o:	hgTables.h
 filterFields.o:	hgTables.h
 galaxy.o:	hgTables.h
 gffOut.o:	hgTables.h
 great.o:	hgTables.h
 hgTables.o:	hgTables.h
 identifiers.o:	hgTables.h
 intersect.o:	hgTables.h
 javascript.o:	hgTables.h
 joining.o:	hgTables.h
 maf.o:	hgTables.h
 mainPage.o:	hgTables.h
 rangeHistogram.o:	hgTables.h
 schema.o:	hgTables.h
 seqOut.o:	hgTables.h
 sumStats.o:	hgTables.h
 usage.o:	hgTables.h
 wiggle.o:	hgTables.h correlate.h
 correlate.o:	hgTables.h correlate.h
 correlatePlot.o:	hgTables.h correlate.h
 
 compiletest: $T
 	${CC} -Wall $T ${MYLIBS} ${L}
 
 compileLists: listFiles.o
 	${CC} -Wall listFiles.o ${MYLIBS} ${L}