Learn R Programming

sevenbridges (version 1.2.4)

misc_upload_cli: Upload files using SBG uploader

Description

Upload files using SBG uploader.

Usage

misc_upload_cli(token = NULL, uploader = NULL, file = NULL, project_id = NULL, proxy = NULL)

Arguments

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.

Value

The uploaded file's ID number.

References

https://developer.sbgenomics.com/tools/uploader/documentation

Examples

Run this code
token = '420b4672ebfc43bab48dc0d18a32fb6f'
misc_upload_cli(token = token,
                          uploader = '~/sbg-uploader/',
                          file = '~/example.fastq', project_id = '1234')

Run the code above in your browser using DataLab