rewrite generate_reads() to avoid recursion
rewrite generate_reads() to avoid recursion

gmcvicker/WASP,gmcvicker/WASP,gmcvicker/WASP,bmvdgeijn/WASP,gmcvicker/WASP,bmvdgeijn/WASP,bmvdgeijn/WASP,bmvdgeijn/WASP