diff --git a/python/snpSelector.py b/python/snpSelector.py index 16f230e04..e01725e3e 100755 --- a/python/snpSelector.py +++ b/python/snpSelector.py @@ -615,6 +615,12 @@ def main(): fields = OPTIONS.fields.split(',') truthVCF = None + #print("LENGTH OF ARGS "+str(len(args))) + + if OPTIONS.truth <> None: + truthVCF = OPTIONS.truth + readTruth(truthVCF) + if len(args) > 1: truthVCF = args[1] TRUTH_CALLS = readTruth(truthVCF) @@ -654,4 +660,4 @@ if __name__ == "__main__": p.sort_stats('time').print_stats(10) p.sort_stats('time', 'cum').print_stats(.5, 'init') else: - main() \ No newline at end of file + main()