Zeqian Li
zeqianli.bsky.social
Zeqian Li
@zeqianli.bsky.social
Senior Bioinformatics Scientist @BillionToOne. Formerly Seppe Kuehn Lab (UChicago)
The allele frequency stacked-bar is trickier: we need to calculate how stacks overlap and use the foreground/background trick + █▇▆▅▄▃▂▁ characters. This became a sweet ratatui widget: github.com/ratatui/rata...

The half-block trick is yet to be implemented to alignments. Contribution is open!
September 7, 2025 at 11:47 PM
The minimal resolution of terminal graphics is one character. To visualize more information, we use Unicode tricks:

At 2x zoom, to render 2 bases per cell, we use the half-block trick: render the "▌" Unicode character with the foreground of first base color and the background being the second base.
September 7, 2025 at 11:47 PM
tgv 0.1.0 release: github.com/zeqianli/tgv
- Rich CIGAR and base visualization
- Allele frequency visualization
- VCF and BED file support
- Mouse dragging and hovering
- Filter alignment

Now 90% of what I need from IGV can be done in the terminal.

Some interesting behind-the-scenes:
September 7, 2025 at 11:47 PM
Types are cool but how do I explain this
August 27, 2025 at 3:39 AM
tgv is becoming so good. Next release gonna be epic.

On a side note, I stopped using AI all together a month ago (except occasionally turning on tabbing for boilerplate). I'm so much happier. Coding is much more flowy and I'm learning a ton. Vim motion boosts productivity way more than any AI.
August 16, 2025 at 1:18 AM