Skip to content
Snippets Groups Projects
Commit 84e27d07 authored by khalid's avatar khalid
Browse files

cases where SeorPe parameter is not set (minion)

parent 4c50a0ce
Branches master
No related tags found
No related merge requests found
...@@ -2,10 +2,11 @@ library(yaml) ...@@ -2,10 +2,11 @@ library(yaml)
args = commandArgs(trailingOnly=TRUE) args = commandArgs(trailingOnly=TRUE)
parameters = read_yaml(args[1])$params parameters = read_yaml(args[1])$params
if (exists("parameters$SeOrPe")) {#in case of minion reads this will be absent
if (parameters$SeOrPe == "PE") { if (parameters$SeOrPe == "PE") {
annotate_dir = parameters$<step_name>__mitoz_annotate_PE_output_dir annotate_dir = parameters$<step_name>__mitoz_annotate_PE_output_dir
annotate_results_dir = "mitoz_annotate_PE.result" annotate_results_dir = "mitoz_annotate_PE.result"
}
} else { } else {
annotate_dir = parameters$<step_name>__mitoz_annotate_SE_output_dir annotate_dir = parameters$<step_name>__mitoz_annotate_SE_output_dir
annotate_results_dir = "mitoz_annotate_SE.result" annotate_results_dir = "mitoz_annotate_SE.result"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment