sgkit icon indicating copy to clipboard operation
sgkit copied to clipboard

Support `bcftools`-style filtering

Open tomwhite opened this issue 6 months ago • 0 comments

It would be very useful to have the ability to subset a dataset using bcftools expressions for regions (-r/-t), filter expressions (-i/-e), and samples (-s).

This is now possible using the work we have done in vcztools, such as https://github.com/sgkit-dev/vcztools/pull/234. In particular, we now have an index that allows efficient region queries (which will address #25).

This will also address #1084.

See an initial prototype in https://github.com/sgkit-dev/bio2zarr/issues/365#issuecomment-2859114862

tomwhite avatar Jul 01 '25 09:07 tomwhite