if(toolinkeyandtool!= "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(toolinkeyandtool!= "null") or (key in ["results_dir","sample_dir","sample_suffix","SeOrPe"]) and ("SeOrPe" not in config.keys() or (config["SeOrPe"] == "SE" and not("_PE" in command)) or (config["SeOrPe"] == "PE" and not("_SE" in command))):
radioButtons("SeOrPe",label="Single end reads (SE) or Paired end reads (PE): ",choices=list("Single end"="SE","Paired end"="PE"),selected="PE",width="auto"),
radioButtons("SeOrPe",label="Single end reads (SE) or Paired end reads (PE): ",choices=list("Single end"="SE","Paired end"="PE"),selected="SE",width="auto"),
textAreaInput("memo",label="Text area for the user",value="")