Resources to learn htslib and C/C++
1
2
Entering edit mode
4.9 years ago

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.

c++ c htslib • 2.4k views
ADD COMMENT
1
Entering edit mode

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.

ADD REPLY
1
Entering edit mode

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).

ADD REPLY
0
Entering edit mode

HI, have you solved your questions ?

ADD REPLY
0
Entering edit mode

By the way, why not to deveop C++ lib in community:

https://github.com/chernouhov/CBioInfCpp-0-

ADD REPLY
1
Entering edit mode
4.7 years ago
tlytiger ▴ 10

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.

ADD COMMENT
0
Entering edit mode

what's your github link ?

ADD REPLY

Login before adding your answer.

Traffic: 2478 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6