readfq
readfq copied to clipboard
readfq2.py is ~60% faster readfq.py
Using splitlines instead of [:-1] for removing \n at the end of the lines. Using range(0,n,4) instead of looping for each line. This is strictly only a FASTQ reader.