Exemple #1
0
func init() {
	runtime.GOMAXPROCS(runtime.NumCPU())
	util.FlagUse("cpu")
	util.FlagParse("database-path frag-lib-dir query-pdb-file "+
		"[query-pdb-file ...]", "")
	util.AssertLeastNArg(2)
}
Exemple #2
0
func init() {
	flag.Float64Var(&flagRmsd, "rmsd", flagRmsd,
		"The RMSD cut-off to use to determine true positives.")

	util.FlagUse("pdb-dir")
	util.FlagParse("fmap-file", "")
	util.AssertNArg(1)
}
Exemple #3
0
func init() {
	flag.StringVar(&flagFragbag, "fragbag", "fragbag",
		"The old fragbag executable.")
	flag.BoolVar(&flagOldStyle, "oldstyle", false,
		"When true, NewBowPDBOldStyle will be used to compute BOW vectors.")

	util.FlagParse(
		"library-file pdb-file [pdb-file ...]",
		"Note that if the old library and the new library don't have the\n"+
			"same number of fragments and the same fragment size, bad things\n"+
			"will happen.\n")
	util.AssertLeastNArg(2)
}
Exemple #4
0
func init() {
	util.FlagParse("frag-lib-path", "")
	util.AssertNArg(1)
}