Selecting a graphing track data format: Difference between revisions
(added info about bigBed and bigWig) |
(add reference to big* paper) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
There are several different types of data submission formats to enable drawing graphs on the genome browser. The structure of the data should be considered in order to select the appropriate type of data format. | There are several different types of data submission formats to enable drawing graphs on the genome browser. The structure of the data should be considered in order to select the appropriate type of data format. | ||
Proper selection of the data format is important to avoid very large data submission files and to allow efficient display in the genome browser. Proper selection of graphing options is critical to portray accurately the intended meaning in the data. | Proper selection of the data format is important to avoid very large data submission files and to allow efficient display in the genome browser. Proper selection of graphing options is critical to portray accurately the intended meaning in the data. | ||
==bigWig/bigBed== | |||
See also: [http://bioinformatics.oxfordjournals.org/content/26/17/2204.short Bioinformatics vol 26 no 17 pp 2204-2207] | |||
The bigWig and bigBed data types have become (mid-2009) a better option than the data | |||
types mentioned below. It is highly recommended to use the bigWig/bigBed data formats | |||
in place of the types mentioned below. See also: [http://genome.ucsc.edu/goldenPath/help/bigBed.html bigBed] | |||
documentation and: [http://genome.ucsc.edu/goldenPath/help/bigWig.html bigWig] documentation. | |||
These encoding formats overcome the limitation of sending very large data sets to UCSC. | |||
The bigWig encoder overcomes previous limitations in the wiggle encoding scheme and | |||
is efficient with sparse data sets, or data sets with variable sized data points. | |||
If you have such a large data set that the upload is timing out, you should use these alternatives. | |||
Your large data set remains on your web server and only the portions of the files needed to display a particular region are transferred to UCSC. The bigBed and bigWig formats are much more efficient than their bed/wig equivalents. | |||
==Genome Graphs== | ==Genome Graphs== | ||
Line 41: | Line 56: | ||
# Obsolete data format, use the Bed Graph instead | # Obsolete data format, use the Bed Graph instead | ||
Line 55: | Line 67: | ||
# See also: [[Wiggle_BED_to_variableStep_format_conversion|Wiggle Bed to variableStep]] format conversion | # See also: [[Wiggle_BED_to_variableStep_format_conversion|Wiggle Bed to variableStep]] format conversion | ||
[[Category:Technical FAQ]] | [[Category:Technical FAQ]] [[Category:Custom tracks]] [[Category:Browser Linked]] |
Latest revision as of 16:59, 24 June 2011
Introduction
There are several different types of data submission formats to enable drawing graphs on the genome browser. The structure of the data should be considered in order to select the appropriate type of data format. Proper selection of the data format is important to avoid very large data submission files and to allow efficient display in the genome browser. Proper selection of graphing options is critical to portray accurately the intended meaning in the data.
bigWig/bigBed
See also: Bioinformatics vol 26 no 17 pp 2204-2207
The bigWig and bigBed data types have become (mid-2009) a better option than the data types mentioned below. It is highly recommended to use the bigWig/bigBed data formats in place of the types mentioned below. See also: bigBed documentation and: bigWig documentation. These encoding formats overcome the limitation of sending very large data sets to UCSC. The bigWig encoder overcomes previous limitations in the wiggle encoding scheme and is efficient with sparse data sets, or data sets with variable sized data points.
If you have such a large data set that the upload is timing out, you should use these alternatives. Your large data set remains on your web server and only the portions of the files needed to display a particular region are transferred to UCSC. The bigBed and bigWig formats are much more efficient than their bed/wig equivalents.
Genome Graphs
- Draws line graph through specified chromosome positions
- Best used for genome-wide sparse data points (sparse == less than three hundred thousand)
- Not recommend for dense data sets (dense == values closer than 100,000 bases to each other)
- See also: Genome Graphs
Bed Graph
- Draws bar graph at specified chromosome segment region
- Best used for genome-wide data sets on the order of several million to perhaps 10 million positions
- Best used when data is not spaced at regular intervals, and the size of the specified regions is not a constant
- See also: Bed Graph
Wiggle Variable Step
- Draws bar graph at specified chromosome segment region
- Best used for genome-wide data sets on the order of several 10's of million data points
- Specified regions must be a constant size (specified by the span argument)
- Chromosome positions can be at irregular intervals, but caution is advised in certain cases
- This is the second most efficient space format for wiggle data input
- This format can be inefficient during encoding and display if the irregular spacing of the data points is just too extreme. In this case, the Bed Graph is the backup format.
- See also: Wiggle Formats
Wiggle Fixed Step
- Draws bar graph at specified chromosome segment region
- Best used for genome-wide data sets on the order of several 10's of million data points
- Specified regions must be a constant size (specified by the span argument)
- Chromosome positions are precisely at regular intervals (specified by step argument)
- This is the most efficient space format for wiggle data input
- See also: Wiggle Formats
Wiggle Bed Graph
- Obsolete data format, use the Bed Graph instead
Notes
- Data sets with more than 100 million data points are impractical due to network transmission time and data transformation and database loading times. Larger sets of data can be attempted, but are not guaranteed to survive the various time-out mechanisms in the pipeline. The visible symptom of a timeout during loading will be a blank WEB browser screen. If this happens to you, consider converting your data into bigWig or bigBed format.
- It does help to compress (gzip) the submitted data file, resulting in a better network transmission time.
- Pseudo line graphs can be drawn with the wiggle tracks by setting optional drawing parameters in the display of the track to draw points instead of bars with smoothing on to smear the points together into a line.
- Beware of optional data graphing parameters when viewing the resulting data track. The selection of windowingFunction, viewLimits, autoScaling, etc... can dramatically change the apparent meaning of the data display.
- There is no graphing format that draws multiple data values at identical chromosome locations. The loading mechanism does attempt to prevent this situation, but not all cases of overlapping data values can be detected. If multiple data values at identical chromosome locations sneak under the detection mechanisms, graphing behavior is not guaranteed.
- See also: Wiggle Bed to variableStep format conversion