# How to demultiplex multiple library types on the same run with multiple lanes using bcl2fastq2

If libraries with different index types are sequenced in separate flow cell lanes, it is possible to demultiplex all samples at once with bcl2fastq.

**Use the following steps for demultiplexing.**

* Create a single sample sheet with the samples/indexes for the different library types in different lanes.
  * If one library type is single indexed and another is dual indexed:\
    \- Include both the index and index2 columns in the sample sheet.\
    \- Leave the index2 values blank for the single indexed samples.\
    \- Note: The above holds true any time a run has samples with different index lengths or both single and dual present. As long as the index length/type is consistent within each lane, one sample sheet can be used to demultiplex the run in a single analysis.
* Perform demultiplexing using bcl2fastq; no additional steps are required.

**Note:** If there are multiple index types within the same lane, then multiple analyses are required. A separate sample sheet and analysis is required for each index type.

\
\
\ <br>

|                                                                                                                                                                                                                                                                                                                                                                 |
| :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| *For any feedback or questions regarding this article (Illumina Knowledge Article #3578), contact Illumina Technical Support* [*techsupport@illumina.com*](mailto:techsupport@illumina.com?subject=Question%2FFeedback%20Regarding%20Illumina%20Knowledge%20Article%20#000003578%20-%20Software%20\&body=Dear%20Illumina%20Technical%20Support,%0D%0A%0D%0A)*.* |


---

# 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://knowledge.illumina.com/software/on-premises-software/software-on-premises-software-reference_material-list/000003578.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.
