deeptools / HiCExplorer

HiCExplorer is a powerful and easy to use set of tools to process, normalize and visualize Hi-C data.
https://hicexplorer.readthedocs.org
GNU General Public License v3.0
233 stars 70 forks source link

findRestSite version 2.0 #220

Closed LeilyR closed 6 years ago

LeilyR commented 6 years ago

I am getting standard output error running this function on the last version. It is working on version 1.8 though with python 2.7.14. Here is the error:

File "/package/anaconda3/envs/HiCExplorer-2.0/lib/python3.5/site-packages/hicexplorer/findRestSite.py", line 118, in main find_pattern(args.searchPattern, args.fasta, args.outFile) File "/package/anaconda3/envs/HiCExplorer-2.0/lib/python3.5/site-packages/hicexplorer/findRestSite.py", line 110, in find_pattern out_file.write(stdout)

bgruening commented 6 years ago

Can you try with python2 please, this is probably a python3 bug.

fidelram commented 6 years ago

I tried with python3.6 and could not reproduce the problem. Could it be that you don't have write permissions to the file you want to write?

vivekbhr commented 6 years ago

It's most probably python issue. We checked with 2.7 and it works

gtrichard commented 6 years ago

Is this problem solved?