-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
calyx_depth.py
: use the eDSL, stop using odgi's Python bindings
#105
Comments
Wonderful; thank you for summarizing this so clearly! Indeed, both of these would be great advances that would "modernize" our hardware generation. One small operational note: the eDSL adoption can happen incrementally, if it's a lot of work. That is, it's not necessary to flip everything over all at once; it suffices to convert individual pieces to use the |
Thanks Adrian! Dropping the "triage required" tag. This issue remains up for grabs. |
This looks good to me! I agree that switching over the builder library isn't a top priority, but it would certainly be nice to at some point. I don't necessarily think it is a bad thing to use |
Indeed. Sticking with |
Currently, calyx_depth.py generates Calyx code
parse_data
which in turn uses the Python bindings).I propose to change both of these.
These relatively minor gains aside, the true win is that, after this, we will truly be using odgi only as a source of inspiration and oracle-testing, not as part of our workflow.
We currently do something like:
graph.gfa --odgi build--> graph.og --parse_data.py--> graph.data
calyx_depth.py (with one call to parse_data.py to learn the graph's dimensions) --> calyx_depth.futil
calyx_depth.futil
tangoes withgraph.data
in the usual Calyx way.My proposal is something more like:
graph.gfa --pollen_data_gen--> graph.data
calyx_depth.py (with one call to mygfa to learn the graph's dimensions, and with calls to the Calyx eDSL for lightening) --> calyx_depth.futil
calyx_depth.futil
tangoes withgraph.data
in the usual Calyx way.The first piece of this is already there: I already generate the same
graph.data
usingpollen_data_gen
as one would have using the usual route. The third piece should work if the first two work.The second piece decomposes into two unrelated parts:
calyx_depth.py
: divest from odgi's Python bindings #107calyx_depth.py
: lighten notation by using Calyx eDSL #106The text was updated successfully, but these errors were encountered: