Relative Content

Tag Archive for rustvcf-variant-call-formathtslib

Using rust-htslib is there a fast way to grab all the genotypes?

I’m trying to read all the genotypes in a VCF file using rust_htslib, convert them into a different coding, and store them in a Vector of Vectors, along with some metadata in a HashMap. I’ve got it working with the following code, but it’s exceedingly slow (10x slower than working with the VCF as a text file).

Using rust-htslib is there a fast way to grab all the genotypes?

I’m trying to read all the genotypes in a VCF file using rust_htslib, convert them into a different coding, and store them in a Vector of Vectors, along with some metadata in a HashMap. I’ve got it working with the following code, but it’s exceedingly slow (10x slower than working with the VCF as a text file).

Using rust-htslib is there a fast way to grab all the genotypes?

I’m trying to read all the genotypes in a VCF file using rust_htslib, convert them into a different coding, and store them in a Vector of Vectors, along with some metadata in a HashMap. I’ve got it working with the following code, but it’s exceedingly slow (10x slower than working with the VCF as a text file).