package
Version:
v0.0.0-...-25502c3
Opens a new window with list of versions in this module.
Published: Oct 9, 2012
License: GPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package to read and write FASTA format files
View Source
const (
DefaultIDPrefix = ">"
DefaultSeqPrefix = ""
)
Default delimiters.
type Reader struct {
IDPrefix []byte
SeqPrefix []byte
}
Fasta sequence format reader type.
Returns a new fasta format reader using f.
Read a single sequence and return it or an error.
type Writer struct {
IDPrefix []byte
SeqPrefix []byte
Width int
}
Fasta sequence format writer type.
Returns a new fasta format writer using f.
Write a single sequence and return the number of bytes written and any error.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.