10b43bfe4fdaa293a79ddd639f8c29ad2aa7b8f9 lrnassar Thu Jan 9 11:30:27 2020 -0800 Adding a plug for the API in the getDNA page section relating to bulk download refs #355 diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index 2acfb7c..fb37045 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -4431,31 +4431,34 @@ cgiContinueHiddenVar("l"); cgiContinueHiddenVar("r"); puts("Position "); savePosInTextBox(seqName, winStart+1, winEnd); /* bypass message about Table Browser for GSID server, since we haven't offered TB for GSID */ if (!hIsGsidServer()) { if (tbl[0] == 0) { puts("

" "Note: This page retrieves genomic DNA for a single region. " "If you would prefer to get DNA for many items in a particular track, " "or get DNA with formatting options based on gene structure (introns, exons, UTRs, etc.), try using the "); printf("", hgTablesUrl(TRUE, NULL)); - puts("Table Browser with the \"sequence\" output format."); + puts("Table Browser with the \"sequence\" output format. You can also use the "); + printf(""); + puts("REST API with the /getData/sequence endpoint function " + "to extract sequence data with coordinates."); } else { puts("

" "Note: if you would prefer to get DNA for more than one feature of " "this track at a time, try the "); printf("", hgTablesUrl(FALSE, tbl)); puts("Table Browser using the output format sequence."); } } hgSeqOptionsHtiCart(hti,cart); puts("

"); cgiMakeButton("submit", "get DNA"); if (dbIsFound)