Documentation
¶
Index ¶
Constants ¶
View Source
const ( AMINOACIDS = 0 // Amino acid sequence alphabet NUCLEOTIDS = 1 // Nucleotid sequence alphabet )
Variables ¶
This section is empty.
Functions ¶
func DetectAlphabet ¶
func NewSequence ¶
Types ¶
type Alignment ¶
type Alignment interface {
AddSequence(name string, sequence string, comment string) error
GetSequence(name string) (string, bool)
Iterate(it func(name string, sequence string))
NbSequences() int
Length() int
ShuffleSequences()
ShuffleSites(rate float64)
Sample(nb int) (Alignment, error)
BuildBootstrap() Alignment
Recombine(rate float64)
}
Click to show internal directories.
Click to hide internal directories.