res<-res+'\t\tcommand = paste0("Command line to run the workflow:<br/>","snakemake -s /workflow/Snakefile --configfile ", paste0(input$results_dir,"/params.yml") ,\t" -d ", input$results_dir ,\t" --cores ", input$cores, " all ", force, " -n -p<br/>This snakemake command needs the Snakefile and the params file of the workflow (remove -n for execution)<br/><br/>What will be done :<br/>")\n'
res<-res+'\t\t\tcommand = paste0("Command line to run the workflow:<br/>","snakemake -s /workflow/Snakefile --configfile ", paste0(input$results_dir,"/params.yml") ,\t" -d ", input$results_dir ,\t" --cores ", input$cores, " all ", force, " -n -p<br/>This snakemake command needs the Snakefile and the params file of the workflow (remove -n for execution)<br/><br/>What will be done :<br/>")\n'
res<-res+'\t\t\trerun = if (input$rerun_incomplete) "--rerun-incomplete" else ""\n'
## DRY RUN
res<-res+'\t\t\tcommand = paste0("Command line to run the workflow:<br/>","snakemake -s /workflow/Snakefile --configfile ", paste0(input$results_dir,"/params.yml") ,\t" -d ", input$results_dir ,\t" --cores ", input$cores, " all ", force, " -n -p<br/>This snakemake command needs the Snakefile and the params file of the workflow (remove -n for execution)<br/><br/>What will be done :<br/>")\n'
res<-res+'\t\t\t\tcommand = paste0("Command line to run the workflow:<br/>","snakemake -s /workflow/Snakefile --configfile ", paste0(input$results_dir,"/params.yml") ,\t" -d ", input$results_dir ,\t" --cores ", input$cores, " all ", force, " -n -p<br/>This snakemake command needs the Snakefile and the params file of the workflow (remove -n for execution)<br/><br/>What will be done :<br/>")\n'