refresh-bio / kmer-db

Kmer-db is a fast and memory-efficient tool for large-scale k-mer analyses (indexing, querying, estimating evolutionary relationships, etc.).
GNU General Public License v3.0
81 stars 16 forks source link

Convert db to csv #16

Closed nicdemon closed 2 years ago

nicdemon commented 2 years ago

Hi, I am trying to use your kmer-db to build a kmers database for further analysis and would need to be able to read it in python (ideally in csv format) but can't seem to find a way to read or convert the built database into any other format.

Here is the code I used to generate the database which works fine:

kmer-db-1.9.2 build -k 12 -multisample-fasta sample_list.txt test_db.csv