Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Getting Started with local download

DRAGEN Annotation is written in C# using .NET Core runtime environment, which is compatible with Windows, Linux, Mac OS X, and Docker images. Once .NET Core has been downloaded, all you need to do is obtain the compiled software and download the data files. Please see detailed instructions in the following sections.

DRAGEN Annotation requires .NET8.0. Ensure that you have the required runtime installed from the .NET Core downloads page.

Refer to the Prerequisite section for instructions on generating the credential file required to run DRAGEN Annotation.

Getting DRAGEN Annotation

Latest Release

Please visit DRAGEN Annotation to obtain the latest release. Place the downloaded ZIP file in the DragenAnnotation folder.

mkdir -p DragenAnnotation/Data
cd DragenAnnotation
unzip DragenAnnotation-4.0.0-net8.0.zip

Quick Start

Once setup and download are complete (see Command Line Parameters), run annotation on a test VCF:

dotnet Annotator.dll annotate \
  --config <dataDirectory>/runConfigs/<assembly>.<version>.premium.json \
  --input.file test.vcf.gz \
  --output.directory ./output

Docker

Obtain the docker image as a ZIP file (e.g. DragenAnnotation-4.0.0-net8.0-docker.tar.gz), and load it as follows:

To build your own docker image, download the DRAGEN Annotation ZIP file, Dockerfile, docker image creation script (Dockerfile and script below):

Open

Place both files (create_docker_image.sh and Dockerfile) in the same directory.

In the terminal, navigate to the directory containing the scripts and execute the following commands:

After you run the script, the docker image will be available in your local machine with image name dragen-annotations:[image tag specified].

We have special instructions for running DragenAnnotation (Here's a toy VCF in case you need it):

For convenience, the user is encouraged to create aliases for the docker commands. For example:

Downloading the data files

Refer to Prerequisite for more details on creating Illumina API key to use DRAGEN Annotation and its utilities.

To download the latest data sources (or update the ones that you already have), run the interactive setup command. It will guide you through configuring your data directory, credentials, catalog, and assembly selections. At the end of setup, you can proceed directly to download:

The setup wizard will offer to download all configured data at the end. If you choose to skip the download during setup, you can always run it later:

Description of the available data sources is available in Data Catalogs

Refer to Command Line Parameters for more details on managing data sources and their versions.

Glitches in the Matrix

Every once in a while, the download process may encounter issues due to network interruptions or insufficient disk space. The downloader will perform integrity checks against the downloaded files. If you encounter errors, try resolving any potential causes and run the download command again.

From time to time, you can re-run Annotator download to obtain the latest annotation files. It will only download files that have changed since the last download.

Download a test VCF file

Here's a toy VCF file you can play around with:

Running DRAGEN Annotation

Once you have set up and downloaded the data, use the following command to annotate your VCF:

  • the --config argument specifies the RunConfig JSON file (generated by setup)

  • the --input.file argument specifies the input VCF path

  • the --output.directory argument specifies the output directory

When running DRAGEN Annotation, performance metrics are shown as it evaluates the input VCF file:

The output will be a JSON file in the specified output directory. Here's an example JSON file:

Full Command Line Reference

For complete documentation of all commands (setup, download, annotate, list, version-validate), options, and the RunConfig JSON schema, see Command Line Parameters.

Last updated

Was this helpful?