fasta

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: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FastaReader

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

func NewFastaReader

func NewFastaReader(reader *bufio.Reader) *FastaReader

func (*FastaReader) HasNext

func (f *FastaReader) HasNext() bool

Returns whether or not there is another sequence to be grabbed. Used for iteration.

func (*FastaReader) Next

func (f *FastaReader) Next() (int, FastaSeq)

Gets the next index and sequence when iterating

type FastaSeq

type FastaSeq struct {
	Header string
	Seq    string
}

Jump to

Keyboard shortcuts

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