← 3.2. MySQL commands for data management ↑ Index 4.2. bigWig Format →

BED Tracks

BED Tracks are tracks for discrete signals across the entire genome. The signals are grouped by units. All units can have directions (relative to the genome), overlap with one another, have multiple segments, and/or have additional values associated with them.

BED Tracks are suitable for displaying elements such as genes, variations, regulatory elements, repeats, etc.

Data Format

Currently GIVE supports importing BED files with scripts into its data source.

The description of BED file can be seen from the UCSC Genome Browser site. A brief explanation of all fields is provided here.

BED files are text files with 3-12 fields separated by spaces or tabs (consecutive whitespaces are treated as one and empty fields must be filled with a "."). Field orders are important.

The following 3 fields are required for a BED entry:

chrom - The name of the chromosome.
chromStart - The starting position (0-based) of the entry in the chromosome.
chromEnd - The ending position of the entry in the chromosome. This base should not be included in the entry.

The 9 additional optional BED fields are:

name - Defines the name of the BED entry. This label is displayed to the left of the BED entry if there is enough space, otherwise it will be shown at the left end of the graph. See Display Modes for details about whether and where this will be shown in different modes.
score - A score between 0 and 1000. This is used for compatibility purposes and is currently not used in GIVE.
strand - Defines the strand of the entry. Use "+" for positive strand, "-" for negative strand and "." for strand-less entries. (GIVE extension: 1 or 0 can also be used to indicate positive or negative strands, respectively.)
thickStart - If this entry has a thick region (for example, exons for genes), this can be used to define the starting position of such a thick region. If omitted, thickStart will be set to the same value as chromStart.
thickEnd - The ending position of the thick region.
itemRGB - An RGB value of the form R,G,B (e.g. 255,0,0). This field is currently for compatibility purposes only and will be used to indicate the color for the entry in a future update.
blockCount - The number of blocks (exons) in this entry.
blockSizes - A list of block sizes separated by comma. The number of items in this list should equal to blockCount.
blockStarts - A list of block starts separated by comma. The positions should be relative to chromStart (therefore, the first item is typically 0). The number of items in this list should equal to blockCount.

Display Modes

BED tracks can be displayed in the following modes by setting the visibility property of the track. Available settings are listed below, from the most detailed to the least:

The display modes of tracks can be changed adaptively by setting the adaptive property of the track. If adaptive is set to true, GIVE will attempt to use the display mode that can show the most detail while keeps the total number of lines not exceeding a given value (currently at 12, will be customizable in a future update).

Supported Settings

The following settings of tracks are available for BED track:

Supported Metadata

Currently the tracks in GIVE can have properties used to store meta data of the track. The following meta data entries are used in filtering ENCODE tracks and will be expanded to support all tracks in a future update:

     
← 3.2. MySQL commands for data management ↑ Index 4.2. bigWig Format →