Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subsetting samples #429

Open
brentp opened this issue Apr 19, 2024 · 0 comments
Open

subsetting samples #429

brentp opened this issue Apr 19, 2024 · 0 comments

Comments

@brentp
Copy link
Contributor

brentp commented Apr 19, 2024

Hi, as far as I can tell, it's not possible (without using rust_htslib::htslib low level stuff) to subset bcf samples.
I see it happens in the tests, but those seem to be using private attributes.

I have put a full example here.
https://github.com/brentp/help-repositories/blob/rust-htslib-subset-samples/src/main.rs

Would someone help me to correctly open a file with many samples, subset to some samples, and write the output?
thanks,
-Brent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant