> For the complete documentation index, see [llms.txt](https://knowledge.illumina.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledge.illumina.com/software/bcl2fastq/software-bcl2fastq-reference_material-list/000003145.md). Agents can also search and read this documentation through its [MCP server](https://knowledge.illumina.com/~gitbook/mcp).

# How to demultiplex a run with bcl2fastq2 without using either the i7 index or the i5 index

To demultiplex without the i7 (index 1) using bcl2fastq2, follow this instruction.

1. Keep the index column (i7) under the \[Data] section blank in the sample sheet.
2. Add this command to bcl2fastq2 command line: `--use-bases-mask y*,n*,i*,y*`

This command specifies how to process each cycle:

* n: Ignore the cycle.
* Y (or y): Use the cycle.
* I (or i) : Use the cycle for an Index Read

Example Sample Sheet (note that the index 1 column, highlighted in yellow, is left blank).\
![](https://761066130-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGM9W2DuBTgEXv1ClCm8H%2Fuploads%2Fgit-blob-1ee6a04060bfb76dd75b80a3fe6b0a1d89a89181%2Fimage1.png?alt=media\&token=cb607ad9-c8cb-440a-9bf1-900aba040ce3)

Example command:

```
bcl2fastq --runfolder-dir {runfolder-location} --output-dir {new-output-folder} --use-bases-mask y*,n*,i*,y*  
```

Similar instruction will be applied when demultiplexing without the i5 (index 2) using bcl2fastq2.

1. Keep the index2 column (i5) under \[Data] section blank in sample sheet.
2. Add this command to bcl2fastq2 command line: `--use-bases-mask y*,i*,n*,y*`

Example Sample Sheet (note that the index 2 column, highlighted in yellow, is left blank).\
![](https://761066130-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGM9W2DuBTgEXv1ClCm8H%2Fuploads%2Fgit-blob-b12b632e15f0843ed25fe26a71f61587695f6b20%2Fimage2.png?alt=media\&token=c1c1c047-8aad-47fe-acfd-dee8c49babc8)

See the [bcl2fastq2 user guide](https://support.illumina.com/sequencing/sequencing_software/bcl2fastq-conversion-software.html) for more information.

\
\
\ <br>

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


---

# 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://knowledge.illumina.com/software/bcl2fastq/software-bcl2fastq-reference_material-list/000003145.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.
