Command Index
The build number, together with the used libraries and licenses are provided in the accompanying readme file.
icav2
Command line interface for the Illumina Connected Analytics, a genomics platform-as-a-service
Usage:
icav2 [command]
Available Commands:
analysisstorages Analysis storages commands
completion Generate the autocompletion script for the specified shell
config Config actions
dataformats Data format commands
help Help about any command
jobs Job commands
metadatamodels Metadata model commands
pipelines Pipeline commands
projectanalyses Project analyses commands
projectdata Project Data commands
projectpipelines Project pipeline commands
projects Project commands
projectsamples Project samples commands
regions Region commands
storagebundles Storage bundle commands
storageconfigurations Storage configurations commands
tokens Tokens commands
version The version of this application
Flags:
-t, --access-token string JWT used to call rest service
-h, --help help for icav2
-o, --output-format string output format (default "table")
-s, --server-url string server url to direct commands
-v, --version version for icav2
-k, --x-api-key string api key used to call rest service
Use "icav2 [command] --help" for more information about a command.icav2 analysisstorages
icav2 analysisstorages list
icav2 completion
This command generates custom completion functions for icav2 tool. These functions facilitate the generation of context-aware suggestions based on the user's input and specific directives provided by the icav2 tool. For example, for ZSH shell the completion function _icav2() is generated. It could provide suggestions for available commands, flags, and arguments depending on the context, making it easier for the user to interact with the tool without having to constantly refer to documentation.
To enable this custom completion function, you would typically include it in your Zsh configuration (e.g., in .zshrc or a separate completion script) and then use the compdef command to associate the function with the icav2 command:
This way, when the user types icav2 followed by a space and presses the TAB key, Zsh will call the _icav2 function to provide context-aware suggestions based on the user's input and the icav2 tool's directives.
icav2 completion bash
icav2 completion fish
icav2 completion powershell
icav2 completion zsh
icav2 config
icav2 config get
icav2 config reset
icav2 config set
icav2 dataformats
icav2 dataformats list
icav2 help
icav2 jobs
icav2 jobs get
icav2 metadatamodels
icav2 metadatamodels list
icav2 pipelines
icav2 pipelines get
icav2 pipelines list
icav2 projectanalyses
icav2 projectanalyses get
icav2 projectanalyses input
icav2 projectanalyses list
icav2 projectanalyses output
icav2 projectanalyses update
icav2 projectdata
icav2 projectdata archive
icav2 projectdata copy
icav2 projectdata create
icav2 projectdata delete
icav2 projectdata download
Example 1
Using this command all the files starting with VariantCaller- will be downloaded (prerequisite: a tool jq is installed on the machine):
Example 2
Here an example of how to download all BAM files from a project (we are using some jq features to remove '.bam.bai' and '.bam.md5sum' files)
Tip: If you want to look up a file id from the GUI, go to that file and open te details view. The file id can be found on the top left side and will begin with fil.
icav2 projectdata downloadurl
icav2 projectdata folderuploadsession
icav2 projectdata get
icav2 projectdata link
icav2 projectdata list
It is best practice to always surround your path with quotes if you want to use the * wildcard. Otherwise, you may run into situations where the command results in "accepts at most 1 arg(s), received x" as it returns folders with the same name, but different amounts of subfolders.
For more information on how to use pagination, please refer to Cursor- versus Offset-based Pagination
If you want to look up a file id from the GUI, go to that file and open te details view. The file id can be found on the top left side and will begin with fil.
Example to list files in the folder SOURCE
Example to list only subfolders in the folder SOURCE
icav2 projectdata mount
icav2 projectdata move
icav2 projectdata temporarycredentials
icav2 projectdata unarchive
icav2 projectdata unlink
icav2 projectdata unmount
icav2 projectdata update
icav2 projectdata upload
Example for uploading multiple files
In this example all the fastq.gz files from source will be uploaded to target using xargs utility.
Example for uploading multiple files using a CSV file
In this example we upload multiple bam files specified with the corresponding path in the file bam_files.csv. The files will be renamed. We are using screen in detached mode (this creates a new session but not attaching to it):
icav2 projectpipelines
icav2 projectpipelines create
icav2 projectpipelines create cwl
icav2 projectpipelines create cwljson
icav2 projectpipelines create nextflow
icav2 projectpipelines create nextflowjson
icav2 projectpipelines input
icav2 projectpipelines link
icav2 projectpipelines list
icav2 projectpipelines start
icav2 projectpipelines start cwl
icav2 projectpipelines start cwljson
Field definition
A field can only have values (--field) and a data field can only have datavalues (--field-data). To create multiple fields or data fields, you have to repeat the flag.
For example
matches
The following example with --field and --field-data
matches
Group definition
A group will only have values (--group) and a data group can only have datavalues (--group-data). Add flags multiple times for multiple groups and fields in the group.
icav2 projectpipelines start nextflow
icav2 projectpipelines start nextflowjson
Field definition
A field can only have values (--field) and a data field can only have datavalues (--field-data). To create multiple fields or data fields, you have to repeat the flag.
For example
matches
The following example with --field and --field-data
matches
Group definition
A group will only have values (--group) and a data group can only have datavalues (--group-data). Add flags multiple times for multiple groups and fields in the group.
icav2 projectpipelines unlink
icav2 projects
icav2 projects create
icav2 projects enter
icav2 projects exit
icav2 projects get
icav2 projects list
icav2 projectsamples
icav2 projectsamples complete
icav2 projectsamples create
icav2 projectsamples delete
icav2 projectsamples get
icav2 projectsamples link
icav2 projectsamples list
icav2 projectsamples listdata
icav2 projectsamples unlink
icav2 projectsamples update
icav2 regions
icav2 regions list
icav2 storagebundles
icav2 storagebundles list
icav2 storageconfigurations
icav2 storageconfigurations list
icav2 tokens
icav2 tokens create
icav2 tokens refresh
icav2 version
Last updated
Was this helpful?
