Schema for ensGene
  Database: rheMac2    Primary Table: ensGene    Row Count: 42,820   Data last updated: 2015-08-03
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 ENSMMUT00000019076.2varchar(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 23738int(10) unsigned range Transcription start position (or end position for minus strand item)
txEnd 27683int(10) unsigned range Transcription end position (or start position for minus strand item)
cdsStart 23738int(10) unsigned range Coding region start (or end position for minus strand item)
cdsEnd 27683int(10) unsigned range Coding region end (or start position for minus strand item)
exonCount 8int(10) unsigned range Number of exons
exonStarts 23738,23769,24046,24344,244...longblob   Exon start positions (or end positions for minus strand item)
exonEnds 23765,24042,24340,24401,244...longblob   Exon end positions (or start positions for minus strand item)
score 0int(11) range score
name2 ENSMMUG00000013590.2varchar(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,0,0,0,1,0,0,0,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)
      rheMac2.ensGtp.transcript (via ensGene.name)
      rheMac2.ensPep.name (via ensGene.name)
      rheMac2.ensemblSource.name (via ensGene.name)
      rheMac2.ensemblToGeneName.name (via ensGene.name)

Sample Rows
 
binnamechromstrandtxStarttxEndcdsStartcdsEndexonCountexonStartsexonEndsscorename2cdsStartStatcdsEndStatexonFrames
585ENSMMUT00000019076.2chr1-23738276832373827683823738,23769,24046,24344,24406,27289,27507,27581,23765,24042,24340,24401,24477,27503,27576,27683,0ENSMMUG00000013590.2cmplcmpl0,0,0,0,1,0,0,0,
586ENSMMUT00000020734.2chr1-1984682006311985782004982198468,199514,198818,200631,0ENSMMUG00000014781.2cmplcmpl0,0,
588ENSMMUT00000032498.2chr1+3957174232753957274145339395717,403003,407673,408909,409698,411434,412616,414470,423254,395934,403148,407795,409030,409857,411517,412793,414920,423275,0ENSMMUG00000023099.2cmplcmpl0,0,1,0,1,1,0,0,-1,
588ENSMMUT00000047711.1chr1-4402404564454402404564454440240,442771,446855,456327,440485,442891,446975,456445,0ENSMMUG00000032310.1incmplcmpl1,1,1,0,
588ENSMMUT00000010006.2chr1-48385549117448387049117415483855,484993,485233,485635,486953,487935,488290,488551,488829,489112,489404,489450,489998,490162,491063,484053,485142,485374,485775,487206,488021,488465,488662,488961,489269,489429,489543,490026,490334,491174,0ENSMMUG00000007162.2cmplcmpl0,1,1,2,1,2,1,1,1,0,2,2,1,0,0,
588ENSMMUT00000010001.2chr1-49339552374449339552374415493395,502100,504307,504840,508997,511104,511770,512171,514065,517164,517615,517814,522780,522904,523525,493625,502649,504461,504920,509094,511231,511844,512366,514142,517318,517813,517886,522803,523025,523744,0ENSMMUG00000007154.2cmplincmpl1,1,0,1,0,2,0,0,1,0,0,0,1,0,0,
73ENSMMUT00000009997.2chr1-50258659946550258659946517502586,504840,508997,511104,511770,512171,514065,517164,517615,517814,522780,522904,523525,554524,598917,599204,599434,502649,504920,509094,511231,511844,512366,514142,517318,517813,517886,522803,523025,523695,554546,599034,599248,599465,0ENSMMUG00000007154.2cmplcmpl0,1,0,2,0,0,1,0,0,0,1,0,1,0,0,1,0,
589ENSMMUT00000009994.2chr1-5987826276645989086275612598782,625680,599034,627664,0ENSMMUG00000007154.2cmplcmpl0,0,
590ENSMMUT00000011742.2chr1-6799736946886799736946888679973,688066,688285,688335,688370,690943,694369,694652,680048,688269,688331,688368,688378,691038,694650,694688,0ENSMMUG00000008398.2cmplcmpl0,1,0,0,1,2,0,0,
73ENSMMUT00000011739.2chr1-69993186416270382286416278699931,704974,705342,707700,708179,708549,710592,713950,714993,715257,715342,715896,718108,719240,719811,720096,723559,723805,72 ...704036,705135,705505,707806,708393,708664,710783,714106,715123,715306,715388,715958,718129,719380,719966,720150,723584,723954,72 ...0ENSMMUG00000008392.2cmplcmpl2,0,2,1,0,2,0,0,2,1,0,1,1,2,0,0,2,0,1,2,0,1,0,0,2,0,0,0,2,1,2,0,2,0,0,0,1,2,0,0,2,0,0,0,1,0,1,2,0,2,2,0,2,0,1,1,1,0,1,0,1,1,1,0, ...

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