Skip to content

Instantly share code, notes, and snippets.

Robin R Rohwer rrohwer

View GitHub Profile
@nathanhaigh
nathanhaigh / deinterleave_fastq.sh
Last active Jul 14, 2020
deinterleave FASTQ files
View deinterleave_fastq.sh
#!/bin/bash
# Usage: deinterleave_fastq.sh < interleaved.fastq f.fastq r.fastq [compress]
#
# Deinterleaves a FASTQ file of paired reads into two FASTQ
# files specified on the command line. Optionally GZip compresses the output
# FASTQ files using pigz if the 3rd command line argument is the word "compress"
#
# Can deinterleave 100 million paired reads (200 million total
# reads; a 43Gbyte file), in memory (/dev/shm), in 4m15s (255s)
#
You can’t perform that action at this time.