Schema for ensGene
  Database: mm9    Primary Table: ensGene    Row Count: 95,883   Data last updated: 2011-10-12
Format description: A gene prediction with some additional info.
On download server: MariaDB table dump directory
fieldexampleSQL type info description
bin 608smallint(5) unsigned range Indexing field to speed chromosome range queries.
name ENSMUST00000160944varchar(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 3044313int(10) unsigned range Transcription start position (or end position for minus strand item)
txEnd 3044814int(10) unsigned range Transcription end position (or start position for minus strand item)
cdsStart 3044814int(10) unsigned range Coding region start (or end position for minus strand item)
cdsEnd 3044814int(10) unsigned range Coding region end (or start position for minus strand item)
exonCount 1int(10) unsigned range Number of exons
exonStarts 3044313,longblob   Exon start positions (or end positions for minus strand item)
exonEnds 3044814,longblob   Exon end positions (or start positions for minus strand item)
score 0int(11) range score
name2 ENSMUSG00000090025varchar(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,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)
      mm9.ccdsInfo.mrnaAcc (via ensGene.name)
      mm9.ensGtp.transcript (via ensGene.name)
      mm9.ensPep.name (via ensGene.name)
      mm9.ensemblSource.name (via ensGene.name)
      mm9.ensemblToGeneName.name (via ensGene.name)
      mm9.knownToEnsembl.value (via ensGene.name)

Sample Rows
 
binnamechromstrandtxStarttxEndcdsStartcdsEndexonCountexonStartsexonEndsscorename2cdsStartStatcdsEndStatexonFrames
608ENSMUST00000160944chr1+304431330448143044814304481413044313,3044814,0ENSMUSG00000090025nonenone-1,
608ENSMUST00000082908chr1+309209630922063092206309220613092096,3092206,0ENSMUSG00000064842nonenone-1,
609ENSMUST00000162897chr1-319598132064253206425320642523195981,3203689,3197398,3206425,0ENSMUSG00000051951nonenone-1,-1,
609ENSMUST00000159265chr1-319660332057133205713320571323196603,3203519,3197398,3205713,0ENSMUSG00000051951nonenone-1,-1,
76ENSMUST00000070533chr1-320456236615793206102366142933204562,3411782,3660632,3207049,3411982,3661579,0ENSMUSG00000051951cmplcmpl1,2,0,
611ENSMUST00000161581chr1+345666735036343503634350363423456667,3503485,3456768,3503634,0ENSMUSG00000089699nonenone-1,-1,
612ENSMUST00000157765chr1-366896036690243669024366902413668960,3669024,0ENSMUSG00000088390nonenone-1,
613ENSMUST00000158795chr1-377381737738793773879377387913773817,3773879,0ENSMUSG00000089420nonenone-1,
618ENSMUST00000027032chr1-433422343504734334680434290644334223,4341990,4342282,4350280,4340172,4342162,4342918,4350473,0ENSMUSG00000025900cmplcmpl1,0,0,-1,
618ENSMUST00000115540chr1-433457743504734334577434290654334577,4334689,4341990,4342282,4350280,4334586,4340172,4342162,4342918,4350473,0ENSMUSG00000025900incmplcmpl0,1,0,0,-1,

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