Command Line Parameters
General Usage
Annotator <command> [options]Global Flags
--help, -h
Show help for the command
--version, -v
Show version information
Available Commands
setup
Setup annotation environment with license and config files (internet connection required)
download
Download data files from the cloud (internet connection required)
annotate
Run annotation on a VCF file
list
Display available data catalogs or data sources for DRAGEN Annotation
version-validate
Validate downloaded data version with the provided config
setup
Configure the annotation environment interactively or non-interactively. The setup wizard guides through four steps: data directory, credentials, catalog selection, and assembly selection. It generates run config files and optionally downloads data.
The default mode is interactive. At the end of the interactive session, the equivalent non-interactive command line is provided for convenience. For new users, the interactive mode is highly recommended.
Interactive Example (Recommended)
$ dotnet Annotator.dll setup
---------------------------------------------------------------------------
DRAGEN Annotation (c) 2026 Illumina Inc.
4.0.0+ffeb8ce05ca46c9a11b1f44d44debdb707f538d9
---------------------------------------------------------------------------
This assistant will guide you through configuring and downloading annotation data.
Available Annotation Sets
-------------------------
Basic - Open/public data sources (ClinVar, gnomAD, dbSNP, REVEL, etc.)
Requires a MyIllumina API Key (free from https://accounts.login.illumina.com/).
Professional - Basic + paid/proprietary sources such as:
OMIM, COSMIC, SpliceAI, PrimateAI-3D, PromoterAI
Requires a DRAGEN (Serial Number or API key), or Cloud (API Key + Secret pair) credentials.
Step 1 of 4: Data Directory
---------------------------
This directory will store all downloaded annotation data.
Enter data directory path: /data/annotations
Step 2 of 4: Credentials
------------------------
Detected credentials (highest priority first):
1. DRAGEN Serial from /data/annotations/license/credentials.json (Professional) [recommended]
2. Enter different credentials
Select (1-2) [default 1]: 2
No credentials were found. Let's create one.
Select the type of credential you have:
1. Existing Credentials File (credentials.json)
2. Existing Lic Credentials File (dragen_credentials.txt) (Professional)
3. Existing DRAGEN API Key File (dragen_api_key.txt) (Professional)
4. DRAGEN Serial Number (Professional)
5. BYOL License (API Key + Secret) (Professional)
6. DRAGEN API Key (Professional)
7. MyIllumina API Key (Basic)
Select (1-7) [default 1]: 4
Enter DRAGEN serial number: <DRAGEN serial number>
Save directory [/data/annotations/license]:
Credentials saved to /data/annotations/license/credentials.json
Step 3 of 4: Catalog
--------------------
Available data catalogs:
1. 20260501
name May 2026
released 2026-05-01
includes basic, germline-tagging, premium, tmb
2. dragen-4.5
name Dragen 4.5
released 2025-01-01
includes germline-tagging, premium, tmb
Select (1-2) [default 1]: 1
Step 4 of 4: Assemblies
-----------------------
Available assemblies:
1. GRCh37
2. GRCh38
3. All
Select (1-3) [default 3]: 3
Configuration Summary
---------------------
Data directory: /data/annotations
Credentials: DRAGEN Serial from /data/annotations/license/credentials.json
Catalog: May 2026: basic, germline-tagging, premium, tmb
Assemblies: GRCh37, GRCh38
Generated run configs:
GRCh37:
/data/annotations/runConfigs/GRCh37.20260501.basic.json
/data/annotations/runConfigs/GRCh37.20260501.germline-tagging.json
/data/annotations/runConfigs/GRCh37.20260501.premium.json
/data/annotations/runConfigs/GRCh37.20260501.tmb.json
GRCh38:
/data/annotations/runConfigs/GRCh38.20260501.basic.json
/data/annotations/runConfigs/GRCh38.20260501.germline-tagging.json
/data/annotations/runConfigs/GRCh38.20260501.premium.json
/data/annotations/runConfigs/GRCh38.20260501.tmb.json
To reproduce this setup non-interactively:
dotnet Annotator.dll setup --non-interactive \
--data.directory /data/annotations \
--data.catalog 20260501 \
--data.assemblies GRCh37,GRCh38
Proceed with download? [Y/n]: n
Setup cancelled; no data was downloaded.
Run configs saved to: /data/annotations/runConfigs
Setup report: /data/annotations/logs/setup.20260501.json
To download later, run a single command covering all generated configs:
dotnet Annotator.dll download \
--config /data/annotations/runConfigs/GRCh37.20260501.basic.json \
--config /data/annotations/runConfigs/GRCh37.20260501.germline-tagging.json \
--config /data/annotations/runConfigs/GRCh37.20260501.premium.json \
--config /data/annotations/runConfigs/GRCh37.20260501.tmb.json \
--config /data/annotations/runConfigs/GRCh38.20260501.basic.json \
--config /data/annotations/runConfigs/GRCh38.20260501.germline-tagging.json \
--config /data/annotations/runConfigs/GRCh38.20260501.premium.json \
--config /data/annotations/runConfigs/GRCh38.20260501.tmb.jsonNon-Interactive Example
Downloading a Subset of a Catalog
If you only need specific annotation sets (e.g. only TMB for GRCh38), pass the corresponding config(s) to the download command:
Or combine multiple configs to download only what you need:
Help Output
download
Download annotation data files from the cloud. Supports single or multiple configs to download a superset of data versions in one pass.
If no --config flags are provided, the command auto-discovers all *.json files under <data.directory>/runConfigs/, optionally filtered by --data.assembly.
Example
Using the run configs generated by setup:
Or let auto-discovery find all configs in the data directory:
Help Output
annotate
Run annotation on a VCF file using a config-first approach. A JSON config file defines the annotation environment and can be overridden on the command line with dotted key paths.
Example
Help Output
Setup-generated run configs set parallel.workers to 2. If the field is omitted from a RunConfig, the annotate default is the machine's CPU count.
list
Display annotation data sources available on the server, or list available data catalogs.
Usage
Help Output
Examples
Output:
Output:
version-validate
Validate that all data source versions specified in a config file have corresponding files present on disk.
Usage
Required
--config
Path to RunConfig JSON file
Common Overrides
--data.directory
Override data directory (must exist on disk)
from config
--data.assembly
Override assembly (GRCh37, GRCh38)
from config
Version Selector Overrides
--data.versionSelector.<source>.<type>
Override specific data source version
Validation Rules
The config must contain at least one entry in
data.versionSelectorThe
data.directorymust exist on diskThe
data.assemblymust be a valid assembly nameEvery (source, type, version) tuple in the config must have a matching file in the data directory
Example
RunConfig JSON Schema
The annotate, download, and version-validate commands all use a RunConfig JSON file. Below is the structure:
CLI Overrides
Any key in the config can be overridden on the command line using its dotted path:
For the versionSelector dictionary, use the format:
Last updated
Was this helpful?

