eda78578a5c610db7acf00034b8823d6e9b96383
hiram
Tue Feb 19 14:39:21 2019 -0800
returning any and all data from bigBed track refs #18869
diff --git src/hg/hubApi/hubApi.c src/hg/hubApi/hubApi.c
index 112b26e..718a9e6 100644
--- src/hg/hubApi/hubApi.c
+++ src/hg/hubApi/hubApi.c
@@ -519,33 +519,39 @@
hPrintf("
Example URLs to return json data structures:
\n");
hPrintf("\n");
hPrintf("- list public hubs /cgi-bin/hubApi/list/publicHubs
\n");
hPrintf("- list database genomes /cgi-bin/hubApi/list/ucscGenomes
\n");
hPrintf("- list genomes from specified hub /cgi-bin/hubApi/list/hubGenomes?hubUrl=%s
\n", url, url);
hPrintf("- list tracks from specified hub and genome /cgi-bin/hubApi/list/tracks?hubUrl=%s&genome=%s
\n", url, hubGenome->name, url, hubGenome->name);
hPrintf("- list tracks from specified UCSC database /cgi-bin/hubApi/list/tracks?db=%s
\n", ucscDb, ucscDb);
hPrintf("- list chromosomes from specified UCSC database /cgi-bin/hubApi/list/chromosomes?db=%s
\n", ucscDb, ucscDb);
hPrintf("- list chromosomes from specified track from UCSC databaset /cgi-bin/hubApi/list/chromosomes?db=%s&track=gap
\n", ucscDb, ucscDb);
hPrintf("- get sequence from specified database and chromosome /cgi-bin/hubApi/getData/sequence?db=%s&chrom=chrM
\n", ucscDb, ucscDb);
hPrintf("- get sequence from specified database, chromosome with start,end coordinates /cgi-bin/hubApi/getData/sequence?db=%s&chrom=chrM&start=0&end=128
\n", ucscDb, ucscDb);
hPrintf("- get entire track data from specified database and track name (gold == Assembly) /cgi-bin/hubApi/getData/track?db=%s&track=gold
\n", ucscDb, ucscDb);
hPrintf("- get track data from specified database, chromosome and track name (gold == Assembly) /cgi-bin/hubApi/getData/track?db=%s&chrom=chrM&track=gold
\n", ucscDb, ucscDb);
hPrintf("- get track data from specified database, chromosome, track name, start and end coordinates /cgi-bin/hubApi/getData/track?db=%s&chrom=chr1&track=gold&start=107680&end=186148
\n", ucscDb, ucscDb);
+hPrintf("- get entire track data from specified hub and track name /cgi-bin/hubApi/getData/track?hubUrl=http://genome-test.gi.ucsc.edu/~hiram/hubs/GillBejerano/hub.txt&genome=hg19&track=ultraConserved
\n");
+hPrintf("- get track data from specified hub, chromosome and track name (full chromosome) /cgi-bin/hubApi/getData/track?hubUrl=http://genome-test.gi.ucsc.edu/~hiram/hubs/Plants/hub.txt&genome=_araTha1&chrom=chrCp&track=assembly_
\n");
hPrintf("- get track data from specified hub, chromosome, track name, start and end coordinates /cgi-bin/hubApi/getData/track?hubUrl=http://genome-test.gi.ucsc.edu/~hiram/hubs/Plants/hub.txt&genome=_araTha1&chrom=chr1&track=assembly_&start=0&end=14309681
\n");
hPrintf("
\n");
+hPrintf("Example URLs to generate errors:
\n");
+hPrintf("get track data from specified hub, chromosome, track name, start and end coordinates /cgi-bin/hubApi/getData/track?hubUrl=http://genome-test.gi.ucsc.edu/~hiram/hubs/Plants/hub.txt&genome=_araTha1&chrom=chrI&track=assembly_&start=0&end=14309681\n");
+hPrintf("\n");
+hPrintf("
\n");
} /* static void showExamples() */
#ifdef NOT
static void showCartDump()
/* for information purposes only during development, will become obsolete */
{
hPrintf("cart dump
");
hPrintf("\n");
cartDump(cart);
hPrintf("
\n");
}
#endif
static void doMiddle(struct cart *theCart)
/* Set up globals and make web page */