bba4180a9f6831e160113325be6f1cae380f522a jcasper Tue Jun 26 11:17:34 2018 -0700 Fixing dumb indexing mistake for decipher SNVs data, refs #21104 diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index bf9d761..33521b7 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -10004,39 +10004,39 @@ { printf("<b>Transcript:</b> <a href='../cgi-bin/hgTracks?%s&position=%s'>%s</a>\n<br>\n", hgsidString, row[3], row[3]); } if (isNotEmpty(row[4])) { printf("<b>Gene:</b> <a href='../cgi-bin/hgTracks?%s&position=%s'>%s</a>\n<br>\n", hgsidString, row[4], row[4]); } if (isNotEmpty(row[5])) { printf("<b>Genotype:</b> %s\n<br>\n", row[5]); } if (isNotEmpty(row[6])) { - printf("<b>Inheritance:</b> %s\n<br>\n", row[5]); + printf("<b>Inheritance:</b> %s\n<br>\n", row[6]); } if (isNotEmpty(row[7])) { - printf("<b>Pathogenicity:</b> %s\n<br>\n", row[5]); + printf("<b>Pathogenicity:</b> %s\n<br>\n", row[7]); } if (isNotEmpty(row[8])) { - printf("<b>Contribution:</b> %s\n<br>\n", row[5]); + printf("<b>Contribution:</b> %s\n<br>\n", row[8]); } } sqlFreeResult(&sr); } else { sqlSafef(query, sizeof(query), "select distinct phenotype from decipherSnvsRaw where id ='%s' order by phenotype", itemName); sr = sqlMustGetResult(conn, query); row = sqlNextRow(sr); if ((row != NULL) && strlen(row[0]) >= 1) { printf("<B>Phenotype: </B><UL>"); while (row != NULL) {