Documentation ¶
Index ¶
- func GetBest(mets map[metrics.Metric][]float64, wins []Window, stop int, largeCore bool) map[metrics.Metric]Window
- func GetBestN(mets map[metrics.Metric][]float64, wins []Window, stop int, largeCore bool, ...) map[metrics.Metric][]Window
- func UseFullRange(bestWindow Window, aln *nexus.Alignment, chars []byte) bool
- type Window
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Window ¶
type Window [2]int
Window is an inclusive window into a UCE
func ExtendCandidate ¶
func GenerateCandidates ¶
GenerateCandidates produces candidate windows of minimum size spanning the total length with a minimum/2 overlap Windows must be:
- at least minimum window from the start of the UCE (ie, first start at minimum+1)
- at least minimum window from the end of the UCE (ie, last end at length-minimum+1)
- at least minimum window in length (ie, window{start, end)})
Input is treated inclusively, but returned with exclusive stop indexes
func GenerateWindows ¶
GenerateWindows produces windows of at least a minimum size given a total length Windows must be:
- at least minimum window from the start of the UCE (ie, first start at minimum+1)
- at least minimum window from the end of the UCE (ie, last end at length-minimum+1)
- at least minimum window in length (ie, window{start, end)})
Input is treated inclusively, but returned with exclusive stop indexes
Click to show internal directories.
Click to hide internal directories.