97805fb2ceb73357aa78aa94107148dc355d4e1c
mspeir
  Tue Sep 22 08:36:22 2026 -0700
Conservation tracks: give the description pages a real Data Access section, refs #34803

The hgdownload link block on these pages had no header, and on 18 of them it sat
above the Description, which is where it got overlooked. Move it into an
<h2>Data Access</h2> in the usual place, after Methods and before Credits, and
add pointers to the Table Browser, the Data Integrator and the REST API, plus
the maf* and bigWig* command line tools.

134 pages: 55 had a download block that was moved and labeled, 56 get a list
built from hgdownload directories that were checked to exist, 21 have no
download directory of their own and so get the Table Browser and API pointers
only, and 2 already had a Data Access section that was reworked. Existing
download lists are unchanged apart from http -> https and an added
target="_blank".

Wording follows what each track actually holds, so the alignment-only pages do
not claim conservation scores and the Data Integrator is only mentioned where it
can really be used, since it does not handle MAF.

Also corrects one link: hg18 cons44way pointed at multiz44way/maf, which
redirects; it is now multiz44way/maf/.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

diff --git src/hg/makeDb/trackDb/human/hg38/cons20way.html src/hg/makeDb/trackDb/human/hg38/cons20way.html
index 8199f3925b6..b12eadfa9ae 100644
--- src/hg/makeDb/trackDb/human/hg38/cons20way.html
+++ src/hg/makeDb/trackDb/human/hg38/cons20way.html
@@ -68,40 +68,30 @@
 <TR ALIGN=left><TD>Crab-eating macaque</TD><TD>Macaca fascicularis</TD><TD>Jun. 2013</TD><TD><A HREF="ftp://hgdownload.soe.ucsc.edu/gbdb/macFas5" TARGET=_blank>WashU 5.0/macFas5</A></TD><TD>Syntenic net</TD></TR>
 <TR ALIGN=left><TD>Rhesus</TD><TD>Macaca mulatta</TD><TD>Oct. 2010</TD><TD><A HREF="/cgi-bin/hgGateway?db=rheMac3" TARGET=_blank>BGI CR 1.0/rheMac3</A></TD><TD>Syntenic net</TD></TR>
 <TR ALIGN=left><TD>Baboon</TD><TD>Papio anubis</TD><TD>Mar. 2012</TD><TD><A HREF="/cgi-bin/hgGateway?db=papAnu2" TARGET=_blank>Baylor Panu_2.0/papAnu2</A></TD><TD>Syntenic net</TD></TR>
 <TR ALIGN=left><TD>Squirrel monkey</TD><TD>Saimiri boliviensis</TD><TD>Oct. 2011</TD><TD><A HREF="/cgi-bin/hgGateway?db=saiBol1" TARGET=_blank>Broad/saiBol1</A></TD><TD>Reciprocal best net</TD></TR>
 <TR ALIGN=left><TD>Marmoset</TD><TD>Callithrix jacchus</TD><TD>Mar. 2009</TD><TD><A HREF="/cgi-bin/hgGateway?db=calJac3" TARGET=_blank>WUGSC 3.2/calJac3</A></TD><TD>Syntenic net</TD></TR>
 <TR ALIGN=left><TD>Tarsier</TD><TD>Tarsius syrichta</TD><TD>Sep. 2013</TD><TD><A HREF="/cgi-bin/hgGateway?db=tarSyr2" TARGET=_blank>WashU 2.0.1/tarSyr2</A></TD><TD>Syntenic net</TD></TR>
 <TR ALIGN=left><TD>Mouse lemur</TD><TD>Microcebus murinus</TD><TD>Jul. 2007</TD><TD><A HREF="/cgi-bin/hgGateway?db=micMur1" TARGET=_blank>Broad/micMur1</A></TD><TD>Reciprocal best net</TD></TR>
 <TR ALIGN=left><TD>Bushbaby</TD><TD>Otolemur garnettii</TD><TD>Mar. 2011</TD><TD><A HREF="/cgi-bin/hgGateway?db=otoGar3" TARGET=_blank>Broad/otoGar3</A></TD><TD>Reciprocal best net</TD></TR>
 <TR ALIGN=left><TD>Tree shrew</TD><TD>Tupaia belangeri</TD><TD>Dec. 2006</TD><TD><A HREF="/cgi-bin/hgGateway?db=tupBel1" TARGET=_blank>Broad/tupBel1</A></TD><TD>Reciprocal best net</TD></TR>
 <TR ALIGN=left><TD>Dog</TD><TD>Canis lupis familiaris</TD><TD>Sep. 2011</TD><TD><A HREF="/cgi-bin/hgGateway?db=canFam3" TARGET=_blank>Broad/canFam3</A></TD><TD>Syntenic net</TD></TR>
 <TR ALIGN=left><TD>Mouse</TD><TD>Mus musculus</TD><TD>Dec. 2011</TD><TD><A HREF="/cgi-bin/hgGateway?db=mm10" TARGET=_blank>GRChm38/mm10</A></TD><TD>Syntenic net</TD></TR>
 </TABLE><BR>
 <B>Table 1.</B> <EM>Genome assemblies included in the 20-way Conservation track.</EM>
 </BLOCKQUOTE></P>
 
-Downloads for data in this track are available:
-<UL>
-<LI>
-<A HREF="http://hgdownload.soe.ucsc.edu/goldenPath/hg38/multiz20way/">Multiz alignments</A> (MAF format), and phylogenetic trees
-<LI>
-<A HREF="http://hgdownload.soe.ucsc.edu/goldenPath/hg38/phyloP20way/">PhyloP conservation</A> (WIG format)
-<LI>
-<A HREF="http://hgdownload.soe.ucsc.edu/goldenPath/hg38/phastCons20way/">PhastCons conservation</A> (WIG format)
-</UL>
-
 <H2>Display Conventions and Configuration</H2>
 <P>
 In full and pack display modes, conservation scores are displayed as a
 <EM>wiggle track</EM> (histogram) in which the height reflects the
 value of the score.
 The conservation wiggles can be configured in a variety of ways to
 highlight different aspects of the displayed information.
 Click the <A HREF="../goldenPath/help/hgWiggleTrackHelp.html"
 TARGET=_blank>Graph configuration help</A> link for an explanation
 of the configuration options.</P>
 <P>
 Pairwise alignments of each species to the $organism genome are
 displayed below the conservation histogram as a grayscale density plot (in
 pack mode) or as a wiggle (in full mode) that indicates alignment quality.
 In dense display mode, conservation is shown in grayscale using
@@ -316,30 +306,62 @@
 <h3> Conserved Elements </h3>
 <P>
 The conserved elements were predicted by running phastCons with the
 --viterbi option.  The predicted elements are segments of the alignment
 that are likely to have been "generated" by the conserved state of the
 phylo-HMM. Each element is assigned a log-odds score equal to its log
 probability under the conserved model minus its log probability under the
 non-conserved model. The "score" field associated with this track contains
 transformed log-odds scores, taking values between 0 and 1000. (The scores
 are transformed using a monotonic function of the form a * log(x) + b.) The
 raw log odds scores are retained in the "name" field and can be seen on the
 details page or in the browser when the track's display mode is set to
 "pack" or "full".
 </P>
 
+<h2>Data Access</h2>
+<p>
+The alignments and the conservation scores can be retrieved for a single region or for a list of
+regions with the <a
+href="hgTables?db=hg38&amp;hgta_group=compGeno&amp;hgta_track=cons20way">Table Browser</a>,
+which returns the alignments in MAF format and the scores as wiggle data. The scores and the
+conserved elements, though not the alignments, can also be joined with other annotations in the
+<a href="hgIntegrator?db=hg38">Data Integrator</a>. For automated access, our <a
+href="../goldenPath/help/api.html">REST API</a> serves the alignment and conservation tracks
+individually, by name.
+</p>
+<p>
+Downloads for data in this track are available:
+<UL>
+<LI>
+<A HREF="https://hgdownload.soe.ucsc.edu/goldenPath/hg38/multiz20way/" target="_blank">Multiz alignments</A> (MAF format), and phylogenetic trees
+<LI>
+<A HREF="https://hgdownload.soe.ucsc.edu/goldenPath/hg38/phyloP20way/" target="_blank">PhyloP conservation</A> (WIG format)
+<LI>
+<A HREF="https://hgdownload.soe.ucsc.edu/goldenPath/hg38/phastCons20way/" target="_blank">PhastCons conservation</A> (WIG format)
+</UL>
+</p>
+<p>
+Genome-wide alignment and conservation files are large. Among our command-line programs,
+<tt>mafsInRegion</tt>, <tt>mafSpeciesSubset</tt> and <tt>mafFrags</tt> pull out a region, a
+subset of species, or the alignment underlying a gene, and <tt>bigWigToWig</tt> and
+<tt>bigWigSummary</tt> read the conservation files. They can be downloaded from the <a
+href="https://hgdownload.soe.ucsc.edu/admin/exe/" target="_blank">utilities directory</a>, and
+each one prints its usage when run with no arguments. See our <a
+href="../FAQ/FAQdownloads.html">Data Access FAQ</a> for more information.
+</p>
+
 <H2>Credits</H2>
 <P> This track was created using the following programs:
 <UL>
 <LI> Alignment tools: blastz and multiz by Minmei Hou, Scott Schwartz and Webb
 Miller of the <A HREF="http://www.bx.psu.edu/miller_lab/"
 TARGET=_blank>Penn State Bioinformatics Group</A>
 <LI> Chaining and Netting:  axtChain, chainNet by Jim Kent at UCSC
 <LI> Conservation scoring: phastCons, phyloP, phyloFit, tree_doctor, msa_view and
 other programs in PHAST by
 <A HREF="https://siepellab.labsites.cshl.edu/"
 TARGET=_blank>Adam Siepel</A> at Cold Spring Harbor Laboratory (original development
 done at the Haussler lab at UCSC).
 <LI> MAF Annotation tools: mafAddIRows by Brian Raney, UCSC; mafAddQRows
 by Richard Burhans, Penn State; genePredToMafFrames by Mark Diekhans, UCSC
 <LI> Tree image generator: phyloPng by Galt Barber, UCSC