Upload files using SBG uploader.
misc_upload_cli( auth_token = NULL, uploader = NULL, file = NULL, project_id = NULL, proxy = NULL )
auth_token | auth token |
---|---|
uploader | The directory where the SBG uploader is located (the directory that contains the bin/ directory). |
file | The location of the file to upload. |
project_id | The project ID to upload the files to. If you do not supply this, then the uploader will place the incoming files in your "My Files" section. |
proxy | Allows you to specify a proxy server through which the uploader should connect. About the details the proxy parameter format, see https://developer.sbgenomics.com/tools/uploader/documentation. |
The uploaded file's ID number.
https://developer.sbgenomics.com/tools/uploader/documentation
token = '420b4672ebfc43bab48dc0d18a32fb6f' misc_upload_cli(auth_token = token, uploader = '~/sbg-uploader/', file = '~/example.fastq', project_id = '1234')#> Error in system(command = cmd, intern = TRUE): error in running command