lmdu/pyfastx

streaming multiple fastq files at the same time?

Irenexzwen opened this issue · 1 comments

Hi, is it possible to open multiple fastq files (and process) at the same time using pyfastx.Fastq? With file handle, I could do something like this:

with gzip.open(R1_fastq_file, 'r') as R1: 
    with gzip.open(R2_fastq_file,'r') as R2:
        with open(output_path, 'w') as out:
            DO SOMETHING HERE...

Is it possible to achieve the same thing using pyfastx? The situation here is I need information from both read1 and read2 fastq file, and I need to scan through a really large pair-end fastq file.

Thank you!

lmdu commented

It's very complicated. Currently, I could not resolve this problem.