# Analysis Workflows

Analysis workflows are packaged templates of BaseSpace Sequence Hub Apps with predefined settings and QC thresholds to support automation of running analyses. Use an analysis workflow to automatically launch the same app configurations on different biosamples in the project.

When you assign an analysis workflow using a biosample workflow file, the workflow status is listed as Pending. After data are received and conditional dependencies are met, the analysis is launched and the status is listed as Running.

### Create an Analysis Workflow

For information about creating an Analysis Workflow for an existing app, using your own settings or QC thresholds with an existing BaseSpace Sequence Hub app, see the developer documentation at [developer.basespace.illumina.com](https://developer.basespace.illumina.com/).

### Modify an Analysis Workflow

Analysis Workflows can be modified by their owners or members of the workgroup in which the workflow was created. If you need to modify a workflow, Illumina recommends creating a new workflow and adding a version number to the workflow name.

### Schedule Analysis Workflow to Automatically Launch

1. Upload a Biosample Manifest with analysis workflows set for one or more biosamples. See [Biosample Workflow](https://help.basespace.illumina.com/biosamples/biosample-workflow).
2. Sequence data for the biosample.
3. BaseSpace Sequence Hub checks that dependencies are met, collects data sets associated with the biosample, and launches the analysis.

{% hint style="info" %}
BaseSpace Sequence Hub excludes datasets that have been QC Failed or are linked to QC failed libraries, pools, or lanes.
{% endhint %}

### Cancel an Analysis

1. Select one or more analyses that are Running or Pending.
2. Select the **Status** drop-down arrow, point to **Cancel**, and then select **Analysis**.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.basespace.illumina.com/analyze/analysis-workflows.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
