Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mmassaviol
WAWmassaviol
Commits
84e27d07
Commit
84e27d07
authored
Dec 08, 2021
by
khalid
Browse files
cases where SeorPe parameter is not set (minion)
parent
4c50a0ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/mitoz_annotate/mitoz_annotate.prepare.report.R
View file @
84e27d07
...
...
@@ -2,10 +2,11 @@ library(yaml)
args
=
commandArgs
(
trailingOnly
=
TRUE
)
parameters
=
read_yaml
(
args
[
1
])
$
params
if
(
parameters
$
SeOrPe
==
"PE"
)
{
annotate_dir
=
parameters
$<
step_name
>
__
mitoz_annotate_PE_output_dir
annotate_results_dir
=
"mitoz_annotate_PE.result"
if
(
exists
(
"parameters$SeOrPe"
))
{
#in case of minion reads this will be absent
if
(
parameters
$
SeOrPe
==
"PE"
)
{
annotate_dir
=
parameters
$<
step_name
>
__
mitoz_annotate_PE_output_dir
annotate_results_dir
=
"mitoz_annotate_PE.result"
}
}
else
{
annotate_dir
=
parameters
$<
step_name
>
__
mitoz_annotate_SE_output_dir
annotate_results_dir
=
"mitoz_annotate_SE.result"
...
...
Write
Preview
Supports
Markdown
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