39c3f339e5b55e9288d293ec3f7efe773803da6f kuhn Fri Oct 14 04:12:52 2011 -0700 small format and phrasing tweaks to case/color text in getDna diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index 8a03cb4..6a2d1c7 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -4351,53 +4351,53 @@ sprintf(buf, "%s_blue", tdb->track); cgiMakeIntVar(buf, cartUsualInt(cart, buf, 0), 3); printf("</TD>"); printf("</TR>\n"); } } } printf("</TABLE>\n"); printf("</FORM>\n"); if (hIsGsidServer()) { printf("<H3>Coloring Information and Examples</H3>\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."); + "to make pretty, but completely cryptic, displays with this feature."); puts( "<UL>" "<LI>To put Genes in upper case red text, check the " "appropriate box in the Toggle Case column and set the color to pure " "red, RGB (255,0,0). Upon submitting, any Gene within the " "designated chromosomal interval will now appear in red capital letters.\n" "<LI>To see the overlap between Genes and InterPro Domains try " "setting the Genes/Regions to red (255,0,0) and InterPro to green (0,255,0). " "Places where the Genes and InterPro Domains overlap will be painted yellow " "(255,255,0).\n" "<LI>To get a level-of-coverage effect for tracks like Genes with " "multiple overlapping items, initially select a darker color such as deep " "green, RGB (0,64,0). Nucleotides covered by a single Gene will appear dark " "green, while regions covered with more Genes get progressively brighter — " "saturating at 4 Genes." "<LI>Another track can be used to mask unwanted features. Setting the " "InterPro track to RGB (255,255,255) will white-out Genes within InterPro " "domains. " "</UL>"); puts("<H3>Further Details and Ideas</H3>"); puts("<P>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's still " + "will retain upper case but lose colors and other formatting. That is still " "useful because other web tools such as " "<A HREF=\"http://www.ncbi.nlm.nih.gov/blast\" TARGET=_BLANK>NCBI Blast</A> " "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.</P>"); puts("<P>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.</P>"); } else { printf("<H3>Coloring Information and Examples</H3>\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, " @@ -4426,31 +4426,31 @@ puts("<H3>Further Details and Ideas</H3>"); puts("<P>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's still " "useful because other web tools such as " "<A HREF=\"http://www.ncbi.nlm.nih.gov/blast\" TARGET=_BLANK>NCBI Blast</A> " "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.</P>"); puts("<P>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.</P>"); puts("<P>Be careful about requesting complex formatting for a very large " "chromosomal region. After all the html tags are added to the output page, " "the file size may exceed size limits that your browser, clipboard, and " - "other software can safely display. The tool will format 10Mbp and more though.</P>"); + "other software can safely display. The tool will format 10 Mb and more, however.</P>"); } trackDbFreeList(&tdbList); } void doGetBlastPep(char *readName, char *table) /* get predicted protein */ { int qStart; struct psl *psl; int start, end; struct sqlResult *sr; struct sqlConnection *conn = hAllocConn(database); struct dnaSeq *tSeq; char query[256], **row; char fullTable[64];