I couldn't find any API documentation for HTSLIB
C implementation. And I even failed to find tutorials for using HTSLIB
C library to read BAM/BCF or other files.
Does anyone know where is its doc?
I couldn't find any API documentation for HTSLIB
C implementation. And I even failed to find tutorials for using HTSLIB
C library to read BAM/BCF or other files.
Does anyone know where is its doc?
The documentation is mostly just the header files in the htslib/
subdirectory. If you have any questions on usage, you can probably get decently quick replies here (at least I've made fairly heavy use of the API over the years, though I've never needed to deal with the BCF side).
Dear Devon I have problem with its compilation. Would you please tell me how I should start? In a simple case, I want to use #include "htslib/sam.h". Should I build samtools and htslib beforehand? when I want to compile, should I add the address using -I and -L ? thank you in advance.
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
The library is actually built with Doxygen-friendly API formatting. I was able to generate a much more user-friendly API with Doxygen.