---
title: "Notes on Rastair, a variant and methylation caller"
url: https://daily.dev/posts/notes-on-rastair-a-variant-and-methylation-caller-ponbubbko
source_url: https://deterministic.space/rastair.html
type: article
source: "Pascal’s scribbles"
published: 2026-04-11T18:14:19.361Z
updated: 2026-04-11T18:14:40.741Z
tags: ["performance", "rust", "biotech"]
reading_time: 10
upvotes: 1
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Notes on Rastair, a variant and methylation caller

**[Pascal’s scribbles](https://daily.dev/sources/deterministicspace)** · 10 min read · 1 upvotes · 0 comments

## Summary

A developer shares implementation notes on Rastair, a Rust-based bioinformatics CLI tool for variant and methylation calling from TAPS genome sequencing data. Key engineering highlights include: parallelizing work across CPU cores using Rayon with an ordered channel pattern, reducing allocations via iterator chains, SmallVec for short lists, SmolStr for short strings, and switching to the mimalloc allocator. The post also covers integrating with the C library htslib via rust-htslib (including a fork to eliminate unnecessary CString allocations), a two-phase suffix-based read deduplication algorithm, and auto-generating CLI and VCF field documentation from Rust macros. A teaser mentions an upcoming post on porting a Random Forest model to run as a GPU compute shader.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://deterministic.space/rastair.html>

## Similar posts on daily.dev

- [Seqair, my Rust-native take on htslib](https://daily.dev/posts/seqair-my-rust-native-take-on-htslib-9puntghme) · Pascal’s scribbles · 0 upvotes · 0 comments
- [Random Forest ML on GPU](https://daily.dev/posts/random-forest-ml-on-gpu-hdywpavnj) · Pascal’s scribbles · 0 upvotes · 0 comments

---

Tags: [#performance](https://daily.dev/tags/performance), [#rust](https://daily.dev/tags/rust), [#biotech](https://daily.dev/tags/biotech)

[View this post on daily.dev](https://daily.dev/posts/notes-on-rastair-a-variant-and-methylation-caller-ponbubbko)
