3c68ae03c7ec7a7e6b98c22e81f7a6489b50e515 braney Mon Feb 17 10:41:18 2020 -0800 delete long unused code for HIV, Cancer browser. RIP Fan. diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index 3e4c3c4..39ea344 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -4421,54 +4421,50 @@ char *thisOrg = hOrganism(database); cartWebStart(cart, database, "Get DNA in Window (%s/%s)", database, thisOrg); printf("

Get DNA for

\n"); printf("
\n\n", hgcName()); cartSaveSession(cart); cgiMakeHiddenVar("g", "htcGetDna2"); cgiMakeHiddenVar("table", tbl); cgiContinueHiddenVar("i"); cgiContinueHiddenVar("o"); cgiContinueHiddenVar("t"); 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. 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) cgiMakeButton("submit", EXTENDED_DNA_BUTTON); puts("

"); if (dbIsFound) puts("Note: The \"Mask repeats\" option applies only to \"get DNA\", not to \"extended case/color options\".

"); } boolean dnaIgnoreTrack(char *track) /* Return TRUE if this is one of the tracks too boring * to put DNA on. */ { @@ -4770,71 +4766,30 @@ printf(""); printf(""); safef(buf, sizeof buf, "%s_green", tdb->track); cgiMakeIntVar(buf, cartUsualInt(cart, buf, 0), 3); printf(""); printf(""); safef(buf, sizeof buf, "%s_blue", tdb->track); cgiMakeIntVar(buf, cartUsualInt(cart, buf, 0), 3); printf(""); printf("\n"); } } } printf("\n"); printf("\n"); -if (hIsGsidServer()) - { - printf("

Coloring Information and Examples

\n"); - puts("The color values range from 0 (darkest) to 255 (lightest) and are additive.\n"); - puts("The examples below show a few ways to highlight individual tracks, " - "and their interplay. It's good to keep it simple at first. It's easy " - "to make pretty, but completely cryptic, displays with this feature."); - puts( - ""); - puts("

Further Details and Ideas

"); - puts("

Copying and pasting the web page output to a text editor such as Word " - "will retain upper case but lose colors and other formatting. That is still " - "useful because other web tools such as " - "NCBI Blast " - "can be set to ignore lower case. To fully capture formatting such as color " - "and underlining, view the output as \"source\" in your web browser, or download " - "it, or copy the output page into an html editor.

"); - puts("

The default line width of 60 characters is standard, but if you have " - "a reasonable sized monitor it's useful to set this higher - to 125 characters " - "or more. You can see more DNA at once this way, and fewer line breaks help " - "in finding DNA strings using the web browser search function.

"); - } -else - { printf("

Coloring Information and Examples

\n"); puts("The color values range from 0 (darkest) to 255 (lightest) and are additive.\n"); puts("The examples below show a few ways to highlight individual tracks, " "and their interplay. It's good to keep it simple at first. It's easy " "to make pretty, but completely cryptic, displays with this feature."); puts( "