# Auto Analysis QC

You can configure BaseSpace Sequence Hub to automatically apply a QC status to analyses as they complete. BaseSpace Sequence Hub compares the analysis metrics to your predefined thresholds and assigns a dataset or a analysis status as QC Passed or QC Failed.

Automatic Analysis QC uses the BaseSpace Sequence Hub API. For more information, see the developer documentation at [developer.basespace.illumina.com](https://developer.basespace.illumina.com/).

When a dataset is set to QC failed, its data are excluded from downstream data analyses and total yield calculations.

Automatic Analysis QC uses Analysis Workflows and requires the following:

* The app used in the Analysis Workflow must register analysis metrics.
* The Analysis Workflow must be launched automatically. See [Biosample Workflow](https://help.basespace.illumina.com/biosamples/biosample-workflow).
* The Analysis Workflow must contain metric thresholds. See [Create an Analysis Workflow](https://help.basespace.illumina.com/analysis-workflows#create-an-analysis-workflow).

To view the analysis metrics, select Metrics from the analysis details page. For information about manually applying QC status, see [Manual QC](https://help.basespace.illumina.com/automate/manual-qc).
