We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98bba3b commit df19f2eCopy full SHA for df19f2e
src/k2mask.cc
@@ -348,7 +348,6 @@ int main(int argc, char **argv) {
348
std::cerr << prog << ": reads from stdin and writes to stdout" << std::endl;
349
usage(prog);
350
}
351
- gzistream is(infile.c_str());
352
auto outputFileMode = std::ios::out | std::ios::trunc;
353
std::ofstream out(outfile, outputFileMode);
354
std::vector<SDust *> sds(threads);
@@ -357,7 +356,7 @@ int main(int argc, char **argv) {
357
356
358
thread_pool pool(threads - 1);
359
std::queue<std::future<SDust *>> tasks;
360
- BatchSequenceReader reader;
+ BatchSequenceReader reader(infile.c_str());
361
for (SDust *sd = sds.back(); reader.NextSequence(sd->seq); sd = sds.back()) {
362
sds.pop_back();
363
if (threads > 1) {
0 commit comments