-
Notifications
You must be signed in to change notification settings - Fork 43
Description
Good morning,
I tried executing HotNet2 on a Mac with Python 3.6.5 (command: python -V). As recommended on the README.txt file (present in the project’s root), I used virtualenv (v. 16.2.0, installed with the command: pip install virtualenv).
I used the “paper_commands.sh” file to see the commands to be executed via terminal. I based myself on:
> python ../makeNetworkFiles.py -e data/networks/hint+hi2012/hint+hi2012_edge_list -i data/networks/hint+hi2012/hint+hi2012_index_gene -nn hint+hi2012 -p hint+hi2012 -b 0.4 -o data/networks/hint+hi2012 -np 100 -c 1
Executing it, it gives me this error:
File "makeNetworkFiles.py", line 60
if not args.only_permutations:
^
SyntaxError: invalid syntax
The error is related to the -op (only permutation) parameter which is not defined in the command. So, I did some tests adding the file “data/heats/pan12.gene2freq.txt”, present in the project, but I still do not work (so it becomes python ../makeNetworkFiles.py -e data/networks/hint+hi2012/hint+hi2012_edge_list -i data/networks/hint+hi2012/hint+hi2012_index_gene -nn hint+hi2012 -p hint+hi2012 -b 0.4 -o data/networks/hint+hi2012 -np 100 -c 1 -op data/heats/pan12.gene2freq.txt).
Later, I went down to the "example" folder. By consulting the README.txt file in the folder I tried to run the command:
> python makeRequiredPPRFiles.py @example/configs/influence_matrix.config
Even though it was executed, it still couldn’t find the file “makeRequiredPPRFiles.py”, giving me the error:
python: can't open file 'makeRequiredPPRFiles.py': [Errno 2] No such file or directory
Do you have any suggestion?
Best regards
Alessandro LUMACA