Description Usage Arguments Value Note References See Also Examples
View source: R/misc-uploader.R
Upload files using Seven Bridges command line uploader.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
token |
Authentication token. |
uploader |
The directory where the command line uploader
is located (the directory that contains the |
file |
The location of the (single) file to upload. To upload multiple
files, please use |
project |
The project identifier (e.g. |
proxy |
A proxy server through which the uploader should connect.
For details the proxy parameter format, see the part on parameter
|
tag |
Tags for your the files (optional). Use a vector of
character strings, for instance, |
manifest_file |
Location of the manifest file (for uploading multiple files with metadata). See the reference URL below for the format of a manifest file. |
manifest_metadata |
Should we use all, none, or only a part of the
the metadata fields included in the manifest file? Default is |
metadata_fields |
Character vector, the metadata fields to use
in the manifest file. This should be specified if and only if
|
dry_run |
Should we just output the data and check the settings
without uploading anything? Default is |
dry_run_fields |
Character vector, specific metadata fields
to output information about when |
The uploaded file's ID number.
To use the command line uploader, Java 1.7 or newer should be installed. See the reference link below for details.
Seven Bridges Command Line Uploader: https://docs.sevenbridges.com/docs/upload-via-the-command-line Manifest file format: https://docs.sevenbridges.com/docs/format-of-a-manifest-file
See get_uploader
for downloading
the command line uploader for Seven Bridges platforms.
See cli_list_projects
and cli_list_tags
for listing available projects or tags with the command line uploader.
1 2 3 4 5 6 7 8 | token <- "your_token"
## Not run:
cli_upload(
token = token,
uploader = "~/Downloads/cgc-uploader/",
file = "~/example.fastq", project = "username/project-name"
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.