What is wrong???
internal/index.go line 132
// Record interval tile information.
biv := r.Start() / TileWidth
if r.Start() < i.LastRecord {
return errors.New("index: attempt to add record out of position sort order")
}
i.LastRecord = r.Start()
eiv := r.End() / TileWidth
if eiv == len(ref.Intervals) {
if eiv > biv {
panic("index: unexpected alignment length")
}
ref.Intervals = append(ref.Intervals, c.Begin)
} else if eiv > len(ref.Intervals) {
intvs := make([]bgzf.Offset, eiv)
if len(ref.Intervals) > biv {