seq

package
v0.9.13 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2016 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package contains interfaces for fasta & fastq & and multi packages

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadFormater

type ReadFormater interface {
	Read() (*Seq, error)
	Format(*Seq, io.Writer) (int, error)
}

type ReadRewinder

type ReadRewinder interface {
	Read() (*Seq, error)
	ReadRaw(p []byte) (int, error)
	GetReadOffset() (int, error)
	SeekChunk(int64) (int64, error)
	Rewind() error
}

type Reader

type Reader interface {
	Read() (*Seq, error)
	ReadRaw(p []byte) (int, error)
	GetReadOffset() (int, error)
	SeekChunk(int64) (int64, error)
}

type Seq

type Seq struct {
	ID   []byte
	Seq  []byte
	Qual []byte
}

func New

func New(id []byte, seq []byte, qual []byte) *Seq

Jump to

Keyboard shortcuts

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