This tool can be used to demultiplex a fastq file (long reads or merged paired-end reads with barcodes on both ends). It supports both gzipped and uncompressed fastq files. The tool allows users to specify the left and right adapter sequences, as well as the lengths of the barcodes. It also provides options for trimming the adapter sequences from the reads.
Two modes are supported. Your reads should have one of the following structures:
Both ends: [LeftBarcode][LeftAdapter]...[RightAdapter][RightBarcode]
5' end only (single adapter + barcode): [Barcode][Adapter]...
Supports .fastq, .fq (uncompressed or gzipped)
Enter your barcode sequences and sample names:
| Sample Name | Index 1 Sequence | Index 2 Sequence | Action |
|---|
Upload a tab-delimited file with barcode information (sample name, index 1, index 2):
Format: SampleName<tab>Index1<tab>Index2 (one per line)
| Sample Name | Index 1 Sequence | Index 2 Sequence |
|---|
1. Find left adapter in first 30bp → extract left barcode before it
2. Find reverse complement of right adapter in last 30bp → extract right barcode after it
3. If not found, swap adapters and repeat search
1. Find adapter in the first N bp (search window) → extract barcode before it
2. If not found and reverse strand is enabled, find reverse complement of the adapter in the last N bp → extract reverse complement of the barcode after it
This tool was written with the assistance of DeepSeek.