Documentation ¶
Overview ¶
Package bigWig is used to process bigwig files which are binary compressed data to provide a visual of aligned sequencing data
Index ¶
Constants ¶
View Source
const BigWigMagic = 0x888FFC26
TODO not a completly finished project
Variables ¶
This section is empty.
Functions ¶
func MagicBigWig ¶
func MagicBigWig(reader *BigWigReader) bool
Types ¶
type BigWigReader ¶
type BigWigReader struct { io.ReadSeeker // contains filtered or unexported fields }
func NewReader ¶
func NewReader(filename string) *BigWigReader
func (*BigWigReader) Close ¶
func (reader *BigWigReader) Close() error
type Wig ¶
type Wig struct { StepType string `bin:"len:2"` Chrom string `bin:"len:4"` Start int `bin:"len:4"` Step int `bin:"len:4"` Span int `bin:"len:4"` Val []float64 `bin:"len:4"` }
Wig contains chromosome location and step properties of Wig data. Individual wig values are stored in the underlying WigValue struct
Click to show internal directories.
Click to hide internal directories.