BGZF + faidx spike

Mounts a BGZF FASTA + .fai + .gzi, runs samtools faidx in WASM, optionally compares to a small plain FASTA (never use a multi‑GB uncompressed file as baseline).

Optional large library (only if you serve that file from the same host): ?gz=/data/Ty1/Processed/RBD-flag-P2.trimmed.fa.gz&ids=… (leading / = origin root — use a local server from repo root, or use a full https://… gz URL). For this package alone, use ?gz=fixtures/poc_ty1_nr.fa.gz (relative). Baseline defaults to fixtures/poc_ty1_nr.fasta. Add &nobaseline=1 to skip. Optional: &baseline=fixtures/other.fasta or absolute URL.

Local: cd into this folder, then python -m http.server 8080 — open http://localhost:8080/bgzf_faidx_spike.html.

Initializing…

samtools faidx (WASM)

Baseline (plain FASTA)

Match check