Versions in this module Expand all Collapse all v1 v1.0.1 Feb 16, 2017 v1.0.0 Jan 5, 2017 Changes in this version + func BaseOrientationOf(f Feature) (ori Orientation, ref Feature) + func OneToZero(pos int) int + func PositionWithin(f, ref Feature, position int) (pos int, ok bool) + func ZeroToOne(pos int) int + type Adder interface + Add func(...Feature) + type Collection interface + Location func() Feature + type Conformation int8 + const Circular + const Linear + const UndefinedConformation + func (c Conformation) String() string + type Conformationer interface + Conformation func() Conformation + SetConformation func(Conformation) error + type Feature interface + Description func() string + Location func() Feature + Name func() string + func BasePositionOf(f Feature, position int) (int, Feature) + type LocationSetter interface + SetLocation func(Feature) error + type Moltype int8 + const DNA + const Protein + const RNA + const Undefined + func ParseMoltype(s string) Moltype + func (m Moltype) String() string + type Mutable interface + SetEnd func(int) error + SetStart func(int) error + type Offsetter interface + SetOffset func(int) error + type OrientSetter interface + SetOrientation func(Orientation) error + type Orientation int8 + const Forward + const NotOriented + const Reverse + func OrientationWithin(f, ref Feature) Orientation + func (o Orientation) String() string + type Orienter interface + Orientation func() Orientation + type Pair interface + Features func() [2]Feature + type Range interface + End func() int + Len func() int + Start func() int + type Set interface + Features func() []Feature