Quantitative track
BigWig and BedGraph files store genome-wide quantitative signals (read depth, ChIP-seq enrichment, conservation scores). One track draws one signal or a whole cohort of them.
Rendering types
The track menu's Plot type submenu (backed by the display's
mark and its
interpolate) offers these styles:
- Bar plot: filled bars
- Heatmap: a row colored by value, compact for many signals at once
- Line (step): the tops of the bars as a stepped line
- Line (interpolated): midpoint to midpoint, smoother for sparse signals
- Scatter: individual points, for sparse data
Score options
Resolution in the track menu sets how many points per pixel a BigWig is read at, finer or coarser than one per pixel, and Bin summary sits beneath it.
The Y axis panel
Y axis... opens the track's axis settings in the side drawer. The track redraws as you change them, and Reset to defaults returns to the track's configuration. On an alignments track the row is Coverage axis..., and on a heatmap Score range....
- Scale: signed log keeps zero and negative scores.
- Min and Max pin either end of the axis
(
encoding.y.scale.domainMin); an empty field follows the data in view and shows where that end lands now. - Include 0 (
encoding.y.scale.zero), ticked by default, extends an empty end to 0, so a bar shows its whole height. Unticked, the axis spans the values in view, so a GC track holding 30 to 60% draws 30 to 60. - Clip extreme outliers
(
encoding.y.scale.fenceQuantile), ticked by default, stops an empty end short of a spike that would stretch the axis past twice the height the other 99% of values need, and marks the bars past it with a red strip. A config takes any quantile,0.95for a tighter fence. - Share axis with ticks the other tracks in the view that share this one's
axis, which then autoscales over all of their data as you pan and zoom
(
encoding.y.scale.share). A coverage band, a mark display and a Manhattan plot take the sameshare.
Include 0 and Clip extreme outliers move only an end left empty, so both leave the panel once Min and Max are both set; Include 0 also leaves on a log axis, which has no 0. A heatmap offers neither Include 0 nor reference lines. The ? in the drawer's header sums these up.
Bin summary
Zoomed out, a BigWig serves precomputed summary bins.
- Resolution → Bin summary picks the statistic drawn per bin: Minimum,
Maximum or Mean, which write
encoding.y.fieldasminScore,maxScoreorscore. A narrow peak averaged over a wide bin fades out; Maximum keeps it visible. - Show min and max draws the bin's range around it
(
mark.extent): a bar plot nests the darker bar inside the lighter range, and a line plot fills it as a translucent band behind the line. A heatmap draws no range. - Raw values, from a bedGraph or a BigWig zoomed all the way in, make the three statistics one number, so neither setting changes anything. A y field naming another feature field hides Bin summary.
The mappability tutorial reads a mappability track with Minimum, the worst position in each bin.
Colors
Edit colors/arrangement... opens the plot's two colors on one line, one above the baseline and one below; a flat plot uses one color for both.
- Subtracks are listed beneath. Color rows by → Each row picks a subtrack's color there, and on overlapping plots gives each subtrack a separate palette entry.
- Edit plot... in that dialog sets the rest: a ramp
(
{ "field": "score", "scale": "linear", "scheme": "viridis" }), the colors a heatmap fades through, or several cut points with a color per band.
The quantitative track configuration guide writes the same object into a config file.
Many signals in one track
A MultiQuantitativeTrack combines several quantitative signals (typically
BigWig files) into one track on a shared Y axis, and opens with one row per
signal. Plot type lists the plot styles under Multi-row and again under
Overlapping, so one click picks how a signal is drawn and whether it gets a
separate row. Where the subtracks have a group, or the config sets
rows.field to another subtrack
attribute, a third layout, Rows by group, draws one row per value with that
row's subtracks overlaid in their configured colors
(config).
Each row keeps its subtrack's configured color, and overlapping sources take a palette entry each. An outlier on one signal can stretch the shared Y axis until the others flatten; Clip extreme outliers in the Y axis... panel, or a pinned Min and Max, keeps them readable.
Adding a multi-quantitative track
- "Add a track" form: paste a list of BigWig URLs, or open several BigWig files from your machine.
- Track selector: multi-select existing tracks and combine them, as the single-cell pseudobulk tutorial does with per-cell-type BigWigs.
- Config: see quantitative track configuration.
Loading bedMethyl as a multi-quantitative track
modkit pileup writes a
bedMethyl file, a BED with
the methylation fraction at one CpG for one modification type (e.g. 5mC or 5hmC)
per row. It loads through BedTabixAdapter as a MultiQuantitativeTrack with
one subtrack per modification type; see
Loading bedMethyl as a multi-quantitative track
for the file and the adapter config, and the
methylation tutorial
for a worked run. For the per-read view of the same calls, see
Color by base modifications
on the alignments track.
Clustering rows by score
Clustering → Cluster rows by score... in the track menu reorders rows by signal similarity over the visible region. A sample with patchy coverage clusters by the values it has, and under a log or signed log axis clustering compares values as the axis draws them. See Clustering rows for the modes, the dendrogram, and how to share a result in a session URL. The population CNV tutorial clusters a copy-number panel.
Sorting rows by score at one position
Right-click a row at the column you want to rank on and choose Sort rows by score here. The rows reorder by their score at that base, highest at the top.
- Reset row order, in the same right-click menu and the track menu, returns the rows to their loaded order, undoing a sort, a clustering run or a hand-arranged order.
- A starting order: the
rowsslot'ssortlists the sources that lead; the rest keep the adapter's order, and the reset returns to that order. - In a session:
sortRowsBypersists the sort, asrunClusteringpersists a clustering run; see LinearWiggleDisplay.
Viewing whole-genome coverage for CNV profiling
For a chromosome-scale view of copy-number changes:
- Open the BigWig track
- Show all regions in the assembly
- Leave Clip extreme outliers ticked in the Y axis... panel, so the repeat spikes stay off the axis
- Increase the Resolution until the profile looks smooth
- Drag the bottom edge of the track down to make it taller
For tumor vs normal on one Y axis, put both signals in one track; for a whole cohort, see the TCGA cohort copy number tutorial.
Coverage is also shaped by GC content, mappability, repeats and PCR bias, so not every dip or spike is a copy-number change.
See also
- Tutorial: Basic usage of genomes.jbrowse.org, a worked example on a hosted BigWig, from finding the track to reading it against the gene model
- Tutorial: Methylation
- Tutorial: Single-cell RNA and ATAC pseudobulk
- User guide: GWAS / Manhattan track
- User guide: SV visualization: working with large SVs
- Config guide: Quantitative track configuration
- Reference: LinearWiggleDisplay config schema