Documentation ¶
Overview ¶
Package bed is a library for parsing and representing BED files. See https://genome.ucsc.edu/FAQ/FAQformat.html#format1
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // Strand forward. SF = utils.Intern("+") // Strand reverse. SR = utils.Intern("-") )
Symbols for optional strand field of a Region.
Functions ¶
Types ¶
type Bed ¶
Bed represents the contents of a BED file. See https://genome.ucsc.edu/FAQ/FAQformat.html#format1 It maps chromosome names onto bed regions. utils.Symbol -> []*Region
func ParseBed ¶
ParseBed parses a BED file. See https://genome.ucsc.edu/FAQ/FAQformat.html#format1
type Region ¶
A Region is a struct for representing intervals as defined in a BED file. See https://genome.ucsc.edu/FAQ/FAQformat.html#format1
func NewRegion ¶
NewRegion allocates and initializes a new Region. Optional fields are given in order. If a "later" field is entered, then the "earlier" field was entered as well. See https://genome.ucsc.edu/FAQ/FAQformat.html#format1