reference counted bam1_t wrapper can be used directly as a bam1_t *
reference counted bam_hdr_t wrapper can be used directly as a bam_hdr_t *
reference counted bcf1_t wrapper can be used directly as a bcf1_t *
reference counted bcf_hdr_t wrapper can be used directly as a bcf_hdr_t *
reference counted BGZF wrapper can be used directly as a BGZF *
reference counted faidx_t wrapper can be used directly as a faidx_t *
reference counted htsFile wrapper can be used directly as a htsFile *
reference counted htsFile wrapper can be used directly as a htsFile *
reference counted htsFile wrapper can be used directly as a htsFile *
reference counted Kstring wrapper can be used directly as a kstring_t *
reference counted tbx_t wrapper can be used directly as a tbx_t *
reference counted htsFile wrapper can be used directly as a htsFile *
can we use @live for scope checking?
Template struct that wraps an htslib pointer and reference counts it and then destroys with destroyFun when it goes truly out of scope