Documentation ¶
Overview ¶
Package to read and write FASTA format files
Index ¶
Constants ¶
View Source
const ( IDPrefix = ">" // default delimiters SeqPrefix = "" // default delimiters )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
Fasta sequence format reader type.
func NewReaderName ¶
Returns a new fasta format reader using a filename.
type Writer ¶
type Writer struct { IDPrefix []byte SeqPrefix []byte Width int // contains filtered or unexported fields }
Fasta sequence format writer type.
func NewWriter ¶
func NewWriter(f io.WriteCloser, width int) *Writer
Returns a new fasta format writer using f.
func NewWriterName ¶
Returns a new fasta 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.