Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
jlopez
sagJL
Commits
dc32eefd
Commit
dc32eefd
authored
Sep 29, 2020
by
mmassaviol
Browse files
Add multiqc rerun possibility
parent
d5f6201c
Changes
1
Hide whitespace changes
Inline
Side-by-side
main.R
View file @
dc32eefd
...
...
@@ -567,6 +567,7 @@ generate_pages_server <- function() {
res
<-
res
+
'\t\treturn("")\n'
res
<-
res
+
'\t}\n'
res
<-
res
+
'\telse if (input$force_from=="all"){ return("--forcerun all") }\n'
res
<-
res
+
'\telse if (input$force_from=="multiqc"){ return("--forcerun multiqc") }\n'
res
<-
res
+
'\telse {\n'
res
<-
res
+
'\t\tparams = yaml.load_file(paste0(input$results_dir,"/params.yml"), handlers=list("float#fix"=function(x){ format(x,scientific=F)}))\n'
res
<-
res
+
'\t\toutputs = params[["outputs"]]\n'
...
...
@@ -812,6 +813,7 @@ generate_menu <- function() {
for
(
step
in
APP
$
pages
[
2
:
length
(
APP
$
pages
)]){
# all steps but remove global_params page
choices
<-
choices
+
",'"
+
step
$
label
+
"'='"
+
step
$
name
+
"'"
}
choices
<-
choices
+
",'MultiQC'='multiqc'"
res
<-
res
+
'selectInput("force_from", label = "Start again from a step : ", selected = "none", choices = '
+
choices
+
')),'
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment