Exemplo n.º 1
0
func init() {
	util.FlagUse("cpu")
	util.FlagParse("frag-lib-dir chain pdb-file out-bow",
		"Computes and outputs a BOW file for the specified chain in the\n"+
			"given PDB file. If 'out-bow' is '--', then a human readable\n"+
			"version of the BOW will be printed to stdout instead.")
	util.AssertNArg(4)
}
Exemplo n.º 2
0
func init() {
	flag.BoolVar(&flagQuiet, "quiet", flagQuiet,
		"When set, hhblits/hhmake output will be hidden.")

	util.FlagUse("seq-db")
	util.FlagParse("in-fasta-file out-hhm-file", "")
	util.AssertNArg(2)
}
Exemplo n.º 3
0
func init() {
	flag.IntVar(&flagNum, "n", flagNum, "The number of PDB entries to echo.")
	flag.BoolVar(&flagPaths, "paths", flagPaths,
		"When set, full file paths will be echoed instead of PDB ids.")

	util.FlagUse("pdb-dir")
	util.FlagParse("", "")

	rand.Seed(time.Now().UnixNano())
}
Exemplo n.º 4
0
func init() {
	flag.Float64Var(&flagThreshold, "threshold", flagThreshold,
		"The threshold at which to cut the tree.")
	flag.StringVar(&flagGobIt, "gobit", flagGobIt,
		"If set, alignment distances will be cached to the file given, "+
			"then mattbench-cluster will quit.")

	util.FlagUse("cpu", "cpuprof", "verbose")
	util.FlagParse(
		"(astral-alignment-dir | alignment-distances-gob) dendrogram-tree "+
			"out-clusters.csv",
		"Where `dendrogram-tree` is a file in Newick tree format.")
	if len(flagGobIt) > 0 {
		util.AssertNArg(1)
	} else {
		util.AssertNArg(3)
	}
}
Exemplo n.º 5
0
func init() {
	util.FlagUse("cpu", "seq-db", "pdb-hhm-db", "blits", "verbose",
		"hhfrag-min", "hhfrag-max", "hhfrag-inc")
	util.FlagParse("out-dir target-fasta", "")
	util.AssertLeastNArg(2)
}
Exemplo n.º 6
0
func init() {
	util.FlagUse("cpu")
	util.FlagParse("frag-lib-dir fmap-file out-bow", "")
	util.AssertNArg(3)
}
Exemplo n.º 7
0
func init() {
	util.FlagUse("cpu", "seq-db", "pdb-hhm-db", "blits",
		"hhfrag-min", "hhfrag-max", "hhfrag-inc")
	util.FlagParse("target-fasta out-fmap", "")
	util.AssertNArg(2)
}