fastq

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: 7 Imported by: 0

Documentation

Overview

Package to read and write FASTQ format files

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

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

Fastq sequence format reader type.

func NewReader

func NewReader(r io.Reader, t seqio.SequenceAppender) *Reader

Returns a new fastq format reader using r.

func (*Reader) Read

func (self *Reader) Read() (s seq.Sequence, err error)

Read a single sequence and return it or an error. TODO: Does not read multi-line fastq.

type Writer

type Writer struct {
	QID bool // Include ID on +lines
	// contains filtered or unexported fields
}

Fastq sequence format writer type.

func NewWriter

func NewWriter(w io.Writer) *Writer

Returns a new fastq format writer using w.

func (*Writer) Write

func (self *Writer) Write(s seqio.Sequence) (n int, err error)

Write a single sequence and return the number of bytes written and any error.

Jump to

Keyboard shortcuts

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