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

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

