6c8734919a8bbcc7b0ef17a89ef86d21d80686cb hiram Thu Jan 23 14:25:13 2020 -0800 now using a minimal makefile and common scripts to make any assembly hub refs #24748 diff --git src/hg/makeDb/doc/asmHubs/mkAsmStats.pl src/hg/makeDb/doc/asmHubs/mkAsmStats.pl index 2e58183..223ac45 100755 --- src/hg/makeDb/doc/asmHubs/mkAsmStats.pl +++ src/hg/makeDb/doc/asmHubs/mkAsmStats.pl @@ -47,31 +47,31 @@ my $timeStamp = `date "+%F"`; chomp $timeStamp; print <<"END" <!DOCTYPE HTML 4.01 Transitional> <!--#set var="TITLE" value="$Name genomes assembly hubs" --> <!--#set var="ROOT" value="../.." --> <!--#include virtual="\$ROOT/inc/gbPageStartHardcoded.html" --> <h1>$Name Genomes assembly hubs</h1> <p> Assemblies from NCBI/Genbank/Refseq sources, subset of $asmHubName only. </p> -<h3>See also: <a href='index.html' target=_blank>hub access</a></h3><br> +<h3>See also: <a href='index.html'>hub access</a></h3><br> <h3>Data resource links</h3> NOTE: <em>Click on the column headers to sort the table by that column</em><br> The <em>link to genome browser</em> will attach only that single assembly to the genome browser. END } ############################################################################## ### start the table output ############################################################################## sub startTable() { print <<"END" <table class="sortable" border="1"> <thead><tr><th>count</th> @@ -109,39 +109,39 @@ <td align=right>$commaGapCount</td> <td align=right>$commaGapSize</td> <td colspan=1> </td> </tr></tfoot> </table> END } ############################################################################## ### end the HTML output ############################################################################## sub endHtml() { printf "<p>\nOther assembly hubs available:<br>\n<table border='1'><thead>\n<tr>"; -printf "<th><a href='../primates/asmStatsPrimates.html' target=_blank>Primates</a></th>\n" +printf "<th><a href='../primates/asmStatsPrimates.html'>Primates</a></th>\n" if ($asmHubName ne "primates"); -printf "<th><a href='../mammals/asmStatsMammals.html' target=_blank>Mammals</a></th>\n" +printf "<th><a href='../mammals/asmStatsMammals.html'>Mammals</a></th>\n" if ($asmHubName ne "mammals"); -printf "<th><a href='../birds/asmStatsBirds.html' target=_blank>Birds</a></th>\n" +printf "<th><a href='../birds/asmStatsBirds.html'>Birds</a></th>\n" if ($asmHubName ne "birds"); -printf "<th><a href='../fish/asmStatsFish.html' target=_blank>Fish</a></th>\n" +printf "<th><a href='../fish/asmStatsFish.html'>Fish</a></th>\n" if ($asmHubName ne "fish"); -printf "<th><a href='../vertebrate/asmStatsVertebrate.html' target=_blank>other vertebrates</a></th>\n" +printf "<th><a href='../vertebrate/asmStatsVertebrate.html'>other vertebrates</a></th>\n" if ($asmHubName ne "vertebrate"); printf "</tr></thead>\n</table>\n</p>\n"; print <<"END" </div><!-- closing gbsPage from gbPageStartHardcoded.html --> </div><!-- closing container-fluid from gbPageStartHardcoded.html --> <!--#include virtual="\$ROOT/inc/gbFooterHardcoded.html"--> <script type="text/javascript" src="/js/sorttable.js"></script> </body></html> END } sub asmCounts($) { my ($chromSizes) = @_;