Versions in this module Expand all Collapse all v1 v1.0.1 Jan 31, 2017 v1.0.0 Jan 10, 2017 Changes in this version + const DefaultDepth + const DefaultShift + func MinimumDepthFor(max int64, shift uint32) (uint32, bool) + func MinimumShiftFor(max int64, depth uint32) (uint32, bool) + func WriteTo(w io.Writer, idx *Index) error + type Index struct + Auxilliary []byte + Version byte + func New(minShift, depth int) *Index + func ReadFrom(r io.Reader) (*Index, error) + func (i *Index) Add(r Record, c bgzf.Chunk, mapped, placed bool) error + func (i *Index) Chunks(rid int, beg, end int) []bgzf.Chunk + func (i *Index) MergeChunks(s index.MergeStrategy) + func (i *Index) NumRefs() int + func (i *Index) ReferenceStats(id int) (stats index.ReferenceStats, ok bool) + func (i *Index) Unmapped() (n uint64, ok bool) + type Record interface + End func() int + RefID func() int + Start func() int