iqbal-lab-org / cobs

COBS - Compact Bit-Sliced Signature Index (for Genomic k-Mer Data or q-Grams)
https://panthema.net/cobs
MIT License
16 stars 2 forks source link

Allowing streaming of COBS indexes #18

Closed leoisl closed 2 years ago

leoisl commented 2 years ago

Now we can stream COBS indexes into cobs (e.g. cobs ... -i <(xz --decompress --stdout --no-sparse --ignore-check index.xz)). To do so, however, we need to know beforehand the index size, which can be passed now with the new option --index-sizes. A better implementation would be to store the index size in the header so it can be read even when streaming, but this is for a future PR