sanger-pathogens / Roary

Rapid large-scale prokaryote pan genome analysis
http://sanger-pathogens.github.io/Roary
Other
303 stars 189 forks source link

Unable to run roary.plots #527

Open EllistonV opened 3 years ago

EllistonV commented 3 years ago

Hello,

I ran roary and got the necessary files. I downloaded the roary.plots code in a "roary_plots.py" file. I tried running the next line of code:

python roary_plots.py core_gene_alignment.nwk gene_presence_absence.csv

I got the following message: Traceback (most recent call last): File "roary_plots.py", line 65, in <module> import matplotlib ModuleNotFoundError: No module named 'matplotlib'

I hope you can help me out. Thank you!

AndreaZen-1 commented 3 years ago

You are missing the required python libraries to make the plots.

Install it with pip, like so: pip install matplotlib

You will probably also need seaborn and biopython, that you can install in the same way.