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";

How to view the assembly of interest

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.

See also: assembly statisticstrack statistics <== additional information for these assemblies.


+ +

Cite reference: To reference these resources in publications, please credit:

+

+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 +

END if ($vgpIndex) { print <<"END";

Listings:

  (from RepeatModeler masking)

END @@ -212,31 +220,31 @@ } print <<"END"; The other links provide access to NCBI resources for these assemblies. END } # sub startHtml() ############################################################################## ### start the table output ############################################################################## sub startTable() { print ' - + '; if ("viral" ne $asmHubName) { printf " \n"; } printf "\n"; if ("legacy" eq $asmHubName) { printf "\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 "\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 "\n", $browserUrl, $browserName, $igvUrl; + } else { printf "\n", $browserUrl, $browserName; + } + # scientific name and data download printf " \n", $hubUrl, $sciName; if ($asmId !~ m/^GC/) { printf " \n", $gcPrefix, $asmAcc, $accessionId, $asmName; } else { printf " \n", $accessionId, $asmId; } # viruses do not appear to have BioSample if ($asmHubName ne "viral") { if ( $bioSample ne "notFound" ) { printf " \n", $bioSample, $bioSample; } else { printf " \n"; } } # one broken assembly_report
countcommon name and
view in browser
common name and
view in UCSC browser
[IGV browser]
scientific name
and data download
NCBI assembly BioSampleBioProjectassembly date,
source link
clade
%d%s[IGV]%s%s%s_%s%s%sn/a