REBELSCIENCE articles

Genome Toolkit. Part 4.5: Adding a Minimal Streaming FASTA Loader

In this part, we add FASTA support to Genome Toolkit and move closer to working with real biological sequence data. We build a minimal streaming FASTA loader that can discover records, parse identifiers and descriptions, and load one sequence by identifier or index without storing unrelated sequences in memory. The data still flows through our existing SequenceRecord and validated DNA model, while the original k-mer algorithms keep producing the same results.

Genome Toolkit. Part 4.4: Loading Sequences From Plain Text

In Part 4.4, we take Genome Toolkit beyond hardcoded sequences and add our first external data source. We build a small plain-text loader, introduce a neutral `SequenceRecord`, convert the loaded data into our validated `DNA` model, and keep the existing k-mer algorithms unchanged. This gives us a clean path from a real file to validated biological data while preserving the scientific calculations we already trust.