16425d1c9b3f0ea91aef3114f60acb8443e1194b
hiram
  Thu Nov 10 09:55:33 2011 -0800
adding ensembl gene table definitions and fixing the score column of genePredExt
diff --git src/hg/lib/ensGene.as src/hg/lib/ensGene.as
new file mode 100644
index 0000000..ae2b27c
--- /dev/null
+++ src/hg/lib/ensGene.as
@@ -0,0 +1,19 @@
+table ensGene
+"Ensembl gene predictions."
+    (
+    string name;	"Ensembl transcript ID"
+    string chrom;	"Reference sequence chromosome or scaffold"
+    char[1] strand;     "+ or - for strand"
+    uint txStart;	"Transcription start position"
+    uint txEnd;         "Transcription end position"
+    uint cdsStart;	"Coding region start"
+    uint cdsEnd;        "Coding region end"
+    uint exonCount;     "Number of exons"
+    uint[exonCount] exonStarts; "Exon start positions"
+    uint[exonCount] exonEnds;   "Exon end positions"
+    uint score;         "always 0 for Ensembl genes"
+    string name2;       "Ensembl gene ID"
+    string cdsStartStat; "enum('none','unk','incmpl','cmpl')"
+    string cdsEndStat;   "enum('none','unk','incmpl','cmpl')"
+    int[exonCount] exonFrames; "Exon frame {0,1,2}, or -1 if no frame for exon"
+    )