Parser for FASTQ sequence files.
Delegates all parsing to the Rust noodles-fastq reader, which handles multi-line sequences, quality score extraction, and gzip-compressed input transparently.
const parser = new FastqParser();for await (const seq of parser.parseFile("reads.fastq")) { console.log(`${seq.id}: ${seq.sequence.length} bp`);} Copy
const parser = new FastqParser();for await (const seq of parser.parseFile("reads.fastq")) { console.log(`${seq.id}: ${seq.sequence.length} bp`);}
const results = await seqops(new FastqParser().parseFile("reads.fastq.gz")) .filter({ minLength: 100 }) .collect(); Copy
const results = await seqops(new FastqParser().parseFile("reads.fastq.gz")) .filter({ minLength: 100 }) .collect();
Parse multi-line FASTQ from a string (legacy compatibility). Now delegates to the same noodles-backed parser as parseString.
Parser for FASTQ sequence files.
Delegates all parsing to the Rust noodles-fastq reader, which handles multi-line sequences, quality score extraction, and gzip-compressed input transparently.
Example: Basic usage
Example: With seqops pipeline