This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to plot a mutation barplot of the SARS-CoV-2 genome?

I would like to plot a mutation barplot such as that below. Do you know any R or Python library for this purpose?

Initially, I thought to build a categorical heatmap, but it does not seem clever to me (I would need to generate a matrix of 30000 columns, the size of the SARS-CoV-2 genome).

enter image description here

seaborn python sars-cov-2 r

1 answer

I was able to do it using striplot from seaborn.

Log in to answer this question.