Annotations Import
Import the variable annotations of one or more tables. This can be used to restore annotations that were backed up using Annotations Export.
opal import-annot <CREDENTIALS> [OPTIONS] [EXTRAS]
Options
Option |
Description |
---|---|
|
CSV/TSV input file, typically the output of the export-annot command (default is stdin) |
|
Destination annotation locale (default is none) |
|
Separator char for CSV/TSV format (default is the tabulation character) |
|
Destination project name (default is the one(s) specified in the input file) |
|
The list of tables which variables are to be annotated (defaults to all that are found in the input file) |
|
The list of taxonomy names of interest (default is any that is found in the input file) |
Credentials
Authentication can be done by username/password credentials OR by personal access token OR by certificate/private key pair (two-way SSL authentication).
Option |
Description |
---|---|
|
Opal server base url |
|
Credentials auth: user name (requires a password) |
|
Credentials auth: user password (requires a user name) |
|
Token auth: user’s personal access token |
|
Two-way SSL auth: certificate/public key file (requires a private key) |
|
Two-way SSL auth: private key file (requires a certificate) |
Extras
Option |
Description |
---|---|
|
Show the command help’s message. |
|
Verbose output. |
Example
Import some annotations to a specified table:
opal import-annot --user administrator --password password --destination Study2 --tables datasetA --input /tmp/area-annotations.tsv