This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Resources to learn htslib and C/C++

I'm a somewhat experienced programmer that primarily works in Perl and Python. However, I am looking to expand my skills into C++ or C.

Most of my work will use the htslib API. But I'm confused on how to really use this library. I already know some of the fundamentals of C++.

Are there any books or online resources that focuses on learning how to use the htslib in C/C++ ?

Thanks.

cpp htslib c

I might be wrong, but I don't think there is a documentation for htslib, except those well commented header files which can help you get started.

As suggested, there are only the headers. If you want examples of usage, then look in my repository in github (username dpryan79). I make use of much of much of the BAM/CRAM functionality across a few of the repositories (e.g., PileOMeth, bison and methIndelRealigner).

HI, have you solved your questions ?

1 answer

No. to my knowledge. I am using the Htslib now, for bam IO and persing. And It take me a long time understanding how to use it.

Log in to answer this question.