DataSink and DataSource constructors (from https://github.com/bcgsc/btllib/blob/master/include/btllib/data_stream.hpp) should accept a threads parameter to limit the number of threads used by external tools like pigz for compression. This will also consequently require adding the same parameter to SeqWriter's constructor, since SeqWriter uses DataSink.
DataSink and DataSource constructors (from https://github.com/bcgsc/btllib/blob/master/include/btllib/data_stream.hpp) should accept a
threadsparameter to limit the number of threads used by external tools like pigz for compression. This will also consequently require adding the same parameter to SeqWriter's constructor, since SeqWriter uses DataSink.