Python: Interleave Paired-End Reads

Here’s a simple script for interleaving paired-end fastq files. You’ll need to do this if you want to create input files for velvet. Unlike the velvet’s shuffleSequences_fastq.pl¬†perl script, this script handles gzipped input and output. It requires python 2.7.