Documentation ¶
Index ¶
Constants ¶
View Source
const ( FASTA_LINE_LEN = 80 // max line length for fasta output FASTA_INITIAL_NB = 2 // max line length for fasta output )
View Source
const (
FASTA_LINE = 80
)
Variables ¶
This section is empty.
Functions ¶
func WriteAlignment ¶
func WriteSequences ¶ added in v0.1.1
Write input alignment as standard fasta sequences It removes "-" characters.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser represents a parser.
func (*Parser) ParseUnalign ¶ added in v0.3.0
ParseUnalign parses an unaligned FASTA file
func (*Parser) SetIgnoreLength ¶
If true: then the parser won't complain if sequences do not have the same length (unaligned fasta file) Will break all functions that are specific to aligned sequences: to be used with caution
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
Scanner represents a lexical scanner.
func NewScanner ¶
NewScanner returns a new instance of Scanner.
Click to show internal directories.
Click to hide internal directories.