misc_upload_cli: Upload files using SBG uploader

Description Usage Arguments Value References Examples

Description

Upload files using SBG uploader.

Usage

1
2
misc_upload_cli(auth_token = NULL, uploader = NULL, file = NULL,
  project_id = NULL, proxy = NULL)

Arguments

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.

Value

The uploaded file's ID number.

References

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

Examples

1
2
3
4
token = '420b4672ebfc43bab48dc0d18a32fb6f'
misc_upload_cli(auth_token = token,
                          uploader = '~/sbg-uploader/',
                          file = '~/example.fastq', project_id = '1234')

sbgr documentation built on Oct. 5, 2016, 4:14 a.m.