# HG changeset patch # User mingchen0919 # Date 1506526838 14400 # Node ID 4c84d748da0840006e47e1ad5109860a1c99464d # Parent a2ba5619f51b88f2ad0624c53063d32b1370f3da planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit c9517f0b061cdca3b79678d9a2620e1e43115d42-dirty diff -r a2ba5619f51b -r 4c84d748da08 fastq_dump_se.Rmd --- a/fastq_dump_se.Rmd Wed Sep 27 11:18:27 2017 -0400 +++ b/fastq_dump_se.Rmd Wed Sep 27 11:40:38 2017 -0400 @@ -31,11 +31,12 @@ # loop through SRA accessions to download and extract reads. for(id in sra_accessions) { if(FORMAT == 'fasta') { - command = paste0('fastq-dump --fasta ', id, ' -O read_files_directory') + command = paste0('fastq-dump --fasta ', '-O read_files_directory ', id) } else { - command = paste0('fastq-dump ', id, ' -O read_files_directory') + command = paste0('fastq-dump ', '-O read_files_directory ', id) } - system(command = command) + print(command) + #system(command = command) } ``` diff -r a2ba5619f51b -r 4c84d748da08 fastq_dump_se.xml --- a/fastq_dump_se.xml Wed Sep 27 11:18:27 2017 -0400 +++ b/fastq_dump_se.xml Wed Sep 27 11:40:38 2017 -0400 @@ -28,7 +28,7 @@ - + diff -r a2ba5619f51b -r 4c84d748da08 fastq_dump_se_render.R --- a/fastq_dump_se_render.R Wed Sep 27 11:18:27 2017 -0400 +++ b/fastq_dump_se_render.R Wed Sep 27 11:40:38 2017 -0400 @@ -62,13 +62,13 @@ gsub('SRA_ACCESSION', opt$sra_accession, x) }) %>% (function(x) { + gsub('FORMAT', opt$format, x) + }) %>% + (function(x) { gsub('ECHO', opt$echo, x) }) %>% (function(x) { - gsub('FORMAT', opt$format, x) - }) %>% - (function(x) { - gsub('OUTPUT_DIR', opt$fastq_dump_se_dir, x) + gsub('OUTPUT_DIR', opt$output_dir, x) }) %>% (function(x) { fileConn = file('fastq_dump_se.Rmd')