src/hg/lib/pgPhenoAssoc.sql 1.1

1.1 2010/03/08 17:45:40 giardine
Adding phenotype tables for pgSnp track hgc clicks
Index: src/hg/lib/pgPhenoAssoc.sql
===================================================================
RCS file: src/hg/lib/pgPhenoAssoc.sql
diff -N src/hg/lib/pgPhenoAssoc.sql
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ src/hg/lib/pgPhenoAssoc.sql	8 Mar 2010 17:45:40 -0000	1.1
@@ -0,0 +1,15 @@
+# pgPhenoAssoc.sql was originally generated by the autoSql program, which also 
+# generated pgPhenoAssoc.c and pgPhenoAssoc.h.  This creates the database representation of
+# an object which can be loaded and saved from RAM in a fairly 
+# automatic way.
+
+#phenotypes from various databases for pgSnp tracks
+CREATE TABLE pgPhenoAssoc (
+    chrom varchar(255) not null,	# Chromosome
+    chromStart int unsigned not null,	# Start position in chrom
+    chromEnd int unsigned not null,	# End position in chrom
+    name varchar(255) not null,	# Phenotype
+    srcUrl longblob not null,	# link back to source database
+              #Indices
+    INDEX(chrom(12), chromStart)
+);