Export VCF
Export VCF files in Opal file system.
opal export-vcf <CREDENTIALS> <OPTIONS> [EXTRAS]
Options
Option |
Description |
---|---|
|
Project name from which genotypes data will be exported |
|
List of VCF/BCF file names |
|
Destination folder (in Opal file system) |
|
Participant table name to be used to filter the samples by participant ID (only relevant if there is a sample-participant mapping defined) |
|
Do not include case control samples (only relevant if there is a sample-participant mapping defined) |
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. |
|
Output pretty-print JSON |
Example
Export VCF files into the user’s export directory, omitting control samples:
opal export-vcf --opal https://opal-demo.obiba.org --user administrator --password password --project TEST --vcf FILE01 FILE02 --destination /home/administrator/export --filter-table TEST.mapping --no-case-controls