Entering edit mode
7 weeks ago
Uveyik
▴
40
Hi everyone, how can I check if a given file is zipped or not(sam or bam) without looking at the file name in C++ code? Then, how can I convert bam files to sam in C++ code? I can use samtools view
in terminal, but how can do it with code?