Apologies for all of the issues as of late. I had trouble running the conda
installation:
(unifunc_env) -bash-4.2$ unifunc cluster_function -i sample.tsv -o unifunc_output/ -kh
Traceback (most recent call last):
File "/usr/local/devel/ANNOTATION/jespinoz/anaconda3/envs/unifunc_env/bin/unifunc", line 10, in <module>
sys.exit(main())
File "/usr/local/devel/ANNOTATION/jespinoz/anaconda3/envs/unifunc_env/lib/python3.6/site-packages/unifunc/__main__.py", line 84, in main
argv_cluster_representative_function()
File "/usr/local/devel/ANNOTATION/jespinoz/anaconda3/envs/unifunc_env/lib/python3.6/site-packages/unifunc/__main__.py", line 73, in argv_cluster_representative_function
output_without_representative=output_without_representative,
File "/usr/local/devel/ANNOTATION/jespinoz/anaconda3/envs/unifunc_env/lib/python3.6/site-packages/Workflows/Representative_function/Cluster_Representative_Function.py", line 27, in __init__
self.unifunc = source.UniFunc()
File "/usr/local/devel/ANNOTATION/jespinoz/anaconda3/envs/unifunc_env/lib/python3.6/site-packages/unifunc/source.py", line 1062, in __init__
self.wordnet_tagger = WordNetTagger(go_terms=self.go_terms, perceptron_tagger=self.tagger)
File "/usr/local/devel/ANNOTATION/jespinoz/anaconda3/envs/unifunc_env/lib/python3.6/site-packages/unifunc/source.py", line 732, in __init__
if self.tag_tokens_perceptron([g]) not in ['ADP','CONJ','DET','PRON','PRT']:
File "/usr/local/devel/ANNOTATION/jespinoz/anaconda3/envs/unifunc_env/lib/python3.6/site-packages/unifunc/source.py", line 740, in tag_tokens_perceptron
return _pos_tag(tokens, tagset='universal', tagger=self.perceptron_tagger,lang='eng')
TypeError: _pos_tag() got an unexpected keyword argument 'lang'