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 + const Astronomical + const Version + var ErrBadFeature = Error + var ErrBadMetaLine = Error + var ErrBadMoltype = Error + var ErrBadSequence = Error + var ErrBadStrand = Error + var ErrBadStrandField = Error + var ErrBadTag = Error + var ErrCannotHeader = Error + var ErrClosed = Error + var ErrEmptyMetaLine = Error + var ErrFieldMissing = Error + var ErrNotHandled = Error + type Attribute struct + Tag string + Value string + type Attributes []Attribute + func (a Attributes) Format(fs fmt.State, c rune) + func (a Attributes) Get(tag string) string + type Error struct + func (e Error) Error() string + type Feature struct + Comments string + FeatAttributes Attributes + FeatEnd int + FeatFrame Frame + FeatScore *float64 + FeatStart int + FeatStrand seq.Strand + Feature string + SeqName string + Source string + func (g *Feature) Description() string + func (g *Feature) End() int + func (g *Feature) Len() int + func (g *Feature) Location() feat.Feature + func (g *Feature) Name() string + func (g *Feature) Start() int + type Frame int8 + const Frame0 + const Frame1 + const Frame2 + const NoFrame + func (f Frame) String() string + type Metadata struct + Date time.Time + Name string + SourceVersion string + Type feat.Moltype + Version int + type Reader struct + TimeFormat string + func NewReader(r io.Reader) *Reader + func (r *Reader) Read() (f feat.Feature, err error) + type Region struct + RegionEnd int + RegionStart int + func (r *Region) Description() string + func (r *Region) End() int + func (r *Region) Len() int + func (r *Region) Location() feat.Feature + func (r *Region) Start() int + type Sequence struct + SeqName string + Type feat.Moltype + func (s Sequence) Description() string + func (s Sequence) End() int + func (s Sequence) Len() int + func (s Sequence) Location() feat.Feature + func (s Sequence) MolType() feat.Moltype + func (s Sequence) Name() string + func (s Sequence) Start() int + type Writer struct + Precision int + TimeFormat string + Width int + func NewWriter(w io.Writer, width int, header bool) *Writer + func (w *Writer) Write(f feat.Feature) (n int, err error) + func (w *Writer) WriteComment(c string) (n int, err error) + func (w *Writer) WriteMetaData(d interface{}) (n int, err error)