closest

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package closest provides routines to find the closest sequences to a set of query sequences, by genetic distance

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Closest

func Closest(query, target io.Reader, measure string, out io.Writer, threads int) error

Closest finds the single closest sequence by genetic distance to a query/queries. It writes the results to stdout or to file. Ties for distance are broken by genome completeness

func ClosestN

func ClosestN(catchmentSize int, maxdist float64, query, target io.Reader, measure string, out io.Writer, table bool, threads int) error

ClosestN finds the closest sequence(s) by genetic distance to a query/queries. It writes the results to stdout or to file. Ties for distance are broken by genome completeness.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL