# Launching Analysis

## Overview

### Run on DRAGEN Server

The DRAGEN Heme WGS Tumor Only Pipeline is launched with the bash script called `run_Solid_WGS_TN_{version}.sh`, which is installed in the /usr/local/bin directory. The bash script is executed on the command line and runs the software using DRAGEN Application Manager. For a full list of command-line options, refer to [Command-Line Options](https://help.connected.illumina.com/dragen/dragen-v4.4/product-guide/dragen-v4.4/dragen-apps/dragen-solid-wgs-tn-pipeline/installation/launching-analysis/command-line-options).

#### Getting Started

To launch an analysis, you must provide the `--inputType` and `--inputFolder` arguments. The `--inputType` argument can be `fastq`, `bam`, or `cram`. The `--inputFolder` may be the absolute path to the input folder or it may be a comma separated list of path. If more than one input folder is specified, the `--sampleSheet` argument must also be provided with the absolute path to a valid Sample Sheet (refer to [Sample Sheet Requirements](https://help.connected.illumina.com/dragen/dragen-v4.4/product-guide/dragen-v4.4/dragen-apps/dragen-solid-wgs-tn-pipeline/quick-start/sample-sheet-requirements)). If the `--sampleSheet` argument is not provided, the software checks for a file named `SampleSheet.csv` in the input folder.

Analysis output is written to `/staging/DRAGEN_Solid_WGS_Tumor_Normal_Pipeline_{version}_Analysis_{datetimestamp}` by default. To write to a different output directory, run the bash script with `--analysisFolder <FULL_PATH_TO_ANALYSIS_FOLDER>`.
