fb9a49bd8fafe5c6647e0fdec676a74703b57341 braney Thu Sep 2 11:08:30 2010 -0700 a couple of changes to Gencode track diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index 9ccfaa6..ac5104c 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -2190,12 +2190,24 @@ for (gp = gpList; gp != NULL; gp = gp->next) { printPos(gp->chrom, gp->txStart, gp->txEnd, gp->strand, FALSE, NULL); + if(sameString(tdb->type,"genePred") + && startsWith("ENCODE Gencode",tdb->longLabel) + && startsWith("ENST",name)) + { + char *ensemblIdUrl = trackDbSetting(tdb, "ensemblIdUrl"); + + printf("Ensembl Transcript Id: "); + if (ensemblIdUrl != NULL) + printf("%s
", ensemblIdUrl,name,name); + else + printf("%s
",name); + } if (gp->name2 != NULL && strlen(trimSpaces(gp->name2))> 0) { /* in Ensembl gene info downloaded from ftp site, sometimes the name2 field is populated with "noXref" because there is no alternate name. Replace this with "none" */ - printf("Alternate Name:"); + printf("Gene Symbol:"); if (sameString(gp->name2, "noXref")) printf(" none
\n"); else @@ -2315,21 +2327,6 @@ printf("

Links to sequence:

\n"); printf("