Schema for refGene
  Database: rheMac10    Primary Table: refGene    Row Count: 6,455   Data last updated: 2019-07-17
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 NM_001258110varchar(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 8430int(10) unsigned range Transcription start position (or end position for minus strand item)
txEnd 26664int(10) unsigned range Transcription end position (or start position for minus strand item)
cdsStart 9001int(10) unsigned range Coding region start (or end position for minus strand item)
cdsEnd 13507int(10) unsigned range Coding region end (or start position for minus strand item)
exonCount 3int(10) unsigned range Number of exons
exonStarts 8430,13490,26569,longblob   Exon start positions (or end positions for minus strand item)
exonEnds 10763,13554,26664,longblob   Exon end positions (or start positions for minus strand item)
score 0int(11) range score
name2 PGBD2varchar(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 2,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)
      rheMac10.all_est.qName (via refGene.name)
      rheMac10.all_mrna.qName (via refGene.name)
      rheMac10.mrnaOrientInfo.name (via refGene.name)
      rheMac10.refFlat.name (via refGene.name)
      rheMac10.refSeqAli.qName (via refGene.name)
      rheMac10.xenoRefGene.name (via refGene.name)
      rheMac10.xenoRefSeqAli.qName (via refGene.name)

Sample Rows
 
binnamechromstrandtxStarttxEndcdsStartcdsEndexonCountexonStartsexonEndsscorename2cdsStartStatcdsEndStatexonFrames
585NM_001258110chr1-84302666490011350738430,13490,26569,10763,13554,26664,0PGBD2cmplcmpl2,0,-1,
585NM_001261269chr1+717408063672379806081271740,72368,72829,73188,74133,74273,74752,75063,75240,76825,80038,80301,71755,72558,72861,73452,74182,74408,74974,75141,75319,76940,80138,80636,0ZNF692cmplcmpl-1,0,2,1,1,2,2,2,2,0,1,2,
585NM_001261606chr1+1036091177961036301164176103609,111624,111842,113756,115196,115946,103813,111687,111971,113918,115370,117796,0SH3BP5Lcmplcmpl0,0,0,0,0,0,
74NM_001114351chr1-156286215926201563469159244591562862,1567112,1567802,1575668,1577522,1582203,1585576,1587822,1592162,1563569,1567283,1567973,1575839,1577693,1582374,1587326,1587942,1592620,0NLRP3cmplcmpl2,2,2,2,2,2,1,1,0,
9NM_001265933chr1+2568607332482825686843324607122568607,2720479,2740828,2746888,2749283,3143974,3145922,3158578,3213050,3218536,3303652,3324505,2568848,2720543,2740936,2746946,2749420,3144042,3146025,3158689,3213138,3218711,3303761,3324828,0SMYD3cmplcmpl0,2,0,0,1,0,2,0,0,1,2,0,
615NR_128360chr1-406181040618684061868406186814061810,4061868,0MIR7180unkunk-1,
617NM_001257785chr1-425457642632784255876426320944254576,4256772,4256989,4263167,4256012,4256836,4257104,4263278,0COX20cmplcmpl2,1,0,0,
77NM_001257794chr1-440123944640484404442446393754401239,4418470,4421146,4423811,4463895,4404676,4418612,4421240,4423884,4464048,0DESI2cmplcmpl0,2,1,0,0,
620NM_001261110chr1+4663504470700646635824706063134663504,4677331,4678205,4682693,4690975,4691321,4692470,4695115,4696479,4697642,4699359,4704208,4706010,4663765,4677434,4678274,4682744,4691042,4691429,4692552,4695242,4696634,4697767,4699457,4704358,4707006,0ADSScmplcmpl0,0,1,1,1,2,2,0,1,0,2,1,1,
623NM_001257892chr1-506171450679005063812506774825061714,5067735,5065395,5067900,0ZBTB18cmplcmpl1,0,

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