Documentation ¶
Overview ¶
Tabix queries for go
Tabix queries for go
Index ¶
- func NewCSI(r io.Reader) (cIndex, error)
- type Bix
- func (tbx *Bix) AddInfoToHeader(id, number, vtype, desc string)
- func (tbx *Bix) ChunkedReader(chrom string, start, end int) (io.ReadCloser, error)
- func (b *Bix) Close() error
- func (tbx *Bix) FastQuery(region interfaces.IPosition) (interfaces.RelatableIterator, error)
- func (tbx *Bix) GetHeaderDescription(field string) string
- func (tbx *Bix) GetHeaderNumber(field string) string
- func (tbx *Bix) GetHeaderType(field string) string
- func (tbx *Bix) Query(region interfaces.IPosition) (interfaces.RelatableIterator, error)
- type Index
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bix ¶
Bix provides read access to tabix files.
func NewGCP ¶
NewGCP returns a &Bix from either on-disk files or, if a GCP client is specified and the .vcf file begins with 'gs://', from a Google Storage object connection that simulates seeking capabilities.
func (*Bix) AddInfoToHeader ¶
func (*Bix) ChunkedReader ¶
func (*Bix) FastQuery ¶
func (tbx *Bix) FastQuery(region interfaces.IPosition) (interfaces.RelatableIterator, error)
FastQuery allows extracting intervals from an indexed file. Use this function if concurrency is *not* required, otherwise use Query
func (*Bix) GetHeaderDescription ¶
func (*Bix) GetHeaderNumber ¶
func (*Bix) GetHeaderType ¶
func (*Bix) Query ¶
func (tbx *Bix) Query(region interfaces.IPosition) (interfaces.RelatableIterator, error)
Query allows extracting intervals from an indexed file. Use this function if concurrency is required, otherwise use FastQuery
Click to show internal directories.
Click to hide internal directories.