c84bb93c44e2b071ff91f655a89ed866a36cb31c angie Thu Aug 31 05:17:05 2017 -0700 Clarify messages displayed when we can't find an alignment in ncbiRefSeqPsl and/or seqNcbiRefSeq. diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index 1855d5a..64b0233 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -11969,43 +11969,43 @@ } static boolean hasSequence = TRUE; struct psl *pslList = getAlignments(conn, "ncbiRefSeqPsl", itemName); // if the itemName isn't found, it might be found as the nrl->mrnaAcc if (! pslList) pslList = getAlignments(conn, "ncbiRefSeqPsl", nrl->mrnaAcc); if (pslList) { char query[256]; /* verify itemName has RNA sequence to work with */ sqlSafef(query, sizeof(query), "select id from seqNcbiRefSeq where acc='%s' limit 1", itemName); char * result= sqlQuickString(conn, query); if (isEmpty(result)) { - printf ("<h4>there is NO alignment for %s</h4>\n", itemName); + printf ("<h4>No sequence available for %s, can't display alignment.</h4>\n", itemName); hasSequence = FALSE; } else { printf("<H3>mRNA/Genomic Alignments (%s)</H3>", itemName); int start = cartInt(cart, "o"); printAlignments(pslList, start, "htcCdnaAli", "ncbiRefSeqPsl", itemName); } } else { - printf ("<h4>there is NO alignment for %s</h4><br>\n", itemName); + printf ("<h4>Missing alignment for %s</h4><br>\n", itemName); } htmlHorizontalLine(); if (! ( sameString(tdb->track, "ncbiRefSeqPsl") || sameString(tdb->track, "ncbiRefSeqOther" ) ) ) showGenePos(itemName, tdb); printf("<h3>Links to sequence:</h3>\n"); printf("<ul>\n"); if (differentWord("", nrl->protAcc)) { puts("<li>\n"); hgcAnchorSomewhere("htcTranslatedProtein", nrl->protAcc, "ncbiRefSeqPepTable", seqName); printf("Predicted Protein</a> \n"); puts("</li>\n");