Function noodles_tabix::write
source · [−]Expand description
Writes a tabix index to a file.
This is a convenience function and is equivalent to creating a file at the given path and writing the index.
Examples
use noodles_tabix as tabix;
let index = tabix::Index::default();
tabix::write("sample.vcf.gz.tbi", &index)?;