DiscoVista
DiscoVista copied to clipboard
KeyError: 'WS_HOME'
Why does the "KeyError: 'WS_HOME'" occur? But it was normal several months ago? Did anyone encounter the same problem as me?
python2 /data/01/user156/fenshu/ONT/01.genomic_comparison/5.phylogenetic/split_window/DiscoVista/src/utils/discoVista.py -p ./tree -m 5 -a annotation.txt -o ./tree/results -g paradxus
Traceback (most recent call last):
File "/data/01/user156/fenshu/ONT/01.genomic_comparison/5.phylogenetic/split_window/DiscoVista/src/utils/discoVista.py", line 60, in
Encountered the same problem with you.
Then you need to set environmental variable WS_HOME to the directory under which DiscoVista repository is placed. For example, if you clone to DiscoVista and placed it under the /Users/Erfan/reposiotry folder, then you would export WS_HOME as /Users/Erfan/reposiotry.
Thank you very much. It works well. However, the other error occurred. I checked my annotation file, and there was no wrong.
USAGE: [PATH] [annotation] [names] [OUTDIR] [outgroup]
outgroup is Base
File "/data/01/user156/fenshu/ONT/01.genomic_comparison/5.phylogenetic/split_window/DiscoVista/src/utils//check-anot-if-mono.py", line 20
alltmp = tree_tmp.encode_bipartitions(is_bipartitions_mutable = False)
TabError: inconsistent use of tabs and spaces in indentation