Documentation ¶
Overview ¶
Package to read and write FASTQ format files
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Regex = regexp.MustCompile(`^[\n\r]*@[\S\t ]+[\n\r]+[A-Za-z\-]+[\n\r]+\+[\S\t ]*[\n\r]+\S*[\n\r]+`)
)
Functions ¶
func NewReader ¶
func NewReader(f file.SectionReader) seq.ReadRewinder
Returns a new fastq format reader using r.
func NewReaderName ¶
func NewReaderName(name string) (r seq.ReadRewinder, err error)
Returns a new fastq format reader using a filename.
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Fastq sequence format reader type.
func (*Reader) GetReadOffset ¶
Read a single sequence and return read offset for indexing.
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Fastq sequence format writer type.
func NewWriter ¶
func NewWriter(f io.WriteCloser) *Writer
Returns a new fastq format writer using w.
func NewWriterName ¶
Returns a new fastq format writer using a filename, truncating any existing file. If appending is required use NewWriter and os.OpenFile.
Click to show internal directories.
Click to hide internal directories.