Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BufferSize = 65536 // os.Getpagesize()
BufferSize is size of buffer
View Source
var RootCmd = &cobra.Command{ Use: "lexicmap", Short: "efficient sequence alignment against millions of microbial genomes", Long: fmt.Sprintf(` Program: LexicMap: efficient sequence alignment against millions of microbial genomes Version: v%s Documents: https://bioinf.shenwei.me/LexicMap Source code: https://github.com/shenwei356/LexicMap `, VERSION), }
RootCmd represents the base command when called without any subcommands
View Source
var Strands = [2]byte{'+', '-'}
Strands could be used to output strand for a reverse complement flag
View Source
var VERSION = "0.1.0"
VERSION is the version
Functions ¶
func Combinations2 ¶
Note: set should not have duplicates
func Execute ¶
func Execute()
Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func IntSlice2StringSlice ¶
Types ¶
type Options ¶
type Options struct {
NumCPUs int
Verbose bool
LogFile string
Log2File bool
Compress bool
CompressionLevel int
}
Options contains the global flags
type Query ¶
type Query struct {
// contains filtered or unexported fields
}
Query is an object for each query sequence, it also contains the query result.
type Uint64Slice ¶
type Uint64Slice []uint64
func (Uint64Slice) Len ¶
func (s Uint64Slice) Len() int
func (Uint64Slice) Less ¶
func (s Uint64Slice) Less(i, j int) bool
func (*Uint64Slice) Pop ¶
func (s *Uint64Slice) Pop() interface{}
func (*Uint64Slice) Push ¶
func (s *Uint64Slice) Push(x interface{})
func (Uint64Slice) Swap ¶
func (s Uint64Slice) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.