Advertisement ยท 728 ร— 90

Posts by Brent Pedersen

CHARR does a mean of per-site estimates of contamination; for low coverage, it might be more robust to sum counts across sites and divide at the end. It's trivial to implement and might work well for your case

5 days ago 0 0 0 0

ah, ok. that will be too low for somalier.
the writeup is here: github.com/brentp/somal...
the methods match conpair and CHARR pretty faithfully

5 days ago 0 0 1 0

if you give somalier a try for contamination and it doesn't do what you want, I'd like to hear about it. ๐Ÿ˜›

5 days ago 0 0 1 0

New version of somalier is up: github.com/brentp/somal...

Has a CHARR contamination estimator, a CONPAIR pair-wise inter-sample contaminatoin estimator, an AB/depth plotter and other improvements to make it of greater utility in cancer samples.

5 days ago 2 0 0 0

somalier is a pretty cool idea and implementation. it's one of my tools that I think deserves more use. ;)

1 week ago 2 0 0 0
Post image

the next version will have better contamination estimates (CHARR-like) and pairwise contamination (CONPAIR-like) and concordance of homozygous sites. It will also have a tool to plot sketches like this as interactive html where we can see large chromosomal events.

1 week ago 2 0 1 1
Post image

as part of my work with isabl genomics, I've been updating somalier with more info for cancer samples (contamination and concordance). somalier extracts small "sketches" of ~20K sites from a BAM/CRAM/VCF and then does rapid all-vs-all kinship checks. (1/n)

1 week ago 1 1 1 0
Advertisement

the codex desktop app was only available as a Mac DMG. A while ago, I downloaded it and told codex cli to make it work on linux. It did. Now I use that nearly exclusively.

gist.github.com/brentp/b6bd8...

1 month ago 3 1 0 0

yes, that was the reasoning

1 month ago 2 0 0 0

I don't think so. But a skill or MCP could work as well.

1 month ago 1 0 0 0

Again, I think making a custom GPT (or similar) as I did for bedder will be the default for most software shortly. If it can't answer common questions, improve the docs and refresh and the maintenance burden of answering user questions goes down.

1 month ago 5 0 0 0
Preview
bedder-manuscript.v10 Bioinformatics, 2026, 0โ€“0 doi: 10.1093/bioinformatics/xxxxx Advance Access Publication Date: DD Month YYYY Genome Analysis Genome Analysis bedder: flexible genome interval intersection with user-defi...

Brent Pedersen, Mitchell Vollger and I have "posted" our preprint of the manuscript describing bedder, a complement to the functionality of bedtools. The "preprint server" we have chosen is google docs because it was rejected by biorxiv.

docs.google.com/document/d/1...

1 month ago 41 18 7 2

Here is the reply "bioRxiv is intended for complete research papers with new data/analysis rather than announcements of tools/resources/reagents and your submission falls into this category"

1 month ago 0 0 1 0

I would guess that soon, every tool will have one of these. It is more interactive than just documentation and better than waiting for a grumpy maintainer to answer the same question in a github issue or personal email.

1 month ago 0 0 0 0
ChatGPT - bedder help with bedder commands and python snippets

Feeding my markdown docs to this, then using it in anger shows where the docs need to be bolstered and provides a nice reference for users:
help.openai.com/en/articles/...

here's one for bedder: chatgpt.com/g/g-69a6027f...

1 month ago 1 0 0 1

I had a similar, less principled way of doing this, but this does seem to work quite well after trying a couple of large changes with it: boristane.com/blog/how-i-u...
(I use codex, but same idea)

2 months ago 7 1 0 0
Advertisement

AGENTS.md > skills

vercel.com/blog/agents-...

2 months ago 3 0 0 0

it does support more than 2 sets of intervals, but now, a single --b-piece controls all of them. I'll have a look at this and your other comments. thank you!

2 months ago 1 0 1 0

scratch that. better to use gemini-cli, turn on preview features and then get gemini 3.0 pro and flash for free for a decent amount each day.

2 months ago 0 0 0 0

cerebras is so fast it makes the human <-> agent loop (or one-shot) very quick

and crush will also detect your GEMINI/OPENAI/OPENROUTER/CLAUDE env API vars as well

3 months ago 0 0 0 0

crush coding agent with a free plan from cerebras using glm4.7 model is an easy way to start with coding cli tools.

inference-docs.cerebras.ai/support/rate...
github.com/charmbracele...

crush is static binary that detects your CEREBRAS_API_KEY. GLM 4.7 isn't as good as Opus, but it is very solid.

3 months ago 1 0 1 1
Preview
GitHub - brentp/htsvcf: lib for scripting vcf access from rust and node module for vcf access from js/ts lib for scripting vcf access from rust and node module for vcf access from js/ts - brentp/htsvcf

another reminder about htsvcf which allows either
1. rust library to support javascript expressions (filtering/modification) on variants from VCF/BCF
2. javascript (node/bun) library for reading/writing/modifying variants from vcf/bcf.
both very performant.
github.com/brentp/htsvcf

3 months ago 8 0 0 0
AI Coding - Brent Pedersen Writing real software with AI coding tools

a post about how, with LLMs, I wrote a new set of libraries.
Wrapping htslib is my hello-world but doing it in rust to allow javascript expressions handled by V8 was more substantial project.

The tools and LLMs are now getting quite good:
brentp.github.io/latest/blog/...

let me know what you think

3 months ago 11 2 0 0
Calendar

my LLM-coded version of the single-page year calendar that's been going around. This one can be scripted with javascript to highlight cells, change the borders and texts. It also allows saving and sharing via url:
brentp.github.io/single-page-...

with code here:
github.com/brentp/singl...

3 months ago 1 0 0 0

exactly! and with Plan mode in opencode (or architect in kilo code) this becomes even more mind-blowing

3 months ago 0 0 0 0

so Opus 4.5 is excellent for coding. I've been using these LLMs for coding for a while and it felt like slow improvement with each new model and sometimes more work to guide the model. Opus 4.5 just works. It solves hard problems and has good taste.

Anyone else notice this?

3 months ago 5 0 2 0
Advertisement

I'll write more about this later, but as an experiment in LLM coding (GPT-5.2 and Opus 4.5), I wrote a JS wrapper for rust-htslib to read/write modify VCFs:
www.npmjs.com/package/htsvcf
works on linux (x64/aarch64) and OSX.
brentp.github.io/htsvcf/lates...

4 months ago 2 0 1 0
Preview
Release Release v0.1.8 ยท quinlan-lab/bedder-rs Changes in v0.1.8 Downloads bedder-static-linux-x86_64: Static binary for Linux x86_64 (no dependencies required) bedder-static-macos-x86_64-python3.13: macOS x86_64 binary built with Python 3.13 ...

Get bedder v0.1.8 and r๐—ฒ๐—ฎ๐—ฑ ๐˜๐—ต๐—ฒ ๐—ฑ๐—ผ๐—ฐ๐˜‚๐—บ๐—ฒ๐—ป๐˜๐—ฎ๐˜๐—ถ๐—ผ๐—ป here: github.com/quinlan-lab/...

We are looking for researchers to kick the tires, integrate bedder into their pipelines, and provide feedback on the Python functions, performance, and overall user experience! Please share and give us your feedback.

4 months ago 11 6 1 0
Intro to Bedder โ€“ The Quinlan Lab

We are thrilled to announce the first official release (v0.1.8) of #๐—ฏ๐—ฒ๐—ฑ๐—ฑ๐—ฒ๐—ฟ, the successor to one of our flagship tool, #๐—ฏ๐—ฒ๐—ฑ๐˜๐—ผ๐—ผ๐—น๐˜€! Based on ideas we conceived of long ago (!), this was achieved thanks to the dedication of Brent Pedersen.

1/n

4 months ago 298 152 5 11

thank you. I'll have a look next week!

5 months ago 1 0 0 0