0735f90654447d1aad66609d7eafae8b8f8bd4ef hartera Tue Apr 23 13:15:16 2013 -0700 Made changes to RetroFinder details page to tidy up presentation and also to make the text more intuitive to the user. diff --git src/hg/hgc/retroClick.c src/hg/hgc/retroClick.c index 1ab2ca9..5be10a0 100644 --- src/hg/hgc/retroClick.c +++ src/hg/hgc/retroClick.c @@ -179,70 +179,79 @@ static void displaySrcGene(struct sqlConnection *conn, struct mappingInfo *mi) /* display information about the source gene that was mapped */ { char srcGeneUrl[1024]; /* description will be NULL if deleted */ if (!startsWith("retroAugust",mi->geneSet)) getGenbankInfo(conn, mi); /* construct URL to browser */ safef(srcGeneUrl, sizeof(srcGeneUrl), "../cgi-bin/hgTracks?db=%s&position=%s:%d-%d", database, mi->pg->gChrom, mi->pg->gStart, mi->pg->gEnd); printf("
%s", srcGeneUrl, mi->pg->name); if (mi->desc == NULL) - printf(" | gene no longer in source database"); + printf(" | Gene no longer in source database"); else printf(" | %s | %s", mi->sym, mi->desc); printf("\n"); printf(" |
Orthology (net) Break | Coverage %% |
---|---|
Organism | %% Coverage |
%s ", puro->db); + /* get substring after "net" prefix and convert first char to lower + case then get organism name */ + safecpy(orgDb, sizeof(orgDb), puro->db+3); + orgDb[0] = tolower(orgDb[0]); + org = hOrganism(orgDb); + printf(" | |
%s (%s) ", org, orgDb); printf(" | %d |
table %s not found |
Feature | Value |
---|---|
Type of Parent | %s |
Expression of Retrocopy | %s |
Score | %d (range from 0 - %d) |
Alignment Coverage of parent gene (Bases matching Parent) | %d %% (%d bp) |
Introns Procesed Out | %d out of %d (%d exons covered)\n", pg->processedIntrons, (pg->parentSpliceCount/2), pg->exonCover); -printf(" |
Possible Introns (or gaps) in Retro | %d + %d\n", pg->intronCount, pg->alignGapCount); +printf(" |
Parent Gene Alignment Coverage (Bases Matching Parent) | %d %% (%d bp) |
Introns Processed Out | %d out of %d (%d exons covered)\n", pg->processedIntrons, (pg->parentSpliceCount/2), pg->exonCover); +printf(" |
Possible Introns or Gaps in Retrogene | %d,%d\n", pg->intronCount, pg->alignGapCount); printf(" |
Conserved Splice Sites | %d |
Parent Splice Sites | %d |
Blocks in retro:gap%%/intronsSpliced | \n"); printBlocks(psl, MAXBLOCKGAP, pslList); printf(" |
Exons in parent:gap%% | \n"); printBlocks(pslList, MAXBLOCKGAP, NULL); printf(" |
Length of PolyA Tail | %d As out of %d bp |
PolyA Tail %% A's(position) | %5.1f %%\n",pg->polyA,pg->polyAlen, (float)pg->polyA*100/(float)pg->polyAlen); +printf(" |
Length of PolyA Tail | %d As out of %d bp |
%% A's from Parent PolyA tail (Position) | %5.1f %%\n",pg->polyA,pg->polyAlen, (float)pg->polyA*100/(float)pg->polyAlen);
if (pg->polyAstart < 0)
printf(" (%d bp before end of retrocopy) \n",-(pg->polyAstart)); else printf(" (%d bp past end of retrocopy) \n",pg->polyAstart); -printf(" |
mRNA expression evidence | "); +printf(" |
mRNA Expression Evidence | "); if (!sameString(pg->overName, "none")) printf("%s (overlap: %d bp)\n", pg->overName, pg->maxOverlap); else printf("No overlapping"); -printf(" |
bestorf score (>50 is good) | %4.0f |
BESTORF Score (>50 is good) | %4.0f |
score function | 1:xon %d %4.1f conSS %d 2: ax %4.1f 3: pA %4.1f 4: net + %4.1f max (%d, %d) 5: procIntrons %d %4.1f 6:in.cnt %d -%4.1f 7:overlap - %4.1f 8:cov %d*(qe %d- qsz %d)/%d=%4.1f 9:tRep - %4.1f 10:oldintron %d %4.1f |