// single value
PbiFilter filter{ PbiBarcodeForwardFilter{50} };
PbiFilterQuery query(filter);
for (const BamRecord& record : query) {
    assert(record.BarcodeForward() == 50);
}

// whitelist
vector<int16_t> whitelist = { 50, 100 };
PbiFilter filter{ PbiBarcodeForwardFilter{whitelist} };
PbiFilterQuery query(filter);
for (const BamRecord& record : query) {
    assert(record.BarcodeForward() == 50 || record.BarcodeForward() == 100);
}

