Schema for ensGene
  Database: rn5    Primary Table: ensGene    Row Count: 30,404   Data last updated: 2014-12-03
Format description: A gene prediction with some additional info.
On download server: MariaDB table dump directory
fieldexampleSQL type info description
bin 73smallint(5) unsigned range Indexing field to speed chromosome range queries.
name ENSRNOT00000073861varchar(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 312154int(10) unsigned range Transcription start position (or end position for minus strand item)
txEnd 401149int(10) unsigned range Transcription end position (or start position for minus strand item)
cdsStart 312154int(10) unsigned range Coding region start (or end position for minus strand item)
cdsEnd 401149int(10) unsigned range Coding region end (or start position for minus strand item)
exonCount 6int(10) unsigned range Number of exons
exonStarts 312154,386109,391728,393384...longblob   Exon start positions (or end positions for minus strand item)
exonEnds 312360,386392,392532,393609...longblob   Exon end positions (or start positions for minus strand item)
score 0int(11) range score
name2 ENSRNOG00000046319varchar(255) values Alternate name (e.g. gene_id from GTF)
cdsStartStat cmplenum('none', 'unk', 'incmpl', 'cmpl') values Status of CDS start annotation (none, unknown, incomplete, or complete)
cdsEndStat cmplenum('none', 'unk', 'incmpl', 'cmpl') values Status of CDS end annotation (none, unknown, incomplete, or complete)
exonFrames 0,2,0,0,0,1,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
        knownGeneV39.knownToEnsembl.value (via ensGene.name)
      rn5.ensGtp.transcript (via ensGene.name)
      rn5.ensPep.name (via ensGene.name)
      rn5.ensemblSource.name (via ensGene.name)
      rn5.ensemblToGeneName.name (via ensGene.name)

Sample Rows
 
binnamechromstrandtxStarttxEndcdsStartcdsEndexonCountexonStartsexonEndsscorename2cdsStartStatcdsEndStatexonFrames
73ENSRNOT00000073861chr1+3121544011493121544011496312154,386109,391728,393384,394817,400265,312360,386392,392532,393609,394941,401149,0ENSRNOG00000046319cmplcmpl0,2,0,0,0,1,
73ENSRNOT00000046586chr1+3121544011493121544011498312154,312364,312377,386140,391728,393384,394817,400258,312361,312376,312383,386392,392532,393606,394940,401149,0ENSRNOG00000046319cmplcmpl0,0,0,0,0,0,0,0,
587ENSRNOT00000044669chr1+3121543238003121543238009312154,315196,315434,315932,316407,317590,321632,322915,323761,312360,315431,315479,316406,316737,317815,321756,323760,323800,0ENSRNOG00000046319cmplcmpl0,2,0,0,0,0,0,1,0,
73ENSRNOT00000073698chr1+3159324011493160284011495315932,392150,393384,394817,400265,316354,392532,393609,394941,401149,0ENSRNOG00000046319cmplcmpl0,2,0,0,1,
73ENSRNOT00000044187chr1+3829204011493829204011499382920,386094,386099,386125,391728,393384,394817,398016,400485,383127,386097,386120,386392,392532,393609,394941,398239,401149,0ENSRNOG00000046319cmplcmpl0,0,0,0,0,0,0,1,2,
73ENSRNOT00000072186chr1+3829204011493829204011496382920,386109,391728,393384,398976,400265,383126,386392,392532,393609,399100,401149,0ENSRNOG00000046319cmplcmpl0,2,0,0,0,1,
590ENSRNOT00000072360chr1+6882976969506882976969506688297,691073,691744,693397,694797,696066,688503,691356,692548,693622,694921,696950,0ENSRNOG00000047964cmplcmpl0,2,0,0,0,1,
590ENSRNOT00000048913chr1-7031557085757031557085754703155,704333,705524,708369,703377,705137,705807,708575,0ENSRNOG00000029249incmplcmpl0,0,2,0,
590ENSRNOT00000073546chr1-7334797436827334797436827733479,733503,735238,738290,739428,740624,743476,733500,734387,735362,738515,740230,740915,743682,0ENSRNOG00000050370cmplcmpl0,1,0,0,2,2,0,
590ENSRNOT00000045627chr1-7335007436827335007436826733500,736992,738290,739428,740632,743476,734384,737116,738515,740232,740915,743682,0ENSRNOG00000050370cmplcmpl1,0,0,0,2,0,

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