| Crates.io | fastq-fix-i5 |
| lib.rs | fastq-fix-i5 |
| version | 1.0.0 |
| created_at | 2026-01-20 21:40:53.659485+00 |
| updated_at | 2026-01-20 21:40:53.659485+00 |
| description | Rewrite FASTQ headers by reverse-complementing only the i5 (P5/index2) part in ...:i7+i5 |
| homepage | |
| repository | https://github.com/ssciwr/fastq-fix-i5 |
| max_upload_size | |
| id | 2057635 |
| size | 33,380 |
A fast, streaming tool to rewrite FASTQ headers by reverse-complementing the i5 (Index2 / P5) barcode, without modifying read sequences or quality scores.
Headers are expected to end with the standard Illumina
:<i7>+<i5> format.
This tool can be useful when mixing FASTQs from different sequencing platforms (e.g. Illumina and AVITI) where i5 orientation conventions differ.
:<i7>+<i5> fieldTo install from bioconda:
conda install -c bioconda fastq-fix-i5
To build and install using the rust package manager cargo:
cargo install fastq-fix-i5
Alternatively you can download a pre-compiled binary for your platform.
To run fastq-fix-i5, simply pipe your FASTQ data into it:
fastq-fix-i5 < input.fastq > output.fastq
If your input FASTQ is compressed, on linux you can use pigz to
stream the data through fastq-fix-i5:
pigz -dc input.fastq.gz | fastq-fix-i5 | pigz -c > output.fastq.gz
fastq-fix-i5 is designed to be fast and memory-efficient.
It processes FASTQ data in a streaming fashion,
which allows it to process millions of reads per second
using a single CPU core and <5MB of memory.