Skip to content

Instantly share code, notes, and snippets.

@pb-cdunn
Created June 22, 2019 17:52
Show Gist options
  • Save pb-cdunn/5fa887c0bd3547db14994c812bd16aff to your computer and use it in GitHub Desktop.
Save pb-cdunn/5fa887c0bd3547db14994c812bd16aff to your computer and use it in GitHub Desktop.
PacBio::BAM::DataSet input;
std::vector<std::string> result;
for (const auto& bamFile : input.BamFiles())
{
std::string outFn = "...";
PacBio::BAM::SubreadSet s{bamFile};
s.Filters(input.Filters());
s.Save(outFn);
result.push_back(outFn);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment