# description: 'This is the list of the parameters for each rule'
params_list = "params_name\tdescription\tvalue\n"
head = """# description: 'This is the list of the parameters for each rule'
# section_name: 'Workflow parameters'
"""
for step in STEPS:
tool = config[step["name"]]
for key, value in config.items():
if (tool in key and tool != "null") or (key in ["results_dir","sample_dir","sample_suffix","SeOrPe"]):
params_list += key + "\t'" + str(value) + "'\n"
if (tool in key and tool != "null") or (key in ["results_dir","sample_dir","sample_suffix","SeOrPe"]) and ((config["SeOrPe"] == "SE" and not("_PE" in command)) or (config["SeOrPe"] == "PE" and not("_SE" in command))):
if (key in PARAMS_INFO.keys() and "label" in PARAMS_INFO[key].keys()):
selectInput("final_step",label="Select the step to reach : ",selected="all",choices=list('Quality check'='quality_check','Assembling'='assembling','Find mitochondrion scaffold'='find_mitoscaf','Annotate'='annotate','Visualize'='visualize',"All"="all")),tags$br(),
selectInput("force_from",label="Start again from a step : ",selected="none",choices=list('none'='none','Quality check'='quality_check','Assembling'='assembling','Find mitochondrion scaffold'='find_mitoscaf','Annotate'='annotate','Visualize'='visualize',"All"="all")),tags$br(),