Beispiel #1
0
func (c *Variant) Alt() []string {
	if c._alt == nil {
		c._alt = make([]string, c.v.n_allele-1)
		for i := 1; i < int(c.v.n_allele); i++ {
			c._alt[i-1] = C.GoString(C.allele_i(c.v, C.int(i)))
		}
	}
	return c._alt
}
Beispiel #2
0
func (c *Variant) Ref() string {
	return C.GoString(C.allele_i(c.v, 0))
}