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

Installation #1

Open
snowformatics opened this issue Apr 2, 2022 · 1 comment
Open

Installation #1

snowformatics opened this issue Apr 2, 2022 · 1 comment

Comments

@snowformatics
Copy link

snowformatics commented Apr 2, 2022

Hi,

Thanks for sharing BitEpi! I would like to try your software directly via Python, how can I install it?

I cloned your project and when I run it, I get the following error:

Traceback (most recent call last):
File "C:/Users/x/PycharmProjects/bitepi-python/bitepimodule/run.py", line 23, in
best_ig=True,
File "C:\Users\x\PycharmProjects\bitepi-python\bitepimodule\bitepi.py", line 203, in compute_epistasis
return_code = bitepi(delimiter, argstring)
TypeError: 'module' object is not callable

Thanks a lot in advance
Stefanie

@bhosking
Copy link
Owner

bhosking commented Apr 5, 2022

Hi Stefanie,

This is a python wrapper for the bitepi project, and should be imported as a python package. pip3 install bitepi should install the package (along with numpy and pandas if they aren't already installed) which can then be used inside a python interpreter, script or notebook by first calling import bitepi before creating an instance of bitepi.Epistasis as described in the readme.

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