matsengrp / hyperfreq

Bayesian tool for APOBEC hypermutation analysis
GNU General Public License v3.0
10 stars 2 forks source link

install - no hyperfreq script installed #4

Closed jayoung closed 11 years ago

jayoung commented 11 years ago

Hi there,

Thanks for the quick fix this morning. I've downloaded this version now: a3fa170, although am stumbling on the install. I haven't used python before, so am naive about installations - I might just be doing something wrong, but I was wondering whether something is missing or named differently in this distribution, or whether I should now be calling hyperfreq differently? I'm doing this:

setenv PYTHONUSERBASE /home/jayoung/test3 python setup.py install --user

but this time there's no bin dir in test3, and so it seems like there's no hyperfreq script available.

thanks,

Janet

metasoarous commented 11 years ago

Hi Janet

I changed the way the hyperfreq bin was being constructed, but didn't realize there was something else I needed to switch out in order for that to work. I just pushed the change which should make this work. Let me know if you have any further problems though.

Chris

PS I'm working on some tests right now to ensure things remain stable

jayoung commented 11 years ago

thanks again! still maybe some change needed? with version 595c1be hyperfreq is now present in the bin dir, but doesn't run:

~/testNew/bin/hyperfreq -h Traceback (most recent call last): File "/home/jayoung/testNew/bin/hyperfreq", line 9, in load_entry_point('hyperfreq==0.1.2', 'console_scripts', 'hyperfreq')() File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 337, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2279, in load_entry_point return ep.load() File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1989, in load entry = import(self.module_name, globals(),globals(), ['name']) ImportError: No module named scripts.cli

j

metasoarous commented 11 years ago

Thanks for your persistence! I'm pretty sure it should be working this time

Chris

jayoung commented 11 years ago

yes, it is - thanks! now for the fun part - figuring out what to do with the numbers....