0886e7b5c34b188b9030e65199c5368592c486c5 markd Tue Nov 24 20:28:35 2015 -0800 fixed unused variable warnings diff --git src/hg/hgc/retroClick.c src/hg/hgc/retroClick.c index c2c7eba..2f83a78 100644 --- src/hg/hgc/retroClick.c +++ src/hg/hgc/retroClick.c @@ -496,77 +496,77 @@ int i; int count = 0; for (i=0; i<(gp->exonCount); i++) { if ( (gp->cdsStart <= gp->exonEnds[i]) && (gp->cdsEnd >= gp->exonStarts[i]) ) count++; } return count; } static void displayMappingInfo(struct sqlConnection *conn, struct mappingInfo *mi) /* display information from a transMap table */ { struct ucscRetroInfo *pg = mi->pg; -double wt[12]; /* weights on score function*/ char query[512]; char *name; char alignTbl[128]; char scoreSql[128]; +#ifdef score +double wt[12]; /* weights on score function*/ struct psl *psl; float coverFactor = 0; float maxOverlap = 0; +#endif if (mi->suffix == NULL) { safef(alignTbl, sizeof(alignTbl), "%s%sAli", mi->tblPre, mi->geneSet); sqlSafef(scoreSql, sizeof(scoreSql), "select max(score) from %s%sInfo", mi->tblPre, mi->geneSet); } else { safef(alignTbl, sizeof(alignTbl), "%s%sAli%s", mi->tblPre, mi->geneSet, mi->suffix); sqlSafef(scoreSql, sizeof(scoreSql), "select max(score) from %s%sInfo%s", mi->tblPre, mi->geneSet, mi->suffix); } printf("
Feature | Value |
---|---|
Type of Parent | %s |
Expression of Retrogene | %s |
Score | %d (range from 0 - %d) |
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(" |