Schema for ensGene
  Database: rn4    Primary Table: ensGene    Row Count: 39,549   Data last updated: 2012-08-24
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 ENSRNOT00000044270varchar(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 5472int(10) unsigned range Transcription start position (or end position for minus strand item)
txEnd 16844int(10) unsigned range Transcription end position (or start position for minus strand item)
cdsStart 5472int(10) unsigned range Coding region start (or end position for minus strand item)
cdsEnd 16844int(10) unsigned range Coding region end (or start position for minus strand item)
exonCount 8int(10) unsigned range Number of exons
exonStarts 5472,5523,8281,8991,10768,1...longblob   Exon start positions (or end positions for minus strand item)
exonEnds 5485,5725,8567,9795,10993,1...longblob   Exon end positions (or start positions for minus strand item)
score 0int(11) range score
name2 ENSRNOG00000021490varchar(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,2,0,0,0,1,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)
      rn4.ensGtp.transcript (via ensGene.name)
      rn4.ensPep.name (via ensGene.name)
      rn4.ensemblSource.name (via ensGene.name)
      rn4.ensemblToGeneName.name (via ensGene.name)

Sample Rows
 
binnamechromstrandtxStarttxEndcdsStartcdsEndexonCountexonStartsexonEndsscorename2cdsStartStatcdsEndStatexonFrames
585ENSRNOT00000044270chr1+54721684454721684485472,5523,8281,8991,10768,14683,15968,16733,5485,5725,8567,9795,10993,14807,16732,16844,0ENSRNOG00000021490incmplincmpl0,1,2,0,0,0,1,0,
585ENSRNOT00000049921chr1+55251696855251696885525,8275,8991,10768,14677,15965,16733,16943,5725,8567,9795,10993,14807,16732,16846,16968,0ENSRNOG00000021490cmplincmpl0,2,0,0,0,1,0,2,
585ENSRNOT00000051735chr1+55251696855251696875525,8275,8991,10768,15965,16733,16943,5725,8567,9795,10997,16732,16846,16968,0ENSRNOG00000021490cmplincmpl0,2,0,0,1,0,2,
585ENSRNOT00000034630chr1+55971352055971352045597,8275,8991,13499,5725,8567,9795,13520,0ENSRNOG00000021490incmplcmpl0,2,0,0,
585ENSRNOT00000044505chr1+82671685082671685078267,8991,10768,13838,14683,15965,16733,8567,9795,10993,13841,14807,16732,16850,0ENSRNOG00000021490cmplcmpl0,0,0,0,0,1,0,
585ENSRNOT00000042693chr1+83151757783151757788315,8991,10768,14683,15965,16730,17311,17544,8567,9795,10993,14807,16729,16843,17321,17577,0ENSRNOG00000021490incmplincmpl0,0,0,0,1,0,2,0,
585ENSRNOT00000044187chr1+88831685088831685068883,8984,10768,14683,15968,16733,8903,9795,10993,14807,16732,16850,0ENSRNOG00000021490incmplcmpl0,2,0,0,1,0,
585ENSRNOT00000041082chr1+895599558955995528955,9877,9795,9955,0ENSRNOG00000021490cmplincmpl0,0,
585ENSRNOT00000050254chr1+90541735190541735169054,10768,14683,15968,16730,17326,9795,10993,14807,16729,16846,17351,0ENSRNOG00000021490incmplincmpl0,0,0,1,0,2,
585ENSRNOT00000048404chr1+90751673290751673259075,10780,13720,14683,15965,9795,10971,13763,14807,16732,0ENSRNOG00000021490incmplincmpl0,0,2,0,1,

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