4a7c74fc30fb024fa97307d1cfc17f360e5f68a8 braney Thu Mar 3 00:31:00 2016 -0800 fix bug in outputting sequence in the table browser for refSeq table diff --git src/hg/hgTables/seqOut.c src/hg/hgTables/seqOut.c index 6f178c5..fece8cd 100644 --- src/hg/hgTables/seqOut.c +++ src/hg/hgTables/seqOut.c @@ -94,31 +94,31 @@ } void doRefGeneProteinSequence(struct sqlConnection *conn, struct bed *bedList) /* Fetch refGene proteins corresponding to names in bedList. */ { struct hash *uniqHash = newHash(18); struct hash *protHash = newHash(18); struct sqlResult *sr; char **row; struct bed *bed; /* Get translation from mRNA to protein from refLink table. */ char query[2048]; -sqlSafef(query, sizeof query, "NOSQLINJ select mrnaAcc,protAcc from %s",refLinkTable); +sqlSafef(query, sizeof query, "select mrnaAcc,protAcc from %s",refLinkTable); sr = sqlGetResult(conn, query); while ((row = sqlNextRow(sr)) != NULL) { char *protAcc = row[1]; if (protAcc != NULL && protAcc[0] != 0) hashAdd(protHash, row[0], lmCloneString(protHash->lm, protAcc)); } sqlFreeResult(&sr); boolean gotResults = FALSE; for (bed = bedList; bed != NULL; bed = bed->next) { char *protAcc = hashFindVal(protHash, bed->name); if (protAcc != NULL && !hashLookup(uniqHash, protAcc)) {