Documentation ¶
Index ¶
- func Ahead(query_left, query_right, subject_left, subject_right float64) bool
- func Intersect(query_left, query_right, subject_left, subject_right float64) bool
- func ParseGffAttributes(field string) ([]string, map[string]string, error)
- func SlidingEntryMeans(in BedOutputScanner, size float64, step float64) <-chan BedEntry
- func SlidingGffBpCovered(in BedOutputScanner, size float64, step float64) <-chan BedEntry
- func SlidingGffBpCoveredFull(inconn io.Reader, outconn io.Writer, size float64, step float64) error
- func SlidingGffEntryCount(in BedOutputScanner, size float64, step float64) <-chan BedEntry
- func SlidingGffEntryCountFull(inconn io.Reader, outconn io.Writer, size float64, step float64) error
- func SlidingMeans(inconn io.Reader, outconn io.Writer, size float64, step float64)
- func SlidingSyncSums(inconn io.Reader, outconn io.Writer, size float64, step float64)
- func WriteEntry(w io.Writer, b BedEntry) error
- type BedEntry
- type BedEntryScanner
- type BedOutputScanner
- type BedScanner
- type GffFields
- type GffScanner
- type LineWriter
- type Slider
- func (s *Slider) AddAllUnused()
- func (s *Slider) Mean() (float64, error)
- func (s *Slider) MeanEntry() (BedEntry, error)
- func (s *Slider) RemoveOlds()
- func (s *Slider) ScanOne() (keepGoing bool)
- func (s *Slider) Step() bool
- func (s *Slider) Sum() (float64, error)
- func (s *Slider) WriteWindow(w LineWriter)
- func (s *Slider) WriteWindowSum(w LineWriter)
- type SyncScanner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseGffAttributes ¶
func SlidingEntryMeans ¶
func SlidingEntryMeans(in BedOutputScanner, size float64, step float64) <-chan BedEntry
func SlidingGffBpCovered ¶
func SlidingGffBpCovered(in BedOutputScanner, size float64, step float64) <-chan BedEntry
func SlidingGffBpCoveredFull ¶
func SlidingGffEntryCount ¶
func SlidingGffEntryCount(in BedOutputScanner, size float64, step float64) <-chan BedEntry
func SlidingMeans ¶
func SlidingSyncSums ¶
Types ¶
type BedEntryScanner ¶
func NewBedEntryScanner ¶
func NewBedEntryScanner(channel <-chan BedEntry) *BedEntryScanner
func (*BedEntryScanner) Entry ¶
func (s *BedEntryScanner) Entry() BedEntry
func (*BedEntryScanner) Scan ¶
func (s *BedEntryScanner) Scan() bool
type BedOutputScanner ¶
type BedScanner ¶
func NewBedReaderScanner ¶
func NewBedReaderScanner(r io.Reader) *BedScanner
func NewBedScanner ¶
func NewBedScanner(s *fasttsv.Scanner) *BedScanner
func (*BedScanner) Entry ¶
func (s *BedScanner) Entry() BedEntry
func (*BedScanner) Scan ¶
func (s *BedScanner) Scan() bool
type GffScanner ¶
type GffScanner struct {
// contains filtered or unexported fields
}
func NewGffScanner ¶
func NewGffScanner(r io.Reader) *GffScanner
func (*GffScanner) Entry ¶
func (s *GffScanner) Entry() BedEntry
func (*GffScanner) Error ¶
func (s *GffScanner) Error() error
func (*GffScanner) Line ¶
func (s *GffScanner) Line() []string
func (*GffScanner) Scan ¶
func (s *GffScanner) Scan() bool
type LineWriter ¶
type LineWriter interface {
Write([]string)
}
type Slider ¶
type Slider struct { Chrom string Left float64 Mid float64 Right float64 Size float64 StepLen float64 Items *list.List Scanner BedOutputScanner Unused *list.List StartingChrom bool DoneReading bool DoneOutputting bool }
func (*Slider) AddAllUnused ¶
func (s *Slider) AddAllUnused()
func (*Slider) RemoveOlds ¶
func (s *Slider) RemoveOlds()
func (*Slider) WriteWindow ¶
func (s *Slider) WriteWindow(w LineWriter)
func (*Slider) WriteWindowSum ¶
func (s *Slider) WriteWindowSum(w LineWriter)
type SyncScanner ¶
func NewSyncScanner ¶
func NewSyncScanner(s *fasttsv.Scanner) *SyncScanner
func (*SyncScanner) Entry ¶
func (s *SyncScanner) Entry() BedEntry
func (*SyncScanner) Scan ¶
func (s *SyncScanner) Scan() bool
Click to show internal directories.
Click to hide internal directories.