basically I created a subclass of streambuf that wrap the gzlib (https://www.zlib.net/manual.html) and I use this new class to initialize a istream that reads the vcf
I added a library -lz in the makefile.
I don't have any unit test but it seems to merge with a mix of vcf+vcf.gz files.
I changed some message from 'cout' to 'cerr' and exit with failure (not exit(0) )
This PR is related to https://github.com/fritzsedlazeck/SURVIVOR/issues/72
it adds a support for g-zipped stream for 'merge'
basically I created a subclass of streambuf that wrap the gzlib (https://www.zlib.net/manual.html) and I use this new class to initialize a istream that reads the vcf
I added a library
-lz
in the makefile.I don't have any unit test but it seems to merge with a mix of vcf+vcf.gz files.
I changed some message from 'cout' to 'cerr' and exit with failure (not
exit(0)
)