/usr/bin/fastq-interleave is in last-align 921-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #! /bin/bash
test $# = 2 || {
cat <<EOF
Usage: $0 x.fastq y.fastq
or: $0 x.fastq.gz y.fastq.gz
Read 2 fastq files, and write them interleaved.
Assumes 1 fastq per 4 lines, i.e. no line wrapping.
EOF
exit
}
paste <(gzip -cdf "$1" | paste - - - -) <(gzip -cdf "$2" | paste - - - -) |
tr '\t' '\n'
|