Schema for ensGene
  Database: canFam2    Primary Table: ensGene    Row Count: 30,914   Data last updated: 2011-10-12
Format description: Ensembl gene predictions.
On download server: MariaDB table dump directory
fieldexampleSQL type info description
bin 608smallint(5) unsigned range Indexing field to speed chromosome range queries.
name ENSCAFT00000042107varchar(255) values Ensembl transcript ID
chrom chr1varchar(255) values Reference sequence chromosome or scaffold
strand +char(1) values + or - for strand
txStart 3020373int(10) unsigned range Transcription start position (or end position for minus strand item)
txEnd 3020475int(10) unsigned range Transcription end position (or start position for minus strand item)
cdsStart 3020475int(10) unsigned range Coding region start (or end position for minus strand item)
cdsEnd 3020475int(10) unsigned range Coding region end (or start position for minus strand item)
exonCount 1int(10) unsigned range Number of exons
exonStarts 3020373,longblob   Exon start positions (or end positions for minus strand item)
exonEnds 3020475,longblob   Exon end positions (or start positions for minus strand item)
score 0int(11) range always 0 for Ensembl genes
name2 ENSCAFG00000027824varchar(255) values Ensembl gene ID
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   Exon frame {0,1,2}, or -1 if no frame for exon

Connected Tables and Joining Fields
        canFam2.ensGtp.transcript (via ensGene.name)
      canFam2.ensPep.name (via ensGene.name)
      canFam2.ensemblSource.name (via ensGene.name)
      canFam2.ensemblToGeneName.name (via ensGene.name)
      knownGeneV39.knownToEnsembl.value (via ensGene.name)

Sample Rows
 
binnamechromstrandtxStarttxEndcdsStartcdsEndexonCountexonStartsexonEndsscorename2cdsStartStatcdsEndStatexonFrames
608ENSCAFT00000042107chr1+302037330204753020475302047513020373,3020475,0ENSCAFG00000027824nonenone-1,
76ENSCAFT00000000001chr1-3251711332155532520003321555243251711,3254074,3255805,3256770,3261442,3263132,3266078,3267859,3268674,3270092,3271373,3273173,3275526,3277853,3278236,3279203, ...3252171,3254237,3255938,3256851,3261572,3263347,3266237,3267947,3268744,3270220,3271405,3273305,3275635,3277926,3278302,3279313, ...0ENSCAFG00000000001cmplincmpl0,2,1,1,0,1,1,0,2,0,1,1,0,2,2,0,0,1,2,1,1,1,0,0,
610ENSCAFT00000000003chr1+336319433650243365024336502463363194,3363898,3364064,3364269,3364316,3364960,3363893,3363998,3364243,3364314,3364429,3365024,0ENSCAFG00000000002nonenone-1,-1,-1,-1,-1,-1,
76ENSCAFT00000000005chr1-3390440342249433904403422494153390440,3392192,3394605,3396145,3396190,3398832,3400002,3402551,3409326,3410627,3412138,3414292,3416505,3421224,3422340,3390609,3392214,3394623,3396188,3396260,3398965,3400080,3402687,3409478,3410679,3412323,3414380,3416555,3421254,3422494,0ENSCAFG00000000004cmplincmpl2,1,1,0,2,1,1,0,1,0,1,0,1,1,0,
76ENSCAFT00000000006chr1+350892835654933508928356549343508928,3510124,3564660,3565338,3508991,3510347,3565281,3565493,0ENSCAFG00000000005incmplcmpl0,0,1,1,
612ENSCAFT00000000007chr1+357099635713373571337357133723570996,3571274,3571272,3571337,0ENSCAFG00000000006nonenone-1,-1,
612ENSCAFT00000000008chr1-360178036246663601780362466633601780,3609180,3624555,3604987,3609270,3624666,0ENSCAFG00000000007cmplincmpl0,0,0,
612ENSCAFT00000019845chr1-364221536426603642660364266033642215,3642310,3642591,3642308,3642589,3642660,0ENSCAFG00000012502nonenone-1,-1,-1,
613ENSCAFT00000037436chr1-369288537041903692885370397963692885,3694397,3699376,3702406,3703025,3703934,3693144,3694471,3699461,3702519,3703202,3704190,0ENSCAFG00000024219incmplincmpl2,0,2,0,0,0,
613ENSCAFT00000037103chr1-371313737143233713137371432333713137,3713207,3713956,3713206,3713245,3714323,0ENSCAFG00000023948incmplcmpl0,1,0,

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