diff bdss_client_sra_se_render.R @ 3:c707a4178832 draft

planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client commit ea6df97960569d247d64be1549aa90768c9786f4-dirty
author mingchen0919
date Wed, 11 Oct 2017 11:23:04 -0400
parents 614e9553f366
children 206c59e498e7
line wrap: on
line diff
--- a/bdss_client_sra_se_render.R	Tue Oct 10 20:22:55 2017 -0400
+++ b/bdss_client_sra_se_render.R	Wed Oct 11 11:23:04 2017 -0400
@@ -37,6 +37,7 @@
 spec_list=list()
 spec_list$SRA_ACCESSION = c('sra_accession', 'i', '1', 'character')
 spec_list$FORMAT = c('format', 'f', '1', 'character')
+spec_list$SRA_BOOLEAN = c('sra_boolean', 'S', '1', 'character')
 spec_list$ECHO = c('echo', 'e', '1', 'character')
 ##--------2. output report and outputs --------------
 spec_list$REPORT_HTML = c('report_html', 'r', '1', 'character')
@@ -71,6 +72,9 @@
     gsub('FORMAT', opt$format, x)
   }) %>%
   (function(x) {
+    gsub('SRA_BOOLEAN', opt$sra_boolean, x)
+  }) %>%
+  (function(x) {
     gsub('ECHO', opt$echo, x)
   }) %>%
   (function(x) {