1ae12a1d8f166902e7697634f6a209fe15a70bf2 hiram Wed Oct 4 14:48:52 2023 -0700 adding outlink to IGV browser refs #29545 diff --git src/hg/makeDb/doc/asmHubs/mkHubIndex.pl src/hg/makeDb/doc/asmHubs/mkHubIndex.pl index e72a403..0a1bbc1 100755 --- src/hg/makeDb/doc/asmHubs/mkHubIndex.pl +++ src/hg/makeDb/doc/asmHubs/mkHubIndex.pl @@ -165,30 +165,38 @@ END } } print <<"END";
The links to the genome browser in the table below will attach that one specific assembly to the genome browser. Use the links in the column labeled common name and view in browser to view that assembly in the genome browser.
+Clawson, H., Lee, B.T., Raney, B.J. et al.
+"GenArk: towards a million UCSC genome browsers.
Genome Biol 24, 217 (2023).
+
+https://doi.org/10.1186/s13059-023-03057-x
+
count | -common name and view in browser |
+ common name and view in UCSC browser[IGV browser] |
scientific name and data download |
NCBI assembly | BioSample | '; if ("viral" ne $asmHubName) { printf "BioProject | \n"; } printf "assembly date, source link | \n";
if ("legacy" eq $asmHubName) {
printf "clade | \n"; } if ($ccgpIndex) { @@ -384,31 +392,39 @@ $bioProject = `grep ^ncbiBioProject "${configRa}" | cut -d' ' -f2-`; chomp $bioProject; $bioSample = `grep ^ncbiBioSample "${configRa}" | cut -d' ' -f2-`; chomp $bioSample; $ncbiFtpLink = "https://ftp.ncbi.nlm.nih.gov/genomes/all/$accessionDir/${accessionId}_${asmName}"; } my $hubUrl = "https://hgdownload.soe.ucsc.edu/hubs/$accessionDir/$accessionId"; my $browserName = $commonName; my $browserUrl = "https://genome.ucsc.edu/h/$accessionId"; if ($asmId !~ m/^GC/) { $hubUrl = "https://hgdownload.soe.ucsc.edu/goldenPath/$asmId/bigZips"; $browserUrl = "https://genome.ucsc.edu/cgi-bin/hgTracks?db=$asmId"; $browserName = "$commonName ($asmId)"; } printf "
---|---|---|---|---|---|---|---|---|
%d | \n", ++$rowCount; + # common name and view in browser + if ( $asmId =~ m/^GC/ ) { + my $hubTxt = "${hubUrl}/hub.txt"; + my $igvUrl = "https://igv.org/app-test/?hubURL=$hubTxt"; + printf "%s[IGV] | \n", $browserUrl, $browserName, $igvUrl; + } else { printf "%s | \n", $browserUrl, $browserName; + } + # scientific name and data download printf "%s | \n", $hubUrl, $sciName; if ($asmId !~ m/^GC/) { printf "%s_%s | \n", $gcPrefix, $asmAcc, $accessionId, $asmName; } else { printf "%s | \n", $accessionId, $asmId; } # viruses do not appear to have BioSample if ($asmHubName ne "viral") { if ( $bioSample ne "notFound" ) { printf "%s | \n", $bioSample, $bioSample; } else { printf "n/a | \n"; } } # one broken assembly_report