Entering edit mode
7 weeks ago
Uveyik
▴
40
Hi everyone, is it possible to convert between sam and bam file inside C++ code. I knowhtslib library offers implementation of file formats including sam and bam. However, I could not find a documentation describing this conversion.
I know samtools view
command can be used for this purpose but I need to deal with this inside C++ code.
Extract bam file to sam inside code?
GAM file columns?