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

Question: VCF file indexing function #373

Open
holtjma opened this issue Jan 19, 2023 · 0 comments
Open

Question: VCF file indexing function #373

holtjma opened this issue Jan 19, 2023 · 0 comments

Comments

@holtjma
Copy link

holtjma commented Jan 19, 2023

Hi,

I'm trying to find a function that will build a VCF index file (.tbi). I found one for BAM files that works great (https://docs.rs/rust-htslib/latest/rust_htslib/bam/index/fn.build.html), but I can't seem to find an equivalent for VCFs.

  1. Does that equivalent exist?
  2. If not, is the best way to tackle this by implementing a similar wrapper as the bam::index::build(...), but using https://docs.rs/rust-htslib/latest/rust_htslib/htslib/fn.bcf_index_build3.html as the interface to htslib?

Thanks in advance!

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