onecodex / needletail

Fast FASTX parsing and k-mer methods in Rust
MIT License
174 stars 20 forks source link

Add faidx #69

Closed wjwei-handsome closed 1 year ago

wjwei-handsome commented 1 year ago

Hi!

A period of conferences slowed down my code progress.

I have now added an IndexedReader and completed the basic functions including random access regions in plain text fasta file and it's .fai file.

TODO:

Best wishes.

wjwei-handsome commented 1 year ago

Hi! @Keats

Please let me know if where I need to modify :)

Thanks!

Keats commented 1 year ago

Hi @wjwei-handsome

We talked about this a bit internally but indexed fasta files is not something we use. It would be better to have that as a separate crate that uses needletail and we can expose some internals if needed.

wjwei-handsome commented 1 year ago

Understand.

I will just keep my fork for some cases to use faidx.

Thanks again for such a cool crate, it really help me a lot.😁