func (i *Index) Names() []string {
	return i.refNames
}
Names returns the reference names in the index. The returned
slice should not be altered.
package tabix
import (
	"encoding/binary"
	"errors"
	"fmt"
	"io"
	"strings"
	"github.com/biogo/hts/bgzf"
	"github.com/biogo/hts/bgzf/index"
	"github.com/biogo/hts/internal"
)
type Index struct {
	Format    byte
	ZeroBased bool
	NameColumn  int32
	BeginColumn int32
	EndColumn   int32
	MetaChar rune
	Skip     int32
	refNames []string
	nameMap  map[string]int
	idx internal.Index
}
func New() *Index {
	return &Index{nameMap: make(map[string]int)}
}
func (i *Index) NumRefs() int {
	return len(i.idx.Refs)
}