Documentation ¶
Index ¶
- func ChromSizes(genome string) error
- func CigarToCoords(cigar sam.Cigar, offset int) ([]int, []int)
- func IterBed12(fn string) (<-chan *Bed12, error)
- func IterBed6(fn string) (<-chan *Bed6, error)
- func IterBedLines(fn string) (<-chan string, error)
- func RC(s string) string
- type Bed12
- func (b *Bed12) BlockCount() int
- func (b *Bed12) BlockSizes() []int
- func (b *Bed12) BlockStarts() []int
- func (b *Bed12) CDS() (*Bed12, error)
- func (b *Bed12) Chr() string
- func (b *Bed12) End() int
- func (b *Bed12) Exons() ([]*Bed6, error)
- func (b *Bed12) Id() string
- func (b *Bed12) Introns() ([]*Bed6, error)
- func (b *Bed12) ItemRgb() string
- func (b *Bed12) Score() float64
- func (b *Bed12) Start() int
- func (b *Bed12) Strand() string
- func (b *Bed12) String() string
- func (b *Bed12) ThickEnd() int
- func (b *Bed12) ThickStart() int
- func (b *Bed12) UTR3() (*Bed12, error)
- func (b *Bed12) UTR5() (*Bed12, error)
- type Bed3
- type Bed3i
- type Bed4
- type Bed6
- type Bed6i
- type BedI
- type BinIndex
- type BinIndexMap
- func (d *BinIndexMap) Delete(b NamedBedI) error
- func (c *BinIndexMap) Insert(b NamedBedI) error
- func (c *BinIndexMap) Load(b []NamedBedI) error
- func (d *BinIndexMap) Query(b BedI) (<-chan NamedRangeI, error)
- func (d *BinIndexMap) QueryRegion(chr string, start int, end int) (<-chan NamedRangeI, error)
- type Db
- type NamedBedI
- type NamedRangeI
- type RangeI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChromSizes ¶ added in v0.0.3
func CigarToCoords ¶ added in v0.0.3
TODO TEST
func IterBedLines ¶
IterBedLines: input format could be bigbed,gzip and ascii text file or \S+:\d+-\d+
Types ¶
type Bed12 ¶
type Bed12 struct {
// contains filtered or unexported fields
}
func ParseBed12 ¶
func SamRecordToBed12 ¶ added in v0.0.3
func (*Bed12) BlockCount ¶
func (*Bed12) BlockSizes ¶
func (*Bed12) BlockStarts ¶
func (*Bed12) ThickStart ¶
type Bed3i ¶
func ParseRegion ¶ added in v0.0.3
type BinIndex ¶ added in v0.0.3
type BinIndex map[int][]NamedRangeI
type BinIndexMap ¶ added in v0.0.3
func NewBinIndexMap ¶ added in v0.0.3
func NewBinIndexMap() *BinIndexMap
func (*BinIndexMap) Delete ¶ added in v0.0.3
func (d *BinIndexMap) Delete(b NamedBedI) error
TODO Delete
func (*BinIndexMap) Insert ¶ added in v0.0.3
func (c *BinIndexMap) Insert(b NamedBedI) error
func (*BinIndexMap) Load ¶ added in v0.0.3
func (c *BinIndexMap) Load(b []NamedBedI) error
func (*BinIndexMap) Query ¶ added in v0.0.3
func (d *BinIndexMap) Query(b BedI) (<-chan NamedRangeI, error)
func (*BinIndexMap) QueryRegion ¶ added in v0.0.3
func (d *BinIndexMap) QueryRegion(chr string, start int, end int) (<-chan NamedRangeI, error)
type Db ¶ added in v0.0.3
type Db struct {
// contains filtered or unexported fields
}
type NamedRangeI ¶ added in v0.0.3
Source Files ¶
Click to show internal directories.
Click to hide internal directories.