Hi @althonos,
I'm testing out nafcodec's Python library and I noticed that the files I write with it's encoder can't be decompressed with the unnaf command. See a reproducible example below.
import nafcodec
with nafcodec.open(
"sequence.naf", "w", sequence_type="dna", sequence=True, id=True
) as e:
e.write(nafcodec.Record(id="seq1", sequence="ATCG"))
$ unnaf -c sequence.naf
unnaf error: incomplete or truncated input
I can, however, read the sequence.naf within Python using nafcodec.
I noticed that in the README you mention that you still need to implement the encoder, so I'm wondering is this is indeed a bug or if you're still working on the encoder.