Schema for refGene
  Database: aptMan1    Primary Table: refGene    Row Count: 1   Data last updated: 2020-05-05
Format description: A gene prediction with some additional info.
On download server: MariaDB table dump directory
fieldexampleSQL type info description
bin 586smallint(5) unsigned range Indexing field to speed chromosome range queries.
name NM_001315498varchar(255) values Name of gene (usually transcript_id from GTF)
chrom NW_013989391v1varchar(255) values Reference sequence chromosome or scaffold
strand +char(1) values + or - for strand
txStart 205389int(10) unsigned range Transcription start position (or end position for minus strand item)
txEnd 252760int(10) unsigned range Transcription end position (or start position for minus strand item)
cdsStart 205389int(10) unsigned range Coding region start (or end position for minus strand item)
cdsEnd 252760int(10) unsigned range Coding region end (or start position for minus strand item)
exonCount 8int(10) unsigned range Number of exons
exonStarts 205389,210620,213814,214713...longblob   Exon start positions (or end positions for minus strand item)
exonEnds 205536,210715,213934,214861...longblob   Exon end positions (or start positions for minus strand item)
score 0int(11) range score
name2 TBX5varchar(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,2,2,0,0,2,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
        aptMan1.all_mrna.qName (via refGene.name)
      aptMan1.mrnaOrientInfo.name (via refGene.name)
      aptMan1.refFlat.name (via refGene.name)
      aptMan1.refSeqAli.qName (via refGene.name)
      aptMan1.xenoRefGene.name (via refGene.name)
      aptMan1.xenoRefSeqAli.qName (via refGene.name)
      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)

Sample Rows
 
binnamechromstrandtxStarttxEndcdsStartcdsEndexonCountexonStartsexonEndsscorename2cdsStartStatcdsEndStatexonFrames
586NM_001315498NW_013989391v1+2053892527602053892527608205389,210620,213814,214713,219284,232189,242642,252176,205536,210715,213934,214861,219437,232281,242869,252760,0TBX5cmplcmpl0,0,2,2,0,0,2,1,

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