Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fithic crash #46

Open
fgualdr opened this issue Aug 5, 2021 · 1 comment
Open

fithic crash #46

fgualdr opened this issue Aug 5, 2021 · 1 comment

Comments

@fgualdr
Copy link

fgualdr commented Aug 5, 2021

Hi,
I am trying to run fithic downstream of HiC-pro.
I managed to convert the Hicpro output and the iced base using the HiCPro2FitHiC utility function.
Nevertheless when running FitHiC with the produced files I get the following error which is hard for me to grasp.
Any insight is appreciated
Thanks
Francesco

Reading the contact counts file to generate bins...
Interactions file read. Time took 535.2248961925507
Traceback (most recent call last):
File "/hpcnfs/data/GN2/fgualdrini/tools/anaconda3/envs/EnvFITHIC2/bin/fithic", line 10, in
sys.exit(main())
File "/hpcnfs/data/GN2/fgualdrini/tools/anaconda3/envs/EnvFITHIC2/lib/python3.6/site-packages/fithic/fithic.py", line 310, in main
(binStats,noOfFrags, maxPossibleGenomicDist, possibleIntraInRangeCount, possibleInterAllCount, interChrProb, baselineIntraChrProb)= generate_FragPairs(binStats, fragsFile, resolution)
File "/hpcnfs/data/GN2/fgualdrini/tools/anaconda3/envs/EnvFITHIC2/lib/python3.6/site-packages/fithic/fithic.py", line 542, in generate_FragPairs
maxFrags[ch]=max([int(i)-resolution/2 for i in allFragsDic[ch]])
ValueError: max() arg is an empty sequence

@ay-lab
Copy link
Owner

ay-lab commented Aug 9, 2021

Please see issue #39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants