Schema for ensGene
  Database: hg18    Primary Table: ensGene    Row Count: 63,280   Data last updated: 2009-08-05
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 ENST00000404059varchar(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 1872int(10) unsigned range Transcription start position (or end position for minus strand item)
txEnd 3533int(10) unsigned range Transcription end position (or start position for minus strand item)
cdsStart 3533int(10) unsigned range Coding region start (or end position for minus strand item)
cdsEnd 3533int(10) unsigned range Coding region end (or start position for minus strand item)
exonCount 6int(10) unsigned range Number of exons
exonStarts 1872,2041,2475,2837,3083,3315,longblob   Exon start positions (or end positions for minus strand item)
exonEnds 1920,2090,2560,2915,3237,3533,longblob   Exon end positions (or start positions for minus strand item)
score 0int(11) range score
name2 ENSG00000219789varchar(255) values Alternate name (e.g. gene_id from GTF)
cdsStartStat noneenum('none', 'unk', 'incmpl', 'cmpl') values Status of CDS start annotation (none, unknown, incomplete, or complete)
cdsEndStat noneenum('none', 'unk', 'incmpl', 'cmpl') values Status of CDS end annotation (none, unknown, incomplete, or complete)
exonFrames -1,-1,-1,-1,-1,-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
        hg18.ccdsInfo.mrnaAcc (via ensGene.name)
      hg18.ensGtp.transcript (via ensGene.name)
      hg18.ensPep.name (via ensGene.name)
      hg18.ensemblToGeneName.name (via ensGene.name)
      hg18.knownToEnsembl.value (via ensGene.name)
      knownGeneV39.knownToEnsembl.value (via ensGene.name)

Sample Rows
 
binnamechromstrandtxStarttxEndcdsStartcdsEndexonCountexonStartsexonEndsscorename2cdsStartStatcdsEndStatexonFrames
585ENST00000404059chr1+187235333533353361872,2041,2475,2837,3083,3315,1920,2090,2560,2915,3237,3533,0ENSG00000219789nonenone-1,-1,-1,-1,-1,-1,
585ENST00000326632chr1-4273196691966919669134273,4862,5658,5766,6469,6610,6720,7095,7464,7777,8130,14599,19396,4365,4901,5764,5810,6608,6628,6918,7227,7605,7924,8229,14754,19669,0ENSG00000146556nonenone-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
585ENST00000408384chr1+20228203662036620366120228,20366,0ENSG00000221311nonenone-1,
585ENST00000409575chr1-24416259442594425944324416,25139,25583,25037,25344,25944,0ENSG00000222003nonenone-1,-1,-1,
585ENST00000409981chr1-24416259442594425944324416,25139,25583,25037,25344,25944,0ENSG00000222027nonenone-1,-1,-1,
585ENST00000359752chr1+42911447994479944799242911,44692,42930,44799,0ENSG00000197490nonenone-1,-1,
585ENST00000379479chr1+52877537505375053750152877,53750,0ENSG00000205292nonenone-1,
585ENST00000326183chr1+58953598715895359871158953,59871,0ENSG00000177693cmplcmpl0,
585ENST00000407826chr1+1209661237861237861237861120966,123786,0ENSG00000219467nonenone-1,
585ENST00000405199chr1-1251091279021279021279022125109,127431,125869,127902,0ENSG00000220902nonenone-1,-1,

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