Error running HotNet2 (succesfully ran makeNetworkFiles and makeHeatFile)

65 views
Skip to first unread message

Ian Overton

unread,
May 4, 2020, 6:27:03 PM5/4/20
to HotNet
Any advice would be very much appreciated - I successfully ran makeNetworkFiles.py and makeHeatFile.py . However, I am getting an error when I run HotNet2, given below. Please note that I am trying to apply hotnet2 to an analysis where there are no mutational frequencies, therefore I have fixed uniform the mutational frequencies at 0.001 in the heat file.

Here's how I'm calling hotnet:
python ~/bin/hotnet2/hotnet2-1.2.1/HotNet2.py -nf networkFiles/DroFN_ppr_0.5.h5 -pnp networkFiles/permuted/DroFN_ppr_0.5_##NUM##.h5 -hf Test/test.json -np 100 -hp 1000 -o results/ -c 6

Here are the errors that I'm getting (with edited paths):
hnio.py:402: H5pyDeprecationWarning: dataset.value has been deprecated. Use dataset[()] instead.
  dictionary = {key:f[key].value for key in f}
* Running HotNet2 in consensus mode...
        - DroFN None
* Outputting results to file...
Traceback (most recent call last):
  File "...bin/hotnet2/hotnet2-1.2.1/HotNet2.py", line 139, in <module>
    run(get_parser().parse_args(sys.argv[1:]))
  File ".../bin/hotnet2/hotnet2-1.2.1/HotNet2.py", line 95, in run
    output_dir = '%s/%s-%s' % (args.output_directory, network_name.lower(), heat_name.lower())
AttributeError: 'NoneType' object has no attribute 'lower'


Thanks for your time taken on this.
Ian

Reply all
Reply to author
Forward
0 new messages