comparison bdss_client.Rmd @ 15:fe5f30584308 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 14:50:19 -0400
parents c0b8476fbc85
children c2150a0f9c7c
comparison
equal deleted inserted replaced
14:c0b8476fbc85 15:fe5f30584308
37 # download and extract reads 37 # download and extract reads
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('cd ./read_files_directory && /tool_deps/_conda/bin/bdss transfer -u ', url) 42 # bdss_command = paste0('cd ./read_files_directory && /tool_deps/_conda/bin/bdss transfer -u ', url)
43 bdss_command = paste0('cd ./read_files_directory && /main/sites/galaxy/galaxy/tools/_conda/bin/bdss transfer -u ', url)
43 print(system(bdss_command, intern = TRUE)) 44 print(system(bdss_command, intern = TRUE))
44 } 45 }
45 ``` 46 ```
46 47
47 48