broadinstitute / poasta

Fast and exact gap-affine partial order alignment
BSD 3-Clause "New" or "Revised" License
38 stars 2 forks source link

Better optional support for tracking the aligner state, saving data that could be used for plotting and debugging #9

Closed lrvdijk closed 1 year ago

lrvdijk commented 1 year ago

Right now, I'm using a whole bunch of print statements to track what the aligner is doing. I also output a TSV with current computed offsets which can be visualized later in a Jupyter Notebook.

For optimal performance, however, we need to get rid of the print statements, and have a different way to output the aligner state for debugging purposes without getting in the way of the algorithm.

Potentially use a different thread for writing debug state to disk.