496272f527e3680673a19c89bb43290286bb47ee braney Wed Sep 12 11:42:25 2012 -0700 more twiddling (#8249) diff --git src/hg/hgGene/hgGene.c src/hg/hgGene/hgGene.c index c8f89cc..714be36 100644 --- src/hg/hgGene/hgGene.c +++ src/hg/hgGene/hgGene.c @@ -247,50 +247,50 @@ char *description = descriptionString(id, conn); int i, exonCnt = 0, cdsExonCnt = 0; int cdsStart, cdsEnd; hPrintf("%s", description); freez(&description); /* print genome position and size */ char buffer[1024]; char *commaPos; exonCnt = curGenePred->exonCount; safef(buffer, sizeof buffer, "%s:%d-%d", curGeneChrom, curGeneStart+1, curGeneEnd); commaPos = addCommasToPos(database, buffer); -hPrintf("<B>Transcript (Including UTRs)</B><br>\n"); +hPrintf("<B>Transcript (Including UTRs):</B><br>\n"); hPrintf("<B>Position:</B> %s ",commaPos); sprintLongWithCommas(buffer, (long long)curGeneEnd - curGeneStart); hPrintf("<B>Size:</B> %s ", buffer); -hPrintf("<B>Exon Count:</B> %d ", exonCnt); +hPrintf("<B>Total Exon Count:</B> %d ", exonCnt); hPrintf("<B>Strand:</B> %s<br>\n",curGenePred->strand); cdsStart = curGenePred->cdsStart; cdsEnd = curGenePred->cdsEnd; /* count CDS exons */ if (cdsStart < cdsEnd) { for (i=0; i<exonCnt; i++) { if ( (cdsStart <= curGenePred->exonEnds[i]) && (cdsEnd >= curGenePred->exonStarts[i]) ) cdsExonCnt++; } - hPrintf("<B>Coding Region</B><br>\n"); + hPrintf("<B>Coding Region:</B><br>\n"); safef(buffer, sizeof buffer, "%s:%d-%d", curGeneChrom, cdsStart+1, cdsEnd); commaPos = addCommasToPos(database, buffer); hPrintf("<B>Position:</B> %s ",commaPos); sprintLongWithCommas(buffer, (long long)cdsEnd - cdsStart); hPrintf("<B>Size:</B> %s ", buffer); hPrintf("<B>Coding Exon Count:</B> %d \n", cdsExonCnt); } fflush(stdout); } char *sectionSetting(struct section *section, char *name) /* Return section setting value if it exists. */ { return hashFindVal(section->settings, name); }