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("
"); 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("
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("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.
"); puts("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 10 Mb and more, however.
"); - } 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[HDB_MAX_TABLE_STRING]; boolean hasBin; @@ -25443,35 +25397,30 @@ cartSetString(cart, "i", "PrintAllSequences"); hgCustom(newCts->tdb->track, NULL); } void doMiddle() /* Generate body of HTML. */ { char *track = cartString(cart, "g"); char *item = cloneString(cartOptionalString(cart, "i")); char *parentWigMaf = cartOptionalString(cart, "parentWigMaf"); struct trackDb *tdb = NULL; hgBotDelayFrac(0.5); -if (hIsGisaidServer()) - { - validateGisaidUser(cart); - } - /* database and organism are global variables used in many places */ getDbAndGenome(cart, &database, &genome, NULL); organism = hOrganism(database); scientificName = hScientificName(database); initGenbankTableNames(database); dbIsFound = trackHubDatabase(database) || sqlDatabaseExists(database); // Try to deal with virt chrom position used by hgTracks. // Hack the cart vars to set to a non virtual chrom mode position if (sameString("virt", cartString(cart, "c")) || sameString("getDna", cartUsualString(cart, "g", "")) ) { char *nvPos = cartUsualString(cart, "nonVirtPosition", NULL); @@ -26433,38 +26382,30 @@ { doJaxAliasGenePred(tdb, item); } else if (sameWord(table, "wgRna")) { doWgRna(tdb, item); } else if (sameWord(table, "ncRna")) { doNcRna(tdb, item); } else if (sameWord(table, "gbProtAnn")) { doGbProtAnn(tdb, item); } -else if (sameWord(table, "h1n1Gene")) - { - doH1n1Gene(tdb, item); - } -else if (startsWith("h1n1_", table) || startsWith("h1n1b_", table)) - { - doH1n1Seq(tdb, item); - } else if (sameWord(table, "bdgpGene") || sameWord(table, "bdgpNonCoding")) { doBDGPGene(tdb, item); } else if (sameWord(table, "flyBaseGene") || sameWord(table, "flyBaseNoncoding")) { doFlyBaseGene(tdb, item); } else if (sameWord(table, "bgiGene")) { doBGIGene(tdb, item); } else if (sameWord(table, "bgiSnp")) { doBGISnp(tdb, item);