e811848a75708cf437ed474e23a5997a29007aa7 hiram Tue Feb 19 18:34:33 2019 -0800 bigBed and bigWig hub data output examples refs #18869 diff --git src/hg/hubApi/hubApi.c src/hg/hubApi/hubApi.c index 718a9e6..e0cb06b 100644 --- src/hg/hubApi/hubApi.c +++ src/hg/hubApi/hubApi.c @@ -522,32 +522,34 @@ 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("
  • get all track data from specified hub and track name /cgi-bin/hubApi/getData/track?hubUrl=http://genome-test.gi.ucsc.edu/~hiram/hubs/Plants/hub.txt&genome=_araTha1&track=gc5Base
  • \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=chrMt&track=gc5Base&start=143600&end=143685
  • \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"); }