X-Git-Url: https://git.arvados.org/lightning.git/blobdiff_plain/658b6c78c625d8cd0766bb9192f33db0d5cea016..4c2919861ddfc4c48588cf3336f99efea94eee16:/cmd.go diff --git a/cmd.go b/cmd.go index 3975bf7b03..514bd1ebb4 100644 --- a/cmd.go +++ b/cmd.go @@ -10,6 +10,7 @@ import ( "io/ioutil" "os" "os/exec" + "runtime/debug" "strings" "git.arvados.org/arvados.git/lib/cmd" @@ -31,6 +32,8 @@ var ( "export-numpy": &exportNumpy{}, "flake": &flakecmd{}, "slice": &slicecmd{}, + "slice-numpy": &sliceNumpy{}, + "anno2vcf": &anno2vcf{}, "numpy-comvar": &numpyComVar{}, "filter": &filtercmd{}, "build-docker-image": &buildDockerImage{}, @@ -40,10 +43,17 @@ var ( "diff-fasta": &diffFasta{}, "stats": &statscmd{}, "merge": &merger{}, + "dump": &dump{}, "dumpgob": &dumpGob{}, }) ) +func init() { + if os.Getenv("GOGC") == "" { + debug.SetGCPercent(30) + } +} + func Main() { if !isatty.IsTerminal(os.Stderr.Fd()) { logrus.StandardLogger().Formatter = &logrus.TextFormatter{DisableTimestamp: true}