0d53b83677c13692a3734ec12548521338df6d43 braney Sun Mar 22 19:23:04 2015 -0700 bigGenePred doc diff --git src/hg/hgCustom/hgCustom.c src/hg/hgCustom/hgCustom.c index 43f0e6e..f56033c 100644 --- src/hg/hgCustom/hgCustom.c +++ src/hg/hgCustom/hgCustom.c @@ -86,86 +86,61 @@ char *organism = NULL; struct customTrack *ctList = NULL; void makeClearButton(char *field) /* UI button that clears a text field */ { char javascript[1024]; safef(javascript, sizeof javascript, "document.mainForm.%s.value = '';", field); cgiMakeOnClickButton(javascript, " Clear "); } void addIntro() /* display overview and help message for "add" screen */ { -if (hIsGsidServer()) - { - puts(" Data must be formatted in\n" - " <A TARGET=_BLANK HREF='../FAQ/FAQformat.html#format1'>BED</A>,\n" - " <A TARGET=_BLANK HREF='../goldenPath/help/bigBed.html'>bigBed</A>,\n" - " <A TARGET=_BLANK HREF='../goldenPath/help/bedgraph.html'>bedGraph</A>,\n" - " <A TARGET=_BLANK HREF='../FAQ/FAQformat.html#format3'>GFF</A>,\n" - " <A TARGET=_BLANK HREF='../FAQ/FAQformat.html#format4'>GTF</A>,\n" - " <A TARGET=_BLANK HREF='../goldenPath/help/wiggle.html'>WIG</A>\n" - " <A TARGET=_BLANK HREF='../goldenPath/help/bigWig.html'>bigWig</A>,\n" - " <A TARGET=_BLANK HREF='../FAQ/FAQformat.html#format1.7'>BED detail</A>,\n" - " <A TARGET=_BLANK HREF='../FAQ/FAQformat.html#format10'>Personal Genome SNP</A>,\n" - " or <A TARGET=_BLANK HREF='../FAQ/FAQformat.html#format2'>PSL</A>\n" - " formats. To configure the display, set\n" - " <A TARGET=_BLANK HREF='../goldenPath/help/customTrack.html#TRACK'>track</A>\n" - " and" - " <A TARGET=_BLANK HREF='../goldenPath/help/customTrack.html#BROWSER'>browser</A>\n" - " line attributes as described in the \n" - " <A TARGET=_BLANK HREF='../goldenPath/help/customTrack.html'>User's Guide</A>.\n" - " Data in the bigBed, bigWig, BAM and VCF formats can be provided via only a URL or embedded in a track\n" - " line in the box below.\n" - ); - } -else - { puts(" Data must be formatted in\n" " <A TARGET=_BLANK HREF='../FAQ/FAQformat.html#format1'>BED</A>,\n" " <A TARGET=_BLANK HREF='../goldenPath/help/bigBed.html'>bigBed</A>,\n" +" <A TARGET=_BLANK HREF='../goldenPath/help/bigGenePred.html'>bigGenePred</A>,\n" " <A TARGET=_BLANK HREF='../goldenPath/help/bedgraph.html'>bedGraph</A>,\n" " <A TARGET=_BLANK HREF='../FAQ/FAQformat.html#format3'>GFF</A>,\n" " <A TARGET=_BLANK HREF='../FAQ/FAQformat.html#format4'>GTF</A>,\n" " <A TARGET=_BLANK HREF='../goldenPath/help/wiggle.html'>WIG</A>,\n" " <A TARGET=_BLANK HREF='../goldenPath/help/bigWig.html'>bigWig</A>,\n" " <A TARGET=_BLANK HREF='../FAQ/FAQformat.html#format5'>MAF</A>,\n" " <A TARGET=_BLANK HREF='../goldenPath/help/bam.html'>BAM</A>,\n" " <A TARGET=_BLANK HREF='../FAQ/FAQformat.html#format1.7'>BED detail</A>,\n" " <A TARGET=_BLANK HREF='../FAQ/FAQformat.html#format10'>Personal Genome SNP,</A>\n" " <A TARGET=_BLANK HREF='../goldenPath/help/vcf.html'>VCF</A>,\n" " <A TARGET=_BLANK HREF='../FAQ/FAQformat.html#format13'>broadPeak</A>,\n" " <A TARGET=_BLANK HREF='../FAQ/FAQformat.html#format12'>narrowPeak</A>,\n" " or <A TARGET=_BLANK HREF='../FAQ/FAQformat.html#format2'>PSL</A>\n" " formats. To configure the display, set\n" " <A TARGET=_BLANK HREF='../goldenPath/help/customTrack.html#TRACK'>track</A>\n" " and" " <A TARGET=_BLANK HREF='../goldenPath/help/customTrack.html#BROWSER'>browser</A>\n" " line attributes as described in the \n" " <A TARGET=_BLANK HREF='../goldenPath/help/customTrack.html'>User's Guide</A>.\n" " Data in the bigBed, bigWig, BAM and VCF formats can be provided via only a URL or embedded in a track\n" " line in the box below.\n" " Publicly available custom tracks are listed\n" " <A HREF='../goldenPath/customTracks/custTracks.html'>here</A>.\n" " Examples are\n" " <A TARGET=_BLANK HREF='../goldenPath/help/customTrack.html#EXAMPLE1'>here</A>.\n" ); } -} void addCustomForm(struct customTrack *ct, char *err) /* display UI for adding custom tracks by URL or pasting data */ { char *dataUrl = NULL; char buf[1024]; boolean gotClade = FALSE; boolean isUpdateForm = FALSE; if (ct) { isUpdateForm = TRUE; dataUrl = ctDataUrl(ct); } else