Hi
No, I have not changed anything. It ran when I did it for first time, but when I tried to run it again, it gave me MemoryError, then I placed permuted network files in external disk and run it again and got following error:
python HotNet2.py -nf paper/data/networks/HIPPIE/HIPPIE_ppr_0.47.h5 -pnp /media/ravi/Seagate\ Expansion\ Drive/hotnet2/paper/data/networks/Hippie/permuted/HIPPIE_ppr_0.47_##NUM##.h5 -hf paper/data/heat2/Final.json -np 100 -hp 100 -o results_media_2
WARNING: Could not import C module; falling back to NumPy for similarity matrix creation.
* Running HotNet2 in consensus mode...
- HIPPIE mutation_f
Traceback (most recent call last):
File "HotNet2.py", line 139, in <module>
run(get_parser().parse_args(sys.argv[1:]))
File "HotNet2.py", line 85, in run
single_runs, consensus, linkers, auto_deltas, consensus_stats = consensus_with_stats(args, networks, heats)
File "/home/ravi/Documents/test_downloaded_data/hotnet2-1.2.1/hotnet2/consensus.py", line 17, in consensus_with_stats
single_runs, consensus, linkers, auto_deltas = consensus_run( args, networks, heats, verbose )
File "/home/ravi/Documents/test_downloaded_data/hotnet2-1.2.1/hotnet2/consensus.py", line 73, in consensus_run
result = run_helper(args, infmat, indexToGene, G, nname, pnp, heat, hname, addtl_genes, get_deltas_hotnet2, HN2_INFMAT_NAME, HN2_MAX_CC_SIZES, args.verbose)
File "/home/ravi/Documents/test_downloaded_data/hotnet2-1.2.1/hotnet2/run.py", line 20, in run_helper
deltas = get_deltas_fn(full_index2gene, heat, args.network_permutations, args.num_cores, infmat, addtl_genes, pnp, infmat_name, max_cc_sizes, verbose)
File "/home/ravi/Documents/test_downloaded_data/hotnet2-1.2.1/hotnet2/run.py", line 63, in get_deltas_hotnet2
MAX_CC_SIZE, max_cc_sizes, False, num_perms, num_cores, verbose)
File "/home/ravi/Documents/test_downloaded_data/hotnet2-1.2.1/hotnet2/delta.py", line 243, in get_deltas_for_network
sizes, not classic, num_cores, delta_selection_fn, verbose)
File "/home/ravi/Documents/test_downloaded_data/hotnet2-1.2.1/hotnet2/delta.py", line 167, in network_delta_selection
delta_maps = map_fn(network_delta_wrapper, args)
File "/home/ravi/Documents/test_downloaded_data/hotnet2-1.2.1/hotnet2/delta.py", line 133, in network_delta_wrapper
permuted_mat = np.asarray(hnio.load_hdf5(network_path)[infmat_name], np.float32)
KeyError: 'PPR'
Also, When I am running with 10 permutations, it ran successfully.
I don't know what is the problem?. Please help to identify the problem.