TravisWheelerLab / AvxWindowFmIndex

A fast, AVX2 and ARM Neon accelerated FM index library
BSD 3-Clause "New" or "Revised" License
28 stars 2 forks source link

Fix fasta headers #23

Closed Sawwave closed 8 months ago

Sawwave commented 8 months ago

This patch fixes an issue with the FastaVector's metadata and header data. Previously, while the lengths of these two pieces of data were loaded when an AwFmIndex built from a fasta was loaded from file, but the actual data was never read. Now the data should be read correctly, and you can now retrieve both the headers and the positional metadata from the fastaVector struct.