NEW BARCHART DISPLAY SETTINGS
Two new settings for bigBarChart are about adjusting the display in the browser: barChartBarMinWidth and barChartBarMinPadding.
Sets the minimum pixel width of the bars in the chart to <num> pixels. Example: barChartBarMinWidth 10
Sets the minimum pixel width between bars to <num> pixels. Example: barChartBarMinPadding 5
Here are two example tracks using these settings on the same source data that can be loaded by going to the My Data, Custom Tracks page and pasting the below text to see how the display differs.
browser position chr14:95,081,796-95,436,280
You can see the bottom track has wider widths, and the top track has larger padding between bars. As described in the settings entry, there is a dynamic calculation dependent on the current window size, the width of the item, and the number of bars for the item. So that when zooming in the appearance of the barCharts with these settings can be different, at different scales. For instance, in the first image, you can see how much impact barChartBarMinWidth has on the second track, as well as the barChartBarMinPadding in the top track. But as zoomed in, with the below image, the impact of both of these settings is less noticeable.
NEW BARCHART DETAILS SELECTION SETTINGS
Another set of new settings aid in the details page of barCharts: barChartFacets, barChartStatsUrl, and barChartMerge.
This setting turns on the faceted selection on the track details and configure page which is useful for selecting which bars out of a large number to display.
This setting enables the merge button inside of the faceted selections. It is particularly useful when there are many bars and many facets.
Here below is an example track using these settings on source data for a Tabula Sapiens single cell RNA data from many tissues
track. This excerpt of settings from that track allows experimenting to see these settings in action, and be loaded by going to the My Data, Custom Tracks page.
Once loaded, click into an item to see the details page, in this case for the gene ACE2 at the default position in hg38. Click the first two "merge" buttons next to "tissue" and "cell_class."
Now click "Macrophage" to see just one selection.
Click the "unmerge" button next to "tissue" and the single bar chart will expand with tissue clusters.
In these ways the new barChartFacets, barChartStatsUrl, and barChartMerge settings allow users to explore the barChart data on the individual details page more closely. You can use the facets to further select certain types and also click the columns (val/count/cluster) to arrange by numerical value or alphabetical name.
Also, if you click the "Return to Genome Browser" link, you will see only these selections bars are displayed.
In this image after making the selections browsing ACE2 the "zoom out" button has been clicked to also view nearby genes where the expression of these tissue selections for the gene PIR is quite noticeably different.
This setting specifies some display configuration options for psl tracks.
This setting shows CDS for PSL tracks at all zoom levels.
This setting helps to specify the maximum zoom-out allowed for displaying the CDS for psl tracks.
- $<fieldName> - For bigBed based tracks only (so excluding vcf,
vcfPhasedTrio, bam/cram and hic), substitute the <fieldName>
value from the bigBed for this item. Note the preceding '$' before the
The enhanced url $<field2> reference can allow hub developers to more easily link back to their original resources by adding unique accession fields in their bigBed files.