def build_parser():
"""Build argument parser."""
parser = argparse.ArgumentParser(description=__doc__,
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
# Required args
parser.add_argument("--in_gct_path", "-i", required=True, help="path to input gct file")
# Optional args
parser.add_argument("--in_gct2_path", "-i2", help="path to second gct file")
parser.add_argument("--out_name", "-o", default="steep_output.gct",
help="what to name the output similarity file")
parser.add_argument("--similarity_metric", "-s", default="spearman",
choices=["spearman", "pearson"],
help="similarity metric to use for comparing columns")
parser.add_argument("--verbose", "-v", action="store_true", default=False,
help="whether to increase the # of messages reported")
return parser
评论列表
文章目录