a9c9cf2828c124535a1562f709bd4437b1bf60a2 braney Mon Jun 22 16:41:31 2020 -0700 starting on making hgGene use and external database for the know* tables diff --git src/hg/hgGene/hgGene.h src/hg/hgGene/hgGene.h index 1bc3ba2..1f5a10e 100644 --- src/hg/hgGene/hgGene.h +++ src/hg/hgGene/hgGene.h @@ -281,30 +281,31 @@ void doRnaFoldDisplay(struct sqlConnection *conn, char *geneId, char *geneName); /* Display mRNA sequence folding. */ void doSamT02(char *proteinId, char *database); /* show SAM-T02 sub-section */ /* -------- CGI Data Variables ---------- */ #define hggOrg "org" /* Organism we're working on. */ #define hggDb "db" /* Database we're working on. */ #define hggPrefix "hgg_" /* Prefix to all 'local' cart vars. */ #define hggGene "hgg_gene" /* Main gene id. */ #define hggProt "hgg_prot" /* Main protein id. */ #define hggChrom "hgg_chrom" /* Chromosome gene is on. */ #define hggStart "hgg_start" /* Start position. */ +#define hggType "hgg_type" /* Table name */ #define hggEnd "hgg_end" /* End position. */ #define hggItem "hgg_item" /* Gene item, used for ccdsGene */ #define hggExpRatioColors "hgg_expRatioColors" /* Expression Ratio coloring. */ #define hggMrnaFoldRegion "hgg_mrnaFoldRegion" /* Which region in mRNA to show. */ #define hggMrnaFoldPs "hgg_mrnaFoldPs" /* PostScript file. */ #define hggOtherId "hgg_otherId" /* Other organism gene id. */ #define hggOtherPepTable "hgg_otherPepTable" /* Other organism peptide table. */ /* -------- Global Variables --------*/ extern struct cart *cart; /* This holds cgi and other variables between clicks. */ extern struct hash *oldCart; /* Old cart hash. */ extern char *database; /* Name of genome database - hg15, mm3, or the like. */ extern char *genome; /* Name of genome - mouse, human, etc. */ extern char *curGeneId; /* Current Gene Id. */ extern char *curAlignId; /* Current Align Id. */