diff --git a/truvari/make_ga4gh.py b/truvari/make_ga4gh.py index 3743cae..c92e8ed 100644 --- a/truvari/make_ga4gh.py +++ b/truvari/make_ga4gh.py @@ -25,7 +25,7 @@ def parse_args(args): help="Truvari result directory") parser.add_argument("-o", "--output", required=True, help="Output prefix") - parser.add_argument("-r", "--no-refine", action="store_false", + parser.add_argument("-r", "--no-refine", action="store_true", help="Don't pull from refined results") parser.add_argument("-w", "--write-phab", action="store_true", help="Count/Write the phab variant representations") @@ -312,7 +312,7 @@ def make_ga4gh_main(args): logging.info("Consolidating VCFs") output = make_ga4gh(args.input, args.output, - pull_refine=args.no_refine, + pull_refine=not args.no_refine, write_phab=args.write_phab) logging.info("Stats: %s", json.dumps(output.stats, indent=4)) with open(args.output + '.summary.json' ,'w') as fout: