I am able to generate the pyham_analysis object but one of the things I want to do is generate a TreeProfile for a specific HOG as explained here. https://zoo.cs.ucl.ac.uk/tutorials/tutorial_pyHam_get_started.html#genomedef
It requires hog_of_interest = ham_analysis.get_hog_by_id(HOG_ID), there is where the package fails.
The other error I get is this one (if I start from ham_analysis):
>>> treeprofile = ham_analysis.create_tree_profile(outfile="treeprofile_example.html")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/jl/.local/lib/python3.6/site-packages/pyham/ham.py", line 404, in create_tree_profile
tp = TreeProfile(self, hog=hog)
File "/home/jl/.local/lib/python3.6/site-packages/pyham/TreeProfile.py", line 34, in __init__
self.treemap = self.compute_tree_profile_full()
File "/home/jl/.local/lib/python3.6/site-packages/pyham/TreeProfile.py", line 168, in compute_tree_profile_full
node_genome = self.ham.get_ancestral_genome_by_namenode.name)
File "/home/jl/.local/lib/python3.6/site-packages/pyham/ham.py", line 638, in get_ancestral_genome_by_name
raise KeyError('No ancestral genomes match the query name: {}'.format(name))
KeyError: 'No ancestral genomes match the query name: LUCA'
this is the best name for a package in the history of bioinformatics!