f8112852b9c0d2a54cb8674d7d31a00acc5b4536
fanhsu
Tue Jul 26 13:58:21 2011 -0700
Consolidated OMIM related declarations.
diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c
index df677c1..c2ae6f0 100644
--- src/hg/hgc/hgc.c
+++ src/hg/hgc/hgc.c
@@ -9553,34 +9553,31 @@
printf(", ");
printf("", "../cgi-bin/hgGene?hgg_gene=", row[0]);
printf("%s", row[0]);
printedCnt++;
}
if (printedCnt >= 1) printf("
\n");
}
sqlFreeResult(&sr);
}
}
printf("
");
printPosOnChrom(chrom, atoi(chromStart), atoi(chromEnd), NULL, FALSE, itemName);
}
-// old name to be changed later
-#define omimPhenotypeClassColName "phenotypeClass"
-// new name to be used later
-//#define omimPhenotypeClassColName "omimPhenoMapKey"
+#include "omim.h"
void printOmimGene2Details(struct trackDb *tdb, char *itemName, boolean encode)
/* Print details of an omimGene2 entry. */
{
struct sqlConnection *conn = hAllocConn(database);
char query[256];
struct sqlResult *sr;
char **row;
char *url = tdb->url;
char *title1 = NULL;
char *title2 = NULL;
char *geneSymbol = NULL;
char *chrom, *chromStart, *chromEnd;
chrom = cartOptionalString(cart, "c");
@@ -24251,30 +24248,31 @@
/* handle table that include other database name
* in trackname; e.g. blatCe1, blatCb1, blatCi1, blatHg15, blatMm3...
* Uses genome column from database table as display text */
genome = hGenome(genome);
}
doAlignCompGeno(tdb, item, genome);
}
else if (sameWord(table, "rnaGene"))
{
doRnaGene(tdb, item);
}
else if (sameWord(table, "RfamSeedFolds")
|| sameWord(table, "RfamFullFolds")
|| sameWord(table, "rfamTestFolds")
|| sameWord(table, "evofold")
+ || sameWord(table, "evofoldV2")
|| sameWord(table, "evofoldRaw")
|| sameWord(table, "encode_tba23EvoFold")
|| sameWord(table, "encodeEvoFold")
|| sameWord(table, "rnafold")
|| sameWord(table, "rnaTestFolds")
|| sameWord(table, "rnaTestFoldsV2")
|| sameWord(table, "rnaTestFoldsV3")
|| sameWord(table, "mcFolds")
|| sameWord(table, "rnaEditFolds")
|| sameWord(table, "altSpliceFolds")
|| stringIn(table, "rnaSecStr"))
{
doRnaSecStr(tdb, item);
}
else if (sameWord(table, "fishClones"))