marbl / meryl

A genomic k-mer counter (and sequence utility) with nice features.
109 stars 11 forks source link

API docs #46

Open Adamtaranto opened 1 month ago

Adamtaranto commented 1 month ago

Are there any draft docs available for the Meryl C++ API?

Or, very optimistically, has anyone written any python bindings for doing kmer set operations with Meryl?

brianwalenz commented 1 month ago

Sadly, there is neither documentation nor a python interface, and it will probably be painful to get external code to link to this stuff - I've put no effort into even thinking about exporting a library.

The only feasible approach would be to add a new tool in https://github.com/marbl/meryl/tree/master/src - for example, copy meryl-lookup to fancy-processing (renaming files and adding targets to main.mk) then modifying that to do what you want.