sortseq

package
v0.0.0-...-d334e18 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2014 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SeqSorter

type SeqSorter struct {
	*SeqSorterOptions
	// contains filtered or unexported fields
}

func NewSeqSorter

func NewSeqSorter(reader io.Reader, opts *SeqSorterOptions) (*SeqSorter, error)

func (*SeqSorter) SortSeq

func (s *SeqSorter) SortSeq(seq Seq) (Seq, error)

func (*SeqSorter) ToString

func (s *SeqSorter) ToString() string

type SeqSorterError

type SeqSorterError struct {
	Problem string
	Where   string
}

func (*SeqSorterError) Error

func (e *SeqSorterError) Error() string

type SeqSorterOptions

type SeqSorterOptions struct {
	// contains filtered or unexported fields
}

func NewSeqSorterOptions

func NewSeqSorterOptions(b, l, p int, checkR bool) *SeqSorterOptions

type SortKey

type SortKey struct {
	Locus  string
	Sample string
}

type Store

type Store struct {
	// contains filtered or unexported fields
}

Store facilitates the storage and retrieval of sorted seqs

func NewStore

func NewStore(fileName string) (*Store, error)

func (*Store) AddSeq

func (s *Store) AddSeq(seq Seq) error

func (*Store) FetchSeqs

func (s *Store) FetchSeqs(key SortKey) []Seq

Jump to

Keyboard shortcuts

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