[docs]defparse_commandline_arguments(args):parser=argparse.ArgumentParser(description="Tool for building immuneML defintion YAML for Data Simulation tool")parser.add_argument("-d","--dataset_name",default="dataset",help="The name of the dataset to export.")parser.add_argument("-t","--dataset_type",choices=["receptor","sequence","repertoire"],required=True,help="The type of the created dataset (receptor/sequence/repertoire).")parser.add_argument("-c","--count",type=int,required=True,help="The number of examples to generate.")parser.add_argument("-l","--label_name",required=True,help="The name of the label to assign to the dataset.")parser.add_argument("-x","--class1_name",required=True,help="The name of the first class to assign to the dataset.")parser.add_argument("-y","--class2_name",required=True,help="The name of the second class to assign to the dataset.")parser.add_argument("-b","--class_balance",type=int,required=True,help="The class balance percentage (in the range 0 - 100).")parser.add_argument("-o","--output_path",required=True,help="Output location for the generated yaml file (directiory).")parser.add_argument("-f","--file_name",default="specs.yaml",help="Output file name for the yaml file. Default name is 'specs.yaml' if not specified.")returnparser.parse_args(args)