package biocaml
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=fae219e66db06f81f3fd7d9e44717ccf2d6d85701adb12004ab4ae6d3359dd2d
sha512=f6abd60dac2e02777be81ce3b5acdc0db23b3fa06731f5b2d0b32e6ecc9305fe64f407bbd95a3a9488b14d0a7ac7c41c73a7e18c329a8f18febfc8fd50eccbc6
doc/biocaml.unix/Biocaml_unix/Track/index.html
Module Biocaml_unix.Track
Source
Track files in UCSC Genome Browser format. The following documentation assumes knowledge of concepts explained on the UCSC Genome Browser's website. Basically, a track file is one of several types of data (WIG, GFF, etc.), possibly preceded by comments, browser lines, and a track line. This module allows only a single data track within a file, although the UCSC specifies that multiple tracks may be provided together.
Track lines define display attributes. They can be thought of as lists of attribute-value pairs. For forward compatibility, this module allows arbitrary attributes to be set. However, the following lists known attributes and specifies restrictions on their values:
name
- string enclosed in double quotes if there are spaces; recommended to use only alphanumeric characters and length less than 15 characters but this is not enforceddescription
- string enclosed in double quotes if there are spaces; recommended to use only alphanumeric characters and length less than 60 characters but this is not enforcedvisibility
- "hide", "dense", "full", "pack", or "squish"; iftype=wiggle_0
then "hide", "dense", or "full"; can also use integer value where 0 = "hide", 1 = "dense", 2 = "full", 3 = "pack", 4 = "squish"color
- "R,G,B" where each of R, G, and B are integers between 0 and 255altColor
- "R,G,B" where each of R, G, and B are integers between 0 and 255itemRgb
- "On" is the only allowed valueuseScore
- 0 or 1group
- stringpriority
- integerautoScale
- "on" or "off"gridDefault
- "on" or "off"maxHeightPixels
- "max:default:min" where each of max, default, and min are integersgraphType
- "bar" or "points"viewLimits
- "lower:upper" where each of lower and upper are integersyLineMark
- floating point valueyLineOnOff
- "on" or "off"windowingFunction
- "maximum", "mean", or "minimum"smoothingWindow
- "off" or an integer between 2 and 16db
- should be a valid UCSC assembly ID, but currently any string is acceptedoffset
- integerurl
- stringhtmlUrl
- stringtype
- "wiggle_0" is the only value currently supported, leaving this attribute unset handles other track types
Item Types
type t = [
| `track of (string * string) list
| `comment of string
| `browser of [ `position of string * int * int | `hide of [ `all ] | `unknown of string ]
]
The type of the parser "track" lines.
The "content" lines of the files.