19073: Fix dup tag detection.
[lightning.git] / cmd.go
diff --git a/cmd.go b/cmd.go
index 3975bf7b0348aff8a84b99712e83758813a79ede..b6c28f4deb35dbdd180b3804d9b694132d51c8af 100644 (file)
--- 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,9 @@ var (
                "export-numpy":       &exportNumpy{},
                "flake":              &flakecmd{},
                "slice":              &slicecmd{},
+               "slice-numpy":        &sliceNumpy{},
+               "tiling-stats":       &tilingStats{},
+               "anno2vcf":           &anno2vcf{},
                "numpy-comvar":       &numpyComVar{},
                "filter":             &filtercmd{},
                "build-docker-image": &buildDockerImage{},
@@ -40,10 +44,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}