comparison bdss_client.Rmd @ 10:b7171118a078 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 13:31:47 -0400
parents efb1938c3020
children bfc6133f3a2b
comparison
equal deleted inserted replaced
9:072568c2c96a 10:b7171118a078
38 urls = strsplit(gsub(',', ' ', 'URLS'), ' ')[[1]] 38 urls = strsplit(gsub(',', ' ', 'URLS'), ' ')[[1]]
39 urls = urls[urls != ''] 39 urls = urls[urls != '']
40 # loop through SRA accessions to download and extract reads. 40 # loop through SRA accessions to download and extract reads.
41 for(url in urls) { 41 for(url in urls) {
42 bdss_command = paste0('/tool_deps/_conda/bin/bdss transfer -u ', url) 42 bdss_command = paste0('/tool_deps/_conda/bin/bdss transfer -u ', url)
43 print(system(bdss_command, intern = TRUE)) 43 system(bdss_command, intern = TRUE)
44 } 44 }
45 move_files_command = 'find . -type f -print0 | xargs -0 mv -t ./read_files_directory' 45 move_files_command = 'find . -type f -print0 | xargs -0 mv -t ./read_files_directory'
46 print(system(move_files_command, intern = TRUE)) 46 system(move_files_command, intern = TRUE)
47 ``` 47 ```
48 48
49 * `fastq-dump` command 49 * `fastq-dump` command
50 ```{r} 50 ```{r}
51 print(command) 51 print(command)