CartwrightLab / dawg

Simulating Sequence Evolution
GNU General Public License v2.0
11 stars 3 forks source link

External Modules for DAWG (Python, JS) #39

Closed zmertens closed 5 years ago

zmertens commented 6 years ago

I've been doing a lot of research into Cython and I think it's feasible to create a wrapper using Cython that would allow DAWG to be imported as a module in Python. Based on the examples I've seen from Cython book and the fact that DAWG doesn't use very many dependencies I think a wrapper for DAWG would consist of a single pyx file. The pyx is used by Python's distutils and the rest of the compilation is handled by Cython. There may be some issues to deal with handling Boost.

Updated to include JavaScript, it was mainly an obsession of mine to finally build something with Emscripten, but both language modules are still very experimental.