annotate i_adhore_configure.Rmd @ 12:fcd72af3f41e draft

planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 377565cfe72b3455320ea04b7c58191bf4428d79-dirty
author mingchen0919
date Tue, 29 Aug 2017 17:57:47 -0400
parents f86be5aeea36
children d41a3115e470
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
1 ---
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
2 title: 'i-adhore: generate i-adhore config file'
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
3 output:
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
4 html_document:
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
5 number_sections: true
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
6 toc: true
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
7 theme: cosmo
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
8 highlight: tango
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
9 ---
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
10
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
11 ```{r setup, include=FALSE, warning=FALSE, message=FALSE}
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
12 knitr::opts_chunk$set(echo = ECHO)
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
13 ```
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
14
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
15 # Genomes and analysis files
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
16
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
17 ```{r}
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
18 g_analysis_files_set = strsplit(opt$g_analysis_file, ';')[[1]]
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
19 g_analysis_files_list = list()
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
20 # for(i in g_analysis_files_set) {
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
21 # genome = strsplit(i, ':')[[1]][1]
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
22 # analysis_files = strsplit(i, ':')[[1]][2] %>%
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
23 # strsplit(',') %>% `[[`(1) %>%
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
24 # (function(x){
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
25 # paste0(1:length(x),' ', x)
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
26 # })
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
27 # g_analysis_files_list[[genome]] = analysis_files
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
28 # }
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
29 for(i in g_analysis_files_set) {
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
30 genome = strsplit(i, ':')[[1]][1]
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
31 analysis_files = strsplit(i, ':')[[1]][2] %>%
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
32 strsplit(',') %>% `[[`(1) %>%
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
33 laply(.fun = function(x){
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
34 file_name = strsplit(x, '/')[[1]] %>% tail(1)
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
35 file_name = strsplit(file_name, '\\.')[[1]][1]
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
36 paste0(file_name, ' ', x)
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
37 })
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
38 g_analysis_files_list[[genome]] = c(
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
39 'name' = paste0('genome=', strsplit(i, ':')[[1]][1]),
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
40 'analysis_files' = analysis_files
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
41 )
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
42 print(paste0('genome=', strsplit(i, ':')[[1]][1]))
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
43 print(analysis_files)
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
44 }
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
45 ```
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
46
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
47 # Other parameters
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
48
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
49 ```{r}
5
dab02b629d48 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 60ea96204588be4348bd5d7879d1eb0d73f487c7-dirty
mingchen0919
parents: 0
diff changeset
50 output_dir = tail(strsplit(opt$i_adhore_configure_dir, '/')[[1]], 1)
6
8cf3b1298508 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 60ea96204588be4348bd5d7879d1eb0d73f487c7-dirty
mingchen0919
parents: 5
diff changeset
51 output_path = gsub('dataset_.*dat', output_dir, opt$blast_table)
5
dab02b629d48 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 60ea96204588be4348bd5d7879d1eb0d73f487c7-dirty
mingchen0919
parents: 0
diff changeset
52
0
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
53 params = c(
5
dab02b629d48 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 60ea96204588be4348bd5d7879d1eb0d73f487c7-dirty
mingchen0919
parents: 0
diff changeset
54 'blast_table' = opt$blast_table,
dab02b629d48 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 60ea96204588be4348bd5d7879d1eb0d73f487c7-dirty
mingchen0919
parents: 0
diff changeset
55 'output_path' = output_path,
0
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
56 'gap_size' = opt$gap_size,
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
57 'cluster_gap' = opt$cluster_gap,
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
58 'q_value' = opt$q_value,
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
59 'prob_cutoff' = opt$prob_cutoff,
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
60 'anchor_points' = opt$anchor_points,
12
fcd72af3f41e planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 377565cfe72b3455320ea04b7c58191bf4428d79-dirty
mingchen0919
parents: 7
diff changeset
61 'alignment_method' = opt$alignment_method,
5
dab02b629d48 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 60ea96204588be4348bd5d7879d1eb0d73f487c7-dirty
mingchen0919
parents: 0
diff changeset
62 'level_2_only' = tolower(opt$level2only),
0
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
63 'table_type' = opt$table_type,
5
dab02b629d48 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 60ea96204588be4348bd5d7879d1eb0d73f487c7-dirty
mingchen0919
parents: 0
diff changeset
64 'multiple_hypothesis_correction' = opt$multi_hypothesis_correction
0
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
65 )
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
66
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
67 df = data.frame(name = names(params),
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
68 value = params)
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
69 knitr::kable(df)
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
70 ```
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
71
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
72
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
73 ```{r echo=FALSE}
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
74 # generate i_adhore_configure.txt file
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
75 lines = c(unlist(g_analysis_files_list),
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
76 ' ',
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
77 paste0(df$name, '=', df$value),
5
dab02b629d48 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 60ea96204588be4348bd5d7879d1eb0d73f487c7-dirty
mingchen0919
parents: 0
diff changeset
78 'compareAligners')
0
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
79 fileConn = file('I_ADHORE_CONFIGURE_TXT')
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
80 writeLines(lines, con = fileConn)
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
81 ```
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
82
9755ce6ac4d5 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff changeset
83
7
f86be5aeea36 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents: 6
diff changeset
84 # I-ADHoRe analysis results
f86be5aeea36 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents: 6
diff changeset
85
f86be5aeea36 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents: 6
diff changeset
86 ```{bash}
f86be5aeea36 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents: 6
diff changeset
87 # run i-adhore analysis
f86be5aeea36 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents: 6
diff changeset
88 i-adhore I_ADHORE_CONFIGURE_TXT
f86be5aeea36 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents: 6
diff changeset
89 ```
f86be5aeea36 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents: 6
diff changeset
90
f86be5aeea36 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents: 6
diff changeset
91 Links to outputs
f86be5aeea36 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents: 6
diff changeset
92
f86be5aeea36 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents: 6
diff changeset
93 ```{r}
f86be5aeea36 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents: 6
diff changeset
94 output_path
f86be5aeea36 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents: 6
diff changeset
95
f86be5aeea36 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents: 6
diff changeset
96 outputs_list = list()
f86be5aeea36 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents: 6
diff changeset
97 i_adhore_outputs = list.files(output_path)
f86be5aeea36 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents: 6
diff changeset
98 for (i in i_adhore_outputs) {
f86be5aeea36 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents: 6
diff changeset
99 outputs_list[[i]] = tags$li(tags$a(href=i, i))
f86be5aeea36 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents: 6
diff changeset
100 }
f86be5aeea36 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents: 6
diff changeset
101 tags$ul(outputs_list)
f86be5aeea36 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents: 6
diff changeset
102 ```
f86be5aeea36 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents: 6
diff changeset
103
f86be5aeea36 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents: 6
diff changeset
104
f86be5aeea36 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents: 6
diff changeset
105