WIG tracks can visualize information from wig of bigWig files.
At the demo site, bigWig files are used to show the coverage of BAM files.
When you hover over a location on a WIG track, the value for that location appears.
NGB supports "Bar Graph" (default) and "Heat map" display modes for BigWig
tracks.
If a "Bar Graph" display option is chosen – each BigWig
’s coordinate is being shown as the bar, depending on the locus "value".
If a "Heat Map" display option is chosen – each BigWig
’s coordinate is being shown with different color intensities, depending on the locus "value".
To change the display mode:
- Click the hyperlink near the Display label in the
BigWig
track header:
- In the list, select the display mode you wish, e.g.:
- The display mode will be changed according to the selected one:
Also, the display mode can be changed for a group of selected BigWig
tracks. For that:
- Select several
BigWig
tracks. - Use the Display control in the floating menu of selected tracks:
- Select the display mode.
- In such case, the set display mode will be applied to all selected
BigWig
tracks:
NGB supports several scale modes for the BigWig
tracks: Auto-Scale / Manual Scale, and also for both types the Log Scale can be applied additionally.
Manual scale option allows to set the absolute scale range for the track.
Auto scale option calculates the displayed data range automatically and apply this range to the track.
Log scale option allows to set logarithmic scale for the track.
To set the Manual scale:
- Click the hyperlink near the Scale label in the
BigWig
track header:
- In the list, select the Manual item:
- In the popup, specify min and max values for the scale and confirm, e.g.:
- The set scale will be applied:
- If you wish to apply one the same manual scale to all alignments tracks in the browser - return at step 3 and set the "Apply to all alignments tracks" checkbox:
In that case, all alignments tracks will have the same specified manual scale:
- If you wish to apply one the same manual scale to all
BigWig
tracks in the browser - return at step 3 and set the "Apply to all WIG tracks" checkbox:
In that case, allBigWig
tracks will have the same specified manual scale. - If you wish to apply manual logarithmic scale to the track - return at step 3 and set the "Log scale" checkbox:
In that case, for the current track the logarithmic scale will be applied (see the additional label appears near the vertical axis):
To set the Auto scale:
- Click the hyperlink near the Scale label in the
BigWig
track header:
- In the list, select the Auto-scale item:
- Necessary data range will be calculated automatically and applied to the track:
- If you wish to apply logarithmic scale to the track - click the hyperlink Auto-Scale in the
BigWig
track header and set the "Log scale" checkbox:
In that case, for the current track the logarithmic scale will be applied (see the additional label appears near the vertical axis):
To set the scale for a group, select several BigWig
tracks and click the Scale item in the floating menu of selected tracks:
There are several scale modes for a group of BigWig
tracks that can be set:
Auto scale option - for each selected track separately - calculates the displayed data range automatically and apply it for the track.
Manual scale option allows to set the absolute scale range that will be applied for all selected tracks simultaneously.
Group Auto scale option - for all selected tracks simultaneously - calculates the common displayed data range automatically and apply it for all tracks.
Log scale option allows to set logarithmic scale for all selected tracks.
Example of the Auto-scale for several tracks:
Example of the Manual scale for several tracks (configuration is the same as described above):
Example of the Group Auto-scale for several tracks:
Note: BigWig
tracks with the Group Auto-scale are being colored with special indicator (near the scale axis) to let the user know which tracks have the same range applied.
NGB supports the ability to change the BigWig
track colors (depending on the value - positive/negative).
To customize colors of the BigWig
track:
- Click the General item in the track header.
- Click the Color item in the list:
- Click the color panel you wish to change, e.g.:
- Pick a color within the special control:
- Confirm changes:
- Color changes will be applied:
- If you wish to apply changed color scheme for all possible tracks in the browser - return at step 3 and set the "Apply to all tracks" checkbox.
If you wish to apply changed color scheme for all alignment tracks in the browser - return at step 3 and set the "Apply to all alignment tracks" checkbox.
If you wish to apply changed color scheme for allBigWig
tracks in the browser - return at step 3 and set the "Apply to all WIG tracks" checkbox.
Also, you can manage the colors for a group of selected BigWig
tracks. For that, use the General -> Color items in the floating menu of selected tracks:
In such case, the set color scheme will be applied only to selected tracks:
NGB supports the uploading and reading of the BedGraph
format.
Exposing the BedGraph
files to the client is in the same manner as for the BigWig
format.
For the BedGraph
files, are supported:
- common tracks' features: selection, renaming, height resizing, label font resizing
- specific features: changing of the display mode, changing of the scale mode, changing of the track color