f5c96c14557e69252db6935d20ea55bdd250e519
max
  Fri Sep 4 17:12:57 2026 -0700
DANIO-CODE as native danRer11 tracks, alpha only.

Converts the DANIO-CODE consortium's public track hub for danRer11 into a
native trackDb: 897 stanzas under one superTrack, with 11 containers for
RNA-seq, CAGE-seq, ChIP-seq, 3P-seq, Hi-C, regulatory elements, cell types,
COPEs/DOPEs, validated enhancers, conservation and consensus promoters.

The 879 data files, 69 GB, are mirrored under /gbdb/danRer11/danioCode and are
byte-identical to the consortium's copies. Four cell-type subtracks are left
out because their files 404 on the consortium's server.

refs #38265

diff --git src/hg/makeDb/trackDb/zebrafish/danRer11/dcCAGEseqComposite.html src/hg/makeDb/trackDb/zebrafish/danRer11/dcCAGEseqComposite.html
new file mode 100644
index 00000000000..1efcfa2c301
--- /dev/null
+++ src/hg/makeDb/trackDb/zebrafish/danRer11/dcCAGEseqComposite.html
@@ -0,0 +1,123 @@
+<h2>Description</h2>
+
+<p>
+CAGE (cap analysis of gene expression) sequences only the very first bases of capped
+RNA molecules. Each read therefore marks one transcription start site, at base
+resolution. Because promoters usually fire from a small cluster of neighboring start
+sites rather than a single base, the individual start sites are grouped into tag
+clusters, and a tag cluster is a good working definition of an active promoter.
+</p>
+
+<p>
+This track shows CAGE data for 16 zebrafish samples spanning 12 developmental stages,
+from the 1-cell stage to the adult. Two kinds of data are shown: the raw signal, which
+is the number of transcription start sites seen at each base, and the tag clusters
+called from that signal. Zebrafish is a useful system for this because the promoters
+used by the mother's stored RNA and those used after the embryo's own genome switches
+on can sit within the same promoter region and are separable at this resolution.
+</p>
+
+<p>
+This track is part of the <a href="hgTrackUi?g=danioCode">DANIO-CODE</a> collection.
+</p>
+
+<h2>Display Conventions and Configuration</h2>
+
+<p>
+The track has two views that can be configured separately. <b>Signal</b> shows one
+coverage graph per sample, auto-scaled to the window. <b>Regions</b> shows the tag
+clusters as blocks; the score of a cluster reflects its expression, and the colors are
+taken from the consortium's files.
+</p>
+
+<p>
+Nothing is displayed until samples are selected on the configuration page, where they
+can be filtered by developmental stage and by sample.
+</p>
+
+<h2>Methods</h2>
+
+<p>
+The DANIO-CODE consortium assembled 1,802 zebrafish developmental genomics datasets,
+1,438 of them already published and 366 generated by consortium members, and
+reprocessed all of them from the raw sequencing reads so that samples from different
+laboratories and different protocols can be compared with each other. ChIP-seq and
+ATAC-seq were run through the ENCODE pipelines, CAGE-seq through the FANTOM pipeline,
+and Hi-C and 4C-seq through the pipelines of the groups that produced them. The
+pipelines are published at
+<a href="https://gitlab.com/danio-code" target="_blank">gitlab.com/danio-code</a>, and
+samples were assigned to developmental stages using ZFIN and ENCODE nomenclature. See
+Baranasic <em>et al</em>. 2022 for details.
+</p>
+
+<p>
+CAGE libraries were processed with the FANTOM CAGE pipeline. Tag clusters were called
+from the mapped start sites. The samples in this track come from the Mueller
+laboratory and were originally deposited under SRA055273.
+</p>
+
+<p>
+At UCSC the tracks were converted from the consortium's public track hub at
+<a href="https://trackhub2.genereg.net/DANIO-CODE/DANIO-CODE.hub.txt" target="_blank">
+trackhub2.genereg.net/DANIO-CODE</a> with the script
+<a href="https://github.com/ucscGenomeBrowser/kent/tree/master/src/hg/makeDb/scripts/danioCode"
+target="_blank">danioCodeHubToRa.py</a>, and the data files were copied from the same
+server. The data themselves were not modified. The steps are documented in
+<a href="https://github.com/ucscGenomeBrowser/kent/blob/master/src/hg/makeDb/doc/danRer11/danioCode.txt"
+target="_blank">our makeDoc</a>.
+</p>
+
+<h2>Data Access</h2>
+
+<p>
+The data can be explored interactively in table format with the
+<a href="../cgi-bin/hgTables">Table Browser</a> or the
+<a href="../cgi-bin/hgIntegrator">Data Integrator</a> and exported from there to
+spreadsheet or tab-separated tables. From scripts, the data can be accessed through
+our <a href="https://api.genome.ucsc.edu">API</a>, track=<i>dcCAGEseqComposite</i>.
+</p>
+
+<p>
+For automated download and analysis, the annotations are stored in bigWig and bigBed files that
+can be downloaded from
+<a href="http://hgdownload.soe.ucsc.edu/gbdb/danRer11/danioCode/" target="_blank">our
+download server</a>. Signal files are named after the DANIO-CODE sample accession, for example <tt>DCD001527SQ_signal.bigWig</tt>, and tag cluster files end in <tt>_tagCluster.bigBed</tt>. Individual regions or the whole genome annotation can be
+obtained using our tool <tt>bigBedToBed</tt>, which can be compiled from the source code
+or downloaded as a precompiled binary for your system. Instructions for downloading
+source code and binaries can be found
+<a href="http://hgdownload.soe.ucsc.edu/downloads.html#utilities_downloads">here</a>.
+The tool can also be used to obtain features within a given range, for example
+</p>
+<pre>bigBedToBed http://hgdownload.soe.ucsc.edu/gbdb/danRer11/danioCode/DCD001527SQ_DCD011313DT_tagCluster.bigBed \
+    -chrom=chr1 -start=20000000 -end=20100000 stdout</pre>
+
+<p>
+The original data files, and the sample and protocol metadata behind them, are
+available from the DANIO-CODE data coordination center at
+<a href="https://danio-code.zfin.org" target="_blank">danio-code.zfin.org</a> and from
+the consortium's track hub at
+<a href="https://trackhub2.genereg.net/DANIO-CODE/DANIO-CODE.hub.txt" target="_blank">
+trackhub2.genereg.net/DANIO-CODE</a>.
+</p>
+
+<h2>Credits</h2>
+
+<p>
+Thanks to the DANIO-CODE consortium for collecting, reprocessing and publishing these
+data, and to the laboratories that produced the original datasets.
+</p>
+
+<h2>References</h2>
+Failed to fetch complete links from NCBI after 10 tries.  Try again later or just use the PubMed paper link.
+
+<p>
+Baranasic D, Hörtenhuber M, Balwierz PJ, Zehnder T, Mukarram AK, Nepal C, Várnai C, Hadzhiev Y,
+Jimenez-Gonzalez A, Li N <em>et al</em>.
+<a href="https://www.ncbi.nlm.nih.gov/pubmed/35789323" target="_blank">
+Multiomic atlas with functional stratification and developmental dynamics of zebrafish cis-
+regulatory elements</a>.
+<em>Nat Genet</em>. 2022 Jul;54(7):1037-1050.
+PMID: <a href="https://www.ncbi.nlm.nih.gov/pubmed/35789323" target="_blank">35789323</a>; PMC: <a
+href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9279159/" target="_blank">PMC9279159</a>
+</p>
+