Black Lives Matter. Please consider donating to Black Girls Code today.

Adequate function(s) in Plotly to display result of pairwise alignment

I want to use Plotly so as to compare two DNA sequences at first , then so as to diplay the result of the pairwise alignment for one sequence vs multi sequences . I wonder if there is adequate function(s) in Plotly. If so, please inform me of the example(s) and/or the reference(s).

Hi @yuki, could you post a screenshot or drawing of the kind of plot you have in mind? That way you may be able to get some help from folks who don’t have experience with pairwise DNA sequence visualization :slightly_smiling_face:
-Jon

Dear Jon;

I’d like to thank you for paying attention to my inquiry. I borrowed the shown-below figure from DOI: 10.1186/1742-4690-4-80.

I want to draw this type of figure, which will let us get deeper knowledge on biology. Thank you in advance for your help.

Best regards,

Yuki

Hi @yuki,

A lot of the components of this plot map directly to plotly.py constructs

Heatmap: https://plot.ly/python/heatmaps/
Colorbar: https://plot.ly/python/colorscales/#custom-colorbar
Subplots: https://plot.ly/python/subplots/
Scatter(line): https://plot.ly/python/line-and-scatter/
Shapes (red rectangles): https://plot.ly/python/shapes/#rectangle-positioned-relative-to-the-plot--to-the-axes
Pie Chart: https://plot.ly/python/pie-charts/

The parts that don’t correspond as well are the labeled groups on the y-axis of the heatmaps…
00%20AM

and the diagrams below each heatmap
09%20AM

Hope that helps!
-Jon

Dear Jon;

Thank you for your instruction. I have carefully investigated the examples in your shown-below lists. If I would have sufficient knowledge and understanding about Plotly and Python, I might try to create the figure such as x axis : DNA(RNA) sequences, y axis: each gene z: degree of similarity. I will continue to investigate so that biologists can easily recognize similarity among genes in their interest through Plotly graphics better than NCBI BLAST. I am very glad to continuously get your guidance if it is acceptable to you.

Best regards,

Yuki

1 Like