[docs]defparse_cli_arguments(argv=sys.argv[1:]):parser=argparse.ArgumentParser(description="simple import of new study data",conflict_handler="resolve",formatter_class=argparse.RawDescriptionHelpFormatter,)parser.add_argument("family_filename",type=str,metavar="<family filename>",help="families file in simple families format",)parser.add_argument("--id",type=str,metavar="<study ID>",dest="id",help="Unique study ID to use. ""If not specified the basename of the family file is used ""for study ID",)parser.add_argument("-o","--out",type=str,default=None,dest="output",metavar="<output filename>",help="output filename. If not specified the output filename""is constructed from <study id>.ped",)parser_args=parser.parse_args(argv)returnparser_args