Documentation ¶
Overview ¶
Package bed provides types to read and write BED format files according to the UCSC specification.
The specification can be found at http://genome.ucsc.edu/FAQ/FAQformat.html#format1.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBadBedType = errors.New("bed: bad bed type") ErrBadStrandField = errors.New("bad strand field") ErrBadStrand = errors.New("invalid strand") ErrBadColorField = errors.New("bad color field") ErrMissingBlockValues = errors.New("missing block values") ErrNoChromField = errors.New("no chrom field available") )
Functions ¶
This section is empty.
Types ¶
type Bed12 ¶
type Bed12 struct { Chrom string ChromStart int ChromEnd int FeatName string FeatScore int FeatStrand seq.Strand ThickStart int ThickEnd int Rgb color.RGBA BlockCount int BlockSizes []int BlockStarts []int }
func (*Bed12) Description ¶
func (*Bed12) Orientation ¶
func (b *Bed12) Orientation() feat.Orientation
type Bed3 ¶
func (*Bed3) Description ¶
type Bed4 ¶
func (*Bed4) Description ¶
type Bed5 ¶
func (*Bed5) Description ¶
type Bed6 ¶
type Bed6 struct { Chrom string ChromStart int ChromEnd int FeatName string FeatScore int FeatStrand seq.Strand }
func (*Bed6) Description ¶
func (*Bed6) Orientation ¶
func (b *Bed6) Orientation() feat.Orientation
type Reader ¶
type Reader struct { BedType int // contains filtered or unexported fields }
BED format reader type.
Click to show internal directories.
Click to hide internal directories.