Open Lei-Guo opened 10 months ago
I am having the same issue. Were you able to resolve it?
Thanks
Hi,
Just wondering, where you using the hicup2homer script in its original location (i.e. in the HiCUP folder with the script hicup_module.pm)?
If I am remembering correctly, hicup2homer uses the subroutine get_csome_position, which is found in hicup_module.pm.
Does that resolve the issue?
STeven
Thanks for replying.
I was using conda installation of hicup where everything was working fine except the hicup2homer. I wasn't specifying the script location but using conda path location automatically.
I downloaded latest version of hicup manually and used the script from the folder but still got the same error. I have now downloaded hicup version 0.8.2 manually and running the script from there is working. Not sure if it is an issue with the conda environment or something in the latest version.
Hi, The difference between the conda version and the version from download is that in conda we are using symlink to have them in the bin directory. Adding a line similarly to: https://github.com/StevenWingett/HiCUP/blob/1213d5abad05e3bf3b954e0fb32d1e18a6b7a3b1/Conversion/hicup2ncc#L11 in hicup2homer will solve the issue. @StevenWingett do you need a PR?
Hi @lldelisle,
A PR would be great!
Thanks, Steven
For me the current version of hicup2homer
does not work:
Summary of my perl5 (revision 5 version 34 subversion 0) configuration:
Platform:
osname=linux
osvers=4.19.0
archname=x86_64-linux-gnu-thread-multi
uname='linux localhost 4.19.0 #1 smp debian 4.19.0 x86_64 gnulinux '
I have the same error as with the conda environment...
There are 2 fixes, @StevenWingett , I let you choose: https://github.com/lldelisle/HiCUP/tree/solve98_v1 https://github.com/lldelisle/HiCUP/tree/solve98_v2
Hi,
Thanks for that! Actually, the second link appeared not work. Just to double-check, the second link should be:
https://github.com/lldelisle/HiCUP/tree/solve98v2
Is that correct?
Thanks,
Steven
Yes, sorry
Hi, The difference between the conda version and the version from download is that in conda we are using symlink to have them in the bin directory. Adding a line similarly to:
in hicup2homer will solve the issue. @StevenWingett do you need a PR?
Hi I added the line to the hicup2homer script, but now it has more issues like:
Use of uninitialized value $positionR in concatenation (.) or string at /home/zh381/rds/rds-acf1004-afs-lab-rds/programs/HiCUP-0.9.2/Conversion/hicup2homer line 108,
Hi again,
Sorry for not responding sooner, but I've been working on other projects.
lldelisle I like fix v1 the best:
https://github.com/lldelisle/HiCUP/tree/solve98_v1
Thanks very much for helping with the HiCUP project!
Best, Steven
Dear Developer,
I'm having trouble running hicup2homer to convert HiCPro bam files to Homer files. The command and errors are as below. Can you please help me? Thanks a lot.