1682366b1827b7559f8e1e41635acff6c5ea15e9
max
  Wed Sep 9 06:05:05 2026 -0700
hprc2annot: move the makeDoc into its own directory and repoint the links

The makeDoc has grown a companion (an hg38 pcLAI doc is in progress), so it
moves from doc/contrib/hprc2annot.txt into doc/contrib/hprc2annot/, matching
how the scripts and trackDb copies are already laid out. The file itself gains
a section on the pcLAI scatterplot on the details page: where the reference
panel comes from, the four ancestry centroids the discretized field takes
across the release, and why the file is read through hgTrackUi rather than
fetched by the browser.

All seven track description pages linked to the old flat path and would have
404'd, so they are repointed. Six of them change only that link; pclai.html has
further edits still in progress and keeps its own copy of the change.

refs #35415

diff --git src/hg/makeDb/trackDb/contrib/hprc2annot/liftoffGenes.html src/hg/makeDb/trackDb/contrib/hprc2annot/liftoffGenes.html
index 3aaf2f1d15d..b125021e38a 100644
--- src/hg/makeDb/trackDb/contrib/hprc2annot/liftoffGenes.html
+++ src/hg/makeDb/trackDb/contrib/hprc2annot/liftoffGenes.html
@@ -1,83 +1,83 @@
 <h2>Description</h2>
 <p>
 This track shows gene annotations mapped onto this Human Pangenome Reference
 Consortium (HPRC) Release 2 assembly with Liftoff. Genes are the stretches of DNA
 that are copied into RNA and, for most of them, translated into protein. Liftoff
 takes an existing, curated set of genes from a reference genome and finds the
 matching location of each one in the new assembly, so that familiar RefSeq gene
 models can be viewed directly in each individual's genome. Because it maps genes
 one by one rather than re-predicting them, Liftoff is well suited to transferring
 a trusted reference annotation with its original names and identifiers.
 </p>
 
 <h2>Display Conventions</h2>
 <p>
 Genes follow the standard UCSC gene display: boxes are exons, connecting lines
 are introns, and arrows on the introns show the direction of transcription.
 Thicker boxes mark the coding portion (CDS) and thinner boxes the untranslated
 regions. When zoomed in, the amino-acid translation and the underlying bases can
 be shown. Items are labeled by gene name; the transcript accession (a RefSeq
 NM_, NR_, XM_ or XR_ identifier) and the gene and transcript biotypes appear on
 the details page. Gene name and transcript accession are both searchable. Liftoff
 can place more than one copy of a gene, so some genes appear as several models.
 The accession of a transcript sometimes carries a trailing <tt>_1</tt> or similar
 suffix, which Liftoff and the source annotation use to keep the identifiers of
 such repeated placements distinct.
 </p>
 
 <h2>Methods</h2>
 <p>
 Liftoff aligns the transcript sequences of a reference annotation to the target
 assembly with minimap2 and then chooses, for each gene, the mapping that best
 preserves its exon-intron structure, optionally identifying additional gene
 copies. See the reference below for details. For the HPRC pangenome, the human
 RefSeq annotation (via the CHM13 reference) was lifted onto each assembly.
 </p>
 <p>
 The annotation files were obtained from the HPRC Release 2 data collection on the
 public <tt>s3://human-pangenomics</tt> bucket, indexed at
 <a href="https://github.com/human-pangenomics/hprc_intermediate_assembly/tree/main/data_tables/annotation/liftoff" target="_blank">the hprc_intermediate_assembly data tables</a>.
 Each per-assembly GFF3 was converted to a UCSC bigGenePred file. The Liftoff GFF3
 does not record CDS phase, so the phase of each coding exon was recomputed before
 conversion with <tt>gff3ToGenePred</tt> and <tt>genePredToBigGenePred</tt>. The steps are described in the
-<a href="https://github.com/ucscGenomeBrowser/kent/blob/master/src/hg/makeDb/doc/contrib/hprc2annot.txt" target="_blank">makeDoc</a>,
+<a href="https://github.com/ucscGenomeBrowser/kent/blob/master/src/hg/makeDb/doc/contrib/hprc2annot/hprc2annot.txt" target="_blank">makeDoc</a>,
 the build scripts are in the
 <a href="https://github.com/ucscGenomeBrowser/kent/tree/master/src/hg/makeDb/scripts/hprc2annot" target="_blank">kent source tree</a>,
 and the track configuration is in
 <a href="https://github.com/ucscGenomeBrowser/kent/tree/master/src/hg/makeDb/trackDb/contrib/hprc2annot" target="_blank">trackDb/contrib/hprc2annot</a>.
 Roughly one transcript in ten thousand is missing from the track. These are
 models whose exons Liftoff placed at coordinates that contradict each other, for
 example a transcript whose recorded start lies after its recorded end, or exons
 that overlap one another. Such a model cannot be expressed as a gene prediction
 and is dropped rather than repaired; the counts are recorded per assembly in the
 build log.
 </p>
 
 <h2>Data Access</h2>
 <p>
 For automated analysis, the annotation is stored in a bigBed-format file
 (<tt>liftoffGenes.bb</tt>) that can be read with the UCSC tool
 <tt>bigBedToBed</tt>, which can be compiled from source or downloaded as a
 precompiled binary. It can also extract features for a region. The original
 annotation files are available from the HPRC S3 bucket linked above.
 </p>
 
 <h2>Credits</h2>
 <p>
 Annotations were generated by the Human Pangenome Reference Consortium. Thanks to
 the HPRC production team for making these data available.
 </p>
 
 <h2>References</h2>
 
 
 <p>
 Shumate A, Salzberg SL.
 <a href="https://academic.oup.com/bioinformatics/article-lookup/doi/10.1093/bioinformatics/btaa1016"
 target="_blank">
 Liftoff: accurate mapping of gene annotations</a>.
 <em>Bioinformatics</em>. 2021 Jul 19;37(12):1639-1643.
 PMID: <a href="https://www.ncbi.nlm.nih.gov/pubmed/33320174" target="_blank">33320174</a>; PMC: <a
 href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8289374/" target="_blank">PMC8289374</a>
 </p>