I've run fastStructure and chooseK on my data, and now I'm trying to run distruct on the data that maximizes marginal likelihood, but I'm getting a _tkinter.TclError.
my output looks like this:
file with population labels is not provided or does not exist ....
creating population labels based on inferred admixture proportions
Traceback (most recent call last):
File "distruct.py", line 170, in <module>
figure = plot_admixture(admixture, population_indices, population_labels, title)
File "distruct.py", line 16, in plot_admixture
figure = plot.figure(figsize=(5,3))
File "/usr/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 527, in figure
**kwargs)
File "/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_tkagg.py", line 84, in new_figure_manager
return new_figure_manager_given_figure(num, figure)
File "/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_tkagg.py", line 92, in new_figure_manager_given_figure
window = Tk.Tk()
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1818, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable