jgeofil / mycorrhiza-algorithm

Combining phylogenetic networks and Random Forests for prediction of ancestry from multilocus genotype data
GNU General Public License v3.0
6 stars 2 forks source link

Mycorrhiza problem #6

Open rhaphael opened 4 years ago

rhaphael commented 4 years ago

I tried to run Mycorrhiza examples with Ubuntu 18.04.4 using the python script, but the following error occurs:

Outputting data in Nexus format.: 100%|████████| 90/90 [00:00<00:00, 939.25it/s] Building network from file data/JN3L2X7MA3CPN57GYCSHLV21EUVZNONP.nex SplitsTree -g -v -i /home/rhaphael/Desktop/Mycorrhiza/mycorrhiza-master/examples/data/JN3L2X7MA3CPN57GYCSHLV21EUVZNONP.nex multiprocess.pool.RemoteTraceback: """ Traceback (most recent call last): File "/home/rhaphael/.local/lib/python3.6/site-packages/multiprocess/pool.py", line 119, in worker result = (True, func(*args, *kwds)) File "/home/rhaphael/.local/lib/python3.6/site-packages/multiprocess/pool.py", line 44, in mapstar return list(map(args)) File "/home/rhaphael/.local/lib/python3.6/site-packages/mycorrhiza/analysis/analysis.py", line 141, in func return sn.execute_nexus_file(file) File "/home/rhaphael/.local/lib/python3.6/site-packages/mycorrhiza/network/network.py", line 25, in execute_nexus_file bash_nexus_file(filename) File "/home/rhaphael/.local/lib/python3.6/site-packages/mycorrhiza/network/network.py", line 40, in bash_nexus_file process = subprocess.Popen(bash_command.split(), stdout=subprocess.PIPE, shell=True if os_name == 'Windows' else False) File "/usr/lib/python3.6/subprocess.py", line 729, in init restore_signals, start_new_session) File "/usr/lib/python3.6/subprocess.py", line 1364, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'SplitsTree': 'SplitsTree' """ How do I solve this problem (error)?

RGoess commented 4 years ago

Have you installed Splitstree in your home directory? (http://www.splitstree.org/)

mizubuti commented 3 years ago

Yes, I had it installed on my home directory.

On Fri, May 29, 2020 at 2:15 PM Rose notifications@github.com wrote:

Have you installed Splitstree in your home directory? ( http://www.splitstree.org/)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jgeofil/mycorrhiza/issues/6#issuecomment-636086843, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC3RS6CX2KWRT3IZNTWOT7LRT7USNANCNFSM4LPTLD5A .