Create a new FASTA parser with specified options and interrupt support
FASTA parser configuration options including AbortSignal
Parse FASTA sequences from a string
Raw FASTA format string data
Parse FASTA sequences from a file using streaming I/O
Path to FASTA file to parse
Optional
options: FileReaderOptionsFile reading options for performance tuning
Parse FASTA sequences from a ReadableStream
Stream of binary data containing FASTA format text
Streaming FASTA parser with comprehensive validation
Designed for memory efficiency - processes sequences one at a time without loading entire files into memory. Handles real-world FASTA file messiness including wrapped sequences, comments, and malformed headers.
Example: Basic usage
Example: With custom options