> For the complete documentation index, see [llms.txt](https://help.bioinsight.illumina.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.bioinsight.illumina.com/dragen-clinical-research-apps/readme/dragen-heme-wgs-to-pipeline/installation/launching-analysis.md).

# Launching Analysis

## Overview

### Run on DRAGEN Server

The DRAGEN Heme WGS Tumor Only Pipeline is launched with the bash script called `run_Heme_WGS_TO_{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](/dragen-clinical-research-apps/readme/dragen-heme-wgs-to-pipeline/installation/launching-analysis/command-line-options.md).

#### Getting Started

To launch an analysis, you must provide the `--inputType` and `--inputFolder` arguments. The `--inputType` argument can be `bcl`, `fastq`, `bam`, or `cram`. When starting from a sequencing system run folder containing BCL files, `--inputType` must be `bcl` and `--inputFolder` is the absolute path to the full run folder. When starting from FASTQ, BAM, or CRAM files `--inputFolder` may also be a comma separated list of folders. 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](/dragen-clinical-research-apps/readme/dragen-heme-wgs-to-pipeline/quick-start/sample-sheet-requirements.md)). 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_Heme_WGS_Tumor_Only_Pipeline_{version}_Analysis_{datetimestamp}` by default. To write to a different output directory, run the bash script with `--analysisFolder <FULL_PATH_TO_ANALYSIS_FOLDER>`.

The `--demultiplexOnly` flag runs the pipeline through FASTQ Generation only, and these outputs can be used for splitting a run into smaller batch analyses with `--inputType fastq` and the `--sampleIDs` argument.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.bioinsight.illumina.com/dragen-clinical-research-apps/readme/dragen-heme-wgs-to-pipeline/installation/launching-analysis.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
