Plotting NeedlemanWunsch - Alignment in Python: How to create GridArrows + heatmap plots?

38 views Asked by At

I am searching for a way to plot the Global Alignment in Python, such that it looks like in the appended image.Global ALignment

Despite going through many documentaries of matplotlib and seaborn, I wasn't able to find a satisfying solution. I tried to adjust the grid lines of my plot to change them into arrows or thought of a way to implement the plt.arrow of matplotlib. However I can't think of a way to calculate the grid coordinates.

The next thing would be to color every section, such that their score is shown as heatmap. But I am not quite sure if implementing both features would be possible?

0

There are 0 answers