Documentation
¶
Index ¶
Constants ¶
const ( FASTA_LINE_LEN = 80 // max line length for fasta output FASTA_INITIAL_NB = 2 // max line length for fasta output )
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. If ignore is align.IGNORE_NONE: Does not ignore anything If ignore is align.IGNORE_NAME: Ignore sequences having the same name (keep the first one whatever their sequence) If ignore is align.IGNORE_SEQUENCE: Ignore sequences having the same name and the same sequence Otherwise, sets IGNORE_NONE
func (*Parser) IgnoreIdentical ¶ added in v0.3.1
If sets to true, then will ignore duplicate sequences that have the same name and the same sequence Otherwise, it just renames them just as the sequences that have same name and different sequences
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
Scanner represents a lexical scanner.
func NewScanner ¶
NewScanner returns a new instance of Scanner.