func init() {
	fastq = sketchCmd.Flags().StringSliceP("fastq", "f", []string{}, "FASTQ file(s) to sketch (can also pipe in STDIN)")
	fasta = sketchCmd.Flags().Bool("fasta", false, "tells HULK that the input file is actually FASTA format (.fna/.fasta/.fa), not FASTQ (experimental feature)")
	windowSize = sketchCmd.Flags().UintP("windowSize", "w", 9, "minimizer window size")
	interval = sketchCmd.Flags().UintP("interval", "i", 0, "size of k-mer sampling interval (default 0 (= no interval))")
	sketchSize = sketchCmd.Flags().UintP("sketchSize", "s", 50, "size of sketch")
	decayRatio = sketchCmd.Flags().Float64P("decayRatio", "x", 1.0, "decay ratio used for concept drift (1.0 = concept drift disabled)")
	streaming = sketchCmd.Flags().Bool("stream", false, "prints the sketches to STDOUT after every interval is reached, whilst still writting them to disk (log file is redirected to disk))")
	bannerLabel = sketchCmd.Flags().StringP("bannerLabel", "b", "blank", "adds a label to the sketch object, for use with BANNER")
	addKHF = sketchCmd.Flags().Bool("khf", false, "also generate a MinHash K-Hash Functions sketch")
	addKMV = sketchCmd.Flags().Bool("kmv", false, "also generate a MinHash K-Minimum Values (bottom-k) sketch")
	sketchCmd.Flags().SortFlags = false
	RootCmd.AddCommand(sketchCmd)
}
init the command line arguments
package cmd
import (
	"fmt"
	"log"
	"os"
	"path/filepath"
	"runtime"
	"time"
	"github.com/pkg/profile"
	"github.com/spf13/cobra"
	"github.com/will-rowe/hulk/src/helpers"
	"github.com/will-rowe/hulk/src/pipeline"
	"github.com/will-rowe/hulk/src/version"
)
var (
	fastq       *[]string  
	fasta       *bool      
	windowSize  *uint      
	interval    *uint      
	sketchSize  *uint      
	decayRatio  *float64   
	streaming   *bool      
	bannerLabel *string    
	addKHF      *bool      
	addKMV      *bool      
)
var sketchCmd = &cobra.Command{
	Use:   "sketch",
	Short: "Create a sketch from a set of reads",
	Long: `
		Create a sketch from a set of reads.
		The sketch subcommand can be used to create a histosketch, minhash or count min sketch.`,
	Run: func(cmd *cobra.Command, args []string) {
		runSketch()
	},
	PreRunE: func(cmd *cobra.Command, args []string) error {
		return helpers.CheckRequiredFlags(cmd.Flags())
	},
}