Schema for ensGene
  Database: equCab2    Primary Table: ensGene    Row Count: 29,196   Data last updated: 2018-05-08
Format description: A gene prediction with some additional info.
On download server: MariaDB table dump directory
fieldexampleSQL type info description
bin 585smallint(5) unsigned range Indexing field to speed chromosome range queries.
name ENSECAT00000013004.1varchar(255) values Name of gene (usually transcript_id from GTF)
chrom chr1varchar(255) values Reference sequence chromosome or scaffold
strand +char(1) values + or - for strand
txStart 11192int(10) unsigned range Transcription start position (or end position for minus strand item)
txEnd 15975int(10) unsigned range Transcription end position (or start position for minus strand item)
cdsStart 11209int(10) unsigned range Coding region start (or end position for minus strand item)
cdsEnd 15946int(10) unsigned range Coding region end (or start position for minus strand item)
exonCount 11int(10) unsigned range Number of exons
exonStarts 11192,11908,12331,13000,132...longblob   Exon start positions (or end positions for minus strand item)
exonEnds 11261,11968,12406,13048,133...longblob   Exon end positions (or start positions for minus strand item)
score 0int(11) range score
name2 ENSECAG00000012421.1varchar(255) values Alternate name (e.g. gene_id from GTF)
cdsStartStat incmplenum('none', 'unk', 'incmpl', 'cmpl') values Status of CDS start annotation (none, unknown, incomplete, or complete)
cdsEndStat incmplenum('none', 'unk', 'incmpl', 'cmpl') values Status of CDS end annotation (none, unknown, incomplete, or complete)
exonFrames 0,1,1,1,1,2,2,0,1,2,2,longblob   Reading frame of the start of the CDS region of the exon, in the direction of transcription (0,1,2), or -1 if there is no CDS region.

Connected Tables and Joining Fields
        equCab2.ensGtp.transcript (via ensGene.name)
      equCab2.ensPep.name (via ensGene.name)
      equCab2.ensemblSource.name (via ensGene.name)
      equCab2.ensemblToGeneName.name (via ensGene.name)
      knownGeneV39.knownToEnsembl.value (via ensGene.name)

Sample Rows
 
binnamechromstrandtxStarttxEndcdsStartcdsEndexonCountexonStartsexonEndsscorename2cdsStartStatcdsEndStatexonFrames
585ENSECAT00000013004.1chr1+111921597511209159461111192,11908,12331,13000,13299,14082,14420,15297,15446,15640,15879,11261,11968,12406,13048,13354,14172,14484,15364,15570,15751,15975,0ENSECAG00000012421.1incmplincmpl0,1,1,1,1,2,2,0,1,2,2,
585ENSECAT00000018774.1chr1-29518671412951867141329518,36520,66468,30341,36536,67141,0ENSECAG00000017803.1incmplincmpl2,1,0,
585ENSECAT00000018811.1chr1-29524711772952471177829524,30886,66468,67515,67858,68129,70702,71047,30341,30902,67350,67609,67881,68146,70799,71177,0ENSECAG00000017803.1incmplincmpl2,1,1,0,1,2,1,0,
586ENSECAT00000020809.1chr1-13222614385013245814385011132226,133461,133954,134037,134140,136900,138150,138683,139178,142530,143673,132643,133539,134004,134051,134328,137042,138327,138844,139328,142690,143850,0ENSECAG00000019088.1cmplcmpl1,1,2,0,1,0,0,1,1,0,0,
586ENSECAT00000004254.1chr1-1717851727061717851727061171785,172706,0ENSECAG00000004229.1cmplincmpl0,
586ENSECAT00000004598.1chr1-1838301847421838301847421183830,184742,0ENSECAG00000004510.1incmplincmpl0,
586ENSECAT00000004878.1chr1-2343082352412343082352411234308,235241,0ENSECAG00000004902.1incmplincmpl0,
586ENSECAT00000009770.1chr1-2571612596672571612596674257161,258749,259197,259598,257168,259195,259596,259667,0ENSECAG00000009582.1incmplcmpl2,0,0,0,
587ENSECAT00000010270.1chr1-26680427526026680427526016266804,267489,268647,269035,269283,269695,269738,270217,270635,271466,271610,272080,272773,273948,274074,274950,266971,267657,268962,269104,269636,269718,269754,270271,270769,271494,271935,272386,273082,274072,274244,275260,0ENSECAG00000009951.1incmplincmpl1,1,1,1,2,0,2,2,0,2,1,1,1,0,1,0,
587ENSECAT00000010283.1chr1-26680427526026680427526017266804,267489,268378,268647,269035,269283,269695,269738,270217,270635,271466,271610,272080,272773,273948,274074,274950,266971,267627,268399,268962,269104,269636,269718,269754,270271,270769,271494,271935,272386,273082,274072,274244,275260,0ENSECAG00000009951.1incmplincmpl1,1,1,1,1,2,0,2,2,0,2,1,1,1,0,1,0,

Note: all start coordinates in our database are 0-based, not 1-based. See explanation here.