ce84dec02479202e3c5da08720403faa4cf4f215
braney
  Thu Mar 14 12:09:42 2019 -0700
support bigGenePred with no table as a native track

diff --git src/hg/lib/hgSeq.c src/hg/lib/hgSeq.c
index f6bae45..56e96d9 100644
--- src/hg/lib/hgSeq.c
+++ src/hg/lib/hgSeq.c
@@ -15,31 +15,31 @@
 #include "bed.h"
 #include "hgSeq.h"
 #include "trackHub.h"
 
 
 int hgSeqChromSize(char *db, char *chromName)
 /* get chrom size if there's a database out there,
  * otherwise just return 0 */
 {
 int thisSize = 0;
 if (hDbExists(db))
     thisSize = hChromSize(db, chromName);
 return thisSize;
 }
 
-static void hgSeqFeatureRegionOptions(struct cart *cart, boolean canDoUTR,
+void hgSeqFeatureRegionOptions(struct cart *cart, boolean canDoUTR,
 			       boolean canDoIntrons)
 /* Print out HTML FORM entries for feature region options. */
 {
 char *exonStr = canDoIntrons ? " Exons" : "";
 char *setting;
 
 puts("\n<H3> Sequence Retrieval Region Options: </H3>\n");
 
 if (canDoIntrons || canDoUTR)
     {
     cgiMakeCheckBox("hgSeq.promoter",
 		    cartCgiUsualBoolean(cart, "hgSeq.promoter", FALSE));
     puts("Promoter/Upstream by ");
     setting = cartCgiUsualString(cart, "hgSeq.promoterSize", "1000");
     cgiMakeTextVar("hgSeq.promoterSize", setting, 5);
@@ -128,31 +128,31 @@
 puts("extra downstream (3') <BR>");
 if (canDoIntrons && canDoUTR)
     {
     puts("&nbsp;&nbsp;&nbsp;");
     cgiMakeCheckBox("hgSeq.splitCDSUTR",
 		    cartCgiUsualBoolean(cart, "hgSeq.splitCDSUTR", FALSE));
     puts("Split UTR and CDS parts of an exon into separate FASTA records");
     }
 puts("<BR>\n");
 puts("Note: if a feature is close to the beginning or end of a chromosome \n"
      "and upstream/downstream bases are added, they may be truncated \n"
      "in order to avoid extending past the edge of the chromosome. <P>");
 }
 
 
-static void hgSeqDisplayOptions(struct cart *cart, boolean canDoUTR,
+void hgSeqDisplayOptions(struct cart *cart, boolean canDoUTR,
                                 boolean canDoIntrons, boolean offerRevComp)
 /* Print out HTML FORM entries for sequence display options. */
 {
 char *casing, *repMasking;
 
 puts("\n<H3> Sequence Formatting Options: </H3>\n");
 
 casing = cartCgiUsualString(cart, "hgSeq.casing", "exon");
 if (canDoIntrons)
     {
     cgiMakeRadioButton("hgSeq.casing", "exon", sameString(casing, "exon"));
     if (canDoUTR)
 	puts("Exons in upper case, everything else in lower case. <BR>");
     else
 	puts("Blocks in upper case, everything else in lower case. <BR>");