\n");
printf("
Alignment summary
\n");
/* comma-format the coordinates and base counts, matching the new Table view (readable at the
* hundreds-of-millions scale of genomic coordinates, and the convention elsewhere in the browser) */
@@ -9256,43 +9278,61 @@
" headers:{'Content-Type':'application/x-www-form-urlencoded'},"
" body:'hgsid=%s&hgS_doSaveSessionJson=1&hgS_shareAnon=1'})\n"
" .then(function(r){ return r.json(); }).then(function(data){\n"
" btn.textContent = label; btn.dataset.busy = '';\n"
" if (!data || !data.name) return;\n"
" var link = window.location.origin + window.location.pathname +\n"
" '?g=htcBlatAlign&c=%s&o=%d&i=' + encodeURIComponent('%s') +\n" // db comes from the session
" '&u=l&s=' + encodeURIComponent(data.name);\n"
" if (window.topLinks && topLinks.shareUrl) topLinks.shareUrl(link);\n"
" }).catch(function(){ btn.textContent = label; btn.dataset.busy = ''; });\n"
"});\n"
"})();\n",
cartSessionId(cart), psl->tName, psl->tStart, qName);
}
+static void alnModernStart(char *classicTitle)
+/* Begin an alignment page. With the modernAlignPage hg.conf flag set, start the modern single-page
+ * chrome (webStartGbNoBanner) and arm gAlnModern so showSomeAlignment() renders the modern body;
+ * otherwise start the classic