cmd

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2016 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "fakit",
	Short: "FASTA kit",
	Long: `fakit -- FASTA kit

Version: 0.1.3

Author: Wei Shen <shenwei356@gmail.com>

Documents  : http://shenwei356.github.io/fakit
Source code: https://github.com/shenwei356/fakit

`,
}

RootCmd represents the base command when called without any subcommands

Functions

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 MD5

func MD5(s []byte) string

MD5 of a slice

Types

type LocationChunk

type LocationChunk struct {
	ID   uint64
	Data []LocationInfo
}

LocationChunk is LocationChunk

type LocationInfo

type LocationInfo struct {
	Record      *fasta.FastaRecord
	PatternName string
	Strand      int
	Locations   [][]int
}

LocationInfo is LocationInfo

Jump to

Keyboard shortcuts

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