74f7bf30603c7dfe869afcbe63adb6ddd74e9898 angie Wed Jan 10 12:58:38 2018 -0800 Link to NCBI's Genome Data Viewer (GDV) using GCA_ accessions from dbDb.sourceName instead of hardcoded GCF_ ids. refs #18671 diff --git src/hg/hgTracks/extTools.ra src/hg/hgTracks/extTools.ra index 6ed54f6..b5303ae 100644 --- src/hg/hgTracks/extTools.ra +++ src/hg/hgTracks/extTools.ra @@ -2,49 +2,50 @@ # Existing URL replacement chars in trackDb, e.g. # $s - chrom name, stripping "chr" # $S - full chrom name, leaving "chr" # $[ - start position of window # $start1 - start position of window + 1 # $] - end position of window # $n - current organism name, spaces replaced with underscores # $D - current database, like hg19 # Additional ones: # $seq - current sequence in view # $taxId - taxon id of current db # $returnUrl - full URL of current hgTracks page # $position - current position, format chr:start-end # $halfLen - 1/2 of the current window size (for pointing external tools to the current center) +# $ncbiGca - NCBI's GenBank Assembly version, e.g. GCA_000001405.15 for hg38 # $ncbiGcf - NCBI's RefSeq Assembly (+ annotations) version, e.g. GCF_000001405.25 for hg19 # If something doesn't work, Hit "Esc" when the redirection takes place and append # &debug=1 # to the URL shown in the browser (it has hgt.redirectTool=xxx in it) # This will show all parameters sent to the external site and lets you edit them. # Note that these configuration entries do not have to be created manually # We have a tool "extToolsChromeParse" that can parse the Chrome debug # trace to create them automatically from a traced click on a link in Chrome # Run the tool "extToolsChromeParse" and look at its help message for details tool GDV shortLabel NCBI GDV longLabel NCBI Genome Data Viewer url https://www.ncbi.nlm.nih.gov/genome/gdv/browser/ email info@ncbi.nlm.nih.gov isHttpGet true -param id $ncbiGcf +param acc $ncbiGca param chr $s param from $start1 param to $] param context genome tool ensemblArch shortLabel Ensembl longLabel Ensembl Genome Browser url http://dec2014.archive.ensembl.org/$n/contigview onlyDbs hg38 email helpdesk@ensembl.org isHttpGet true param chr $s param start $start1 param end $]