Schema for refGene
  Database: susScr3    Primary Table: refGene    Row Count: 5,345   Data last updated: 2020-09-01
Format description: A gene prediction with some additional info.
On download server: MariaDB table dump directory
fieldexampleSQL type info description
bin 140smallint(5) unsigned range Indexing field to speed chromosome range queries.
name NM_001097465varchar(255) values Name of gene (usually transcript_id from GTF)
chrom chr9varchar(255) values Reference sequence chromosome or scaffold
strand +char(1) values + or - for strand
txStart 70909057int(10) unsigned range Transcription start position (or end position for minus strand item)
txEnd 70915525int(10) unsigned range Transcription end position (or start position for minus strand item)
cdsStart 70909077int(10) unsigned range Coding region start (or end position for minus strand item)
cdsEnd 70915362int(10) unsigned range Coding region end (or start position for minus strand item)
exonCount 5int(10) unsigned range Number of exons
exonStarts 70909057,70909636,70910720,...longblob   Exon start positions (or end positions for minus strand item)
exonEnds 70909131,70909663,70910783,...longblob   Exon end positions (or start positions for minus strand item)
score 0int(11) range score
name2 SNRPEvarchar(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,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
        hgFixed.gbCdnaInfo.acc (via refGene.name)
      hgFixed.gbMiscDiff.acc (via refGene.name)
      hgFixed.gbSeq.acc (via refGene.name)
      hgFixed.gbWarn.acc (via refGene.name)
      hgFixed.imageClone.acc (via refGene.name)
      hgFixed.refLink.mrnaAcc (via refGene.name)
      hgFixed.refSeqStatus.mrnaAcc (via refGene.name)
      hgFixed.refSeqSummary.mrnaAcc (via refGene.name)
      knownGeneV39.kgXref.refseq (via refGene.name)
      knownGeneV39.knownToRefSeq.value (via refGene.name)
      susScr3.all_est.qName (via refGene.name)
      susScr3.all_mrna.qName (via refGene.name)
      susScr3.mrnaOrientInfo.name (via refGene.name)
      susScr3.refFlat.name (via refGene.name)
      susScr3.refSeqAli.qName (via refGene.name)
      susScr3.xenoMrna.qName (via refGene.name)
      susScr3.xenoRefGene.name (via refGene.name)
      susScr3.xenoRefSeqAli.qName (via refGene.name)

Sample Rows
 
binnamechromstrandtxStarttxEndcdsStartcdsEndexonCountexonStartsexonEndsscorename2cdsStartStatcdsEndStatexonFrames
140NM_001097465chr9+70909057709155257090907770915362570909057,70909636,70910720,70912292,70915306,70909131,70909663,70910783,70912371,70915525,0SNRPEcmplcmpl0,0,0,0,1,
1073NM_001113701chr17+64053336640649016405337364062557364053336,64061207,64062340,64053559,64061383,64064901,0FAM210Bcmplcmpl0,0,2,
835NM_001173519chr14-32817277328830753281737332883060232817277,32882751,32817985,32883075,0ORAI1cmplcmpl0,0,
1344NM_001173518chr13-99605174996067999960556599606582199605174,99606799,0P2RY12cmplcmpl0,
1501NM_001172586chr4-1200929991200977151200929991200977153120092999,120094955,120097643,120093119,120095081,120097715,0PROK1cmplcmpl0,0,0,
145NM_001172585chr1-760002697607123076001100760710531276000269,76004095,76033788,76055199,76055206,76055972,76056271,76057072,76057298,76057964,76061499,76070878,76001831,76004498,76033957,76055206,76055346,76056079,76056471,76057158,76057403,76058058,76061582,76071230,0SIM1cmplcmpl1,0,2,1,1,2,0,1,1,0,1,0,
1697NM_001172369chr13-1458600091458810421458600091458601292145860009,145880854,145860141,145881042,0ROPN1incmplcmpl0,-1,
1698NM_001172369chr13-1459133381459220011459134731459220014145913338,145914113,145919874,145921883,145913540,145914289,145920036,145922001,0ROPN1cmplincmpl2,0,0,2,
915NM_001172368chr2-43258338432797044325857743271112643258338,43260184,43262622,43264464,43271000,43279629,43258654,43260278,43262755,43264633,43271140,43279704,0CSRP3cmplcmpl1,0,2,1,0,-1,
765NM_001172367chr13+236134492369236423613449236922221623613449,23624103,23625969,23627118,23628638,23628821,23631157,23646365,23653600,23664370,23683214,23685356,23689282,23689998,23 ...23613549,23624177,23626042,23627210,23628681,23628910,23631270,23646522,23653974,23664519,23683323,23685420,23689447,23690091,23 ...0MLH1incmplcmpl2,0,2,0,2,0,2,2,0,2,1,2,0,0,0,0,

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