# Input Checks

## Input Validation Steps

In addition to sample sheet validation, before starting an analysis, the software performs the following checks:

* Resource bundle integrity
* DRAGEN license validity
* NEW in v2.6.2! Instrument Type determination

Instrument type is required by the software because different instrument platforms produce output with distinct systematic noise profiles. DRAGEN TSO 500 analysis software requires instrument-specific baseline noise files. Before kicking off analysis, the software determines the instrument type in order to select which baseline files to use. This means that even when starting from FASTQ, all samples in the run must be sequenced on the same type of instrument.

## Instrument Type Determination for Baselines

When starting analysis from BCL files, the software references the `RunInfo.xml` file in the Run folder to identify the sequencing instrument type. For analyses beginning with FASTQ files, the software reads the FASTQ file headers for this information. Correct baselines for variant calling are then applied based on the determined instrument type.

{% hint style="danger" %}
For analysis starting from FASTQ files, if a mixed instrument type is detected, the software will exit with an error.
{% endhint %}

**The Combined Variant Output File will include the instrument type** [combined-variant-output](https://help.connected.illumina.com/tso500/dragen-tso-500-guides/dragen-tso-500-v2.6/analysis-output/combined-variant-output "mention")

Baselines are selected based on a combination of Library Prep Kit and Instrument Type.

* Library Prep Kit: TSO500\_v2
  * Instrument Type&#x73;**:**
    * NovaSeq 6000, NovaSeq 6000Dx, NextSeq 500, NextSeq 550: Use one set of baselines.
    * NextSeq 1000/ 2000: Use a different set of baselines.
    * NovaSeqX, NovaSeqXPlus: Use another set of baselines.
* Library Prep Kit: TSO500 or TSO500HT
  * A single set of baselines applies to all instrument types.

{% hint style="success" %}
If instrument type is undetermined (ie not matching any of the below), the software will set instrument type to NA, and the baselines for NovaSeq 6000, NovaSeq 6000Dx, NextSeq 500, and NextSeq 550 will be applied.
{% endhint %}

<table><thead><tr><th width="541">/Run/Instrument in RunInfo.xml or Header of the FASTQ GZ Files Starts With</th><th>Instrument Type</th></tr></thead><tbody><tr><td>A</td><td>NovaSeq6000</td></tr><tr><td>ADX</td><td>NovaSeq6000Dx</td></tr><tr><td>NS50 or NB50 or NL50</td><td>NextSeq500</td></tr><tr><td>NS55 or NB55 or NDX</td><td>NextSeq550</td></tr><tr><td>VH</td><td>NextSeq1k2k</td></tr><tr><td>LH</td><td>NovaSeqXPlus</td></tr><tr><td>LL</td><td>NovaSeqX</td></tr></tbody></table>
