Skip to content

streaming multiple fastq files at the same time? #42

Description

@Irenexzwen

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions