comparison bdss_client.Rmd @ 26:fb8f1d1ceeae draft

planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client commit b212086a85c4d1e62e0d0c0e77b6f3fcabea04ef
author mingchen0919
date Sun, 15 Oct 2017 23:03:44 -0400
parents 821832531529
children 3764ba86f0da
comparison
equal deleted inserted replaced
25:821832531529 26:fb8f1d1ceeae
39 urls = strsplit(gsub(',', ' ', 'URLS'), ' ')[[1]] 39 urls = strsplit(gsub(',', ' ', 'URLS'), ' ')[[1]]
40 urls = urls[urls != ''] 40 urls = urls[urls != '']
41 # loop through SRA accessions to download and extract reads. 41 # loop through SRA accessions to download and extract reads.
42 for(url in urls) { 42 for(url in urls) {
43 print(url) 43 print(url)
44 bdss_command = paste0('/main/sites/galaxy/galaxy/tools/_conda/bin/bdss transfer --destination read_files_directory -u ', url) 44 bdss_command = paste0('/tool_deps/_conda/bin/bdss transfer --destination read_files_directory -u ', url)
45 print(bdss_command) 45 print(bdss_command)
46 print(system(bdss_command, intern = TRUE)) 46 print(system(bdss_command, intern = TRUE))
47 } 47 }
48 # all files that need to be saved should be moved to REPORT_DIR directory 48 # all files that need to be saved should be moved to REPORT_DIR directory
49 # print(system('mv read_files_directory REPORT_DIR', intern = TRUE)) 49 # print(system('mv read_files_directory REPORT_DIR', intern = TRUE))