ab4fe8a17e861e446c64db7184742ff8db163791
mspeir
Tue Jun 24 12:44:38 2014 -0700
Now Filter Verdict lines and related subsection will only be displayed on the canFam1 genomicSuperDups details page. Other species with a genomicSuperDups track essentially have no useful information in these lines (just things like NA, etc.), and these extra lines clutter up the aleady busy display, refs #13171
diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c
index 8a0b52b..17f98ec 100644
--- src/hg/hgc/hgc.c
+++ src/hg/hgc/hgc.c
@@ -18979,36 +18979,39 @@
genomicSuperDupsStaticLoad(row+rowOffset, &dup);
bedPrintPos((struct bed *)(&dup), 4, tdb);
printf("Other Position: "
""
"%s:%d-%d \n",
hgTracksPathAndSettings(), database,
dup.otherChrom, dup.otherStart+1, dup.otherEnd,
dup.otherChrom, dup.otherStart+1, dup.otherEnd);
printf(""
"View DNA for other position
\n",
hgcPathAndSettings(), dup.otherStart, dup.otherEnd, "",
dup.otherChrom, dup.otherStart, dup.otherEnd, dup.strand,
database, tdb->track);
printf("Other Position Relative Orientation:%s
\n",
dup.strand);
+ if(sameString("canFam1", database))
+ {
printf("Filter Verdict: %s
\n", dup.verdict);
printf(" testResult:%s
\n", dup.testResult);
printf(" chits:%s
\n", dup.chits);
printf(" ccov:%s
\n", dup.ccov);
printf(" posBasesHit:%d
\n",
dup.posBasesHit);
+ } else {};
if (alignUrl != NULL)
printf("Optimal Global Alignment
\n",
alignUrl, dup.alignfile, dup.chrom,
dup.chromStart, dup.chromEnd);
printf("Alignment Length: %d
\n", dup.alignL);
printf(" Indels #: %d
\n", dup.indelN);
printf(" Indels bp: %d
\n", dup.indelS);
printf(" Aligned Bases: %d
\n", dup.alignB);
printf(" Matching bases: %d
\n",
dup.matchB);
printf(" Mismatched bases: %d
\n",
dup.mismatchB);
printf(" Transitions: %d
\n",
dup.transitionsB);