def get_args():
parser = ArgumentParser(
description="Investigate nucleotide composition and base quality.")
parser.add_argument("-v", "--version",
help="Print version and exit.",
action="version",
version='NanoQC {}'.format(__version__))
parser.add_argument("--outdir",
help="Specify directory in which output has to be created.",
default=".")
parser.add_argument("-f", "--format",
help="Specify the output format of the plots.",
default="png",
type=str,
choices=['eps', 'jpeg', 'jpg', 'pdf', 'pgf', 'png', 'ps',
'raw', 'rgba', 'svg', 'svgz', 'tif', 'tiff'])
parser.add_argument("fastq",
help="Reads data in fastq format.")
return parser.parse_args()
评论列表
文章目录