feat

package
v0.0.0-...-25502c3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2012 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Basic Feature package

Index

Constants

This section is empty.

Variables

View Source
var StringFunc = defaultStringFunc

Return the canonical string conversion of the Feature - for particulat formats, use bio/io/featio/ packages.

Functions

This section is empty.

Types

type Feature

type Feature struct {
	ID          string
	Source      string
	Location    string
	Start       int
	End         int
	Feature     string
	Score       *float64
	Probability *float64
	Attributes  string
	Comments    string
	Frame       int8
	Strand      int8
	Moltype     bio.Moltype
	Meta        interface{}
}

Feature type

func New

func New(ID string) *Feature

Return a new Feature

func (*Feature) Len

func (self *Feature) Len() int

Return the length of a Feature

func (*Feature) MoltypeAsString

func (self *Feature) MoltypeAsString() string

Return the molecule type of the Feature

func (*Feature) String

func (self *Feature) String() string

type FeatureSet

type FeatureSet []*Feature

func (FeatureSet) Add

func (self FeatureSet) Add(f *Feature) (g FeatureSet)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL