5edc1e5bd8a53e7bb3c2943f73d745e3995d59d2
braney
Thu Mar 17 10:10:14 2016 -0700
get ws245Genes to deal with its peptide table properly #15209
diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c
index 0766f49..6dc64bc 100644
--- src/hg/hgc/hgc.c
+++ src/hg/hgc/hgc.c
@@ -2732,30 +2732,31 @@
{
puts("
\n");
hgcAnchorSomewhere(pepClick, pepName, pepTable, seqName);
printf("Predicted Protein \n");
puts("\n");
foundPep = TRUE;
}
if (!foundPep)
{
char *autoTranslate = trackDbSetting(tdb, "autoTranslate");
if (autoTranslate == NULL || differentString(autoTranslate, "0"))
{
puts("\n");
/* put out correct message to describe translated mRNA */
if ( sameString(geneTable, "ensGene")
+ || sameString(geneTable, "ws245Genes")
|| sameString(geneTable, "vegaGene")
|| sameString(geneTable, "vegaPseudoGene")
|| genbankIsRefSeqNonCodingMRnaAcc(geneName)
|| sameString(geneTable, "lincRNAsTranscripts") )
{
printf("Non-protein coding gene or gene fragment, no protein prediction available.");
}
else
{
hgcAnchorSomewhere("htcTranslatedPredMRna", geneName, "translate", seqName);
printf("Translated Protein from ");
if (sameString(geneTable, "refGene") )
{
printf("genomic DNA\n");
}