Genotype API Documentation - v0.1.0
    Preparing search index...

    Class FastaParser

    Parser for FASTA sequence files.

    Reads FASTA records from files, strings, or streams and yields typed FastaSequence objects. Multi-line records and gzip-compressed files are handled transparently.

    const parser = new FastaParser();
    for await (const seq of parser.parseFile("genome.fasta")) {
    console.log(`${seq.id}: ${seq.length} bp`);
    }
    const results = await seqops(new FastaParser().parseFile("genome.fasta"))
    .filter({ minLength: 100 })
    .collect();

    Hierarchy

    Index

    Constructors

    Methods