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

AttributeError: module 'qtl.io' has no attribute 'sort_bed' #99

Open
isaartiga opened this issue May 29, 2024 · 2 comments
Open

AttributeError: module 'qtl.io' has no attribute 'sort_bed' #99

isaartiga opened this issue May 29, 2024 · 2 comments

Comments

@isaartiga
Copy link

Hi,

I am encountering an issue when running the eqtl_prepare_expression.py script. Specifically, I get an AttributeError stating that module 'qtl.io' has no attribute 'sort_bed'. I'm running it using the docker image.
Here is the error:

Loading expression data
Normalizing data (tmm)
  * 80 genes in input tables
  * 22 genes remain after thresholding
Traceback (most recent call last):
  File "src/eqtl_prepare_expression.py", line 112, in <module>
     qtl.io.sort_bed(bed_df, inplace=True)
AttributeError: module 'qtl.io' has no attribute 'sort_bed'

Thanks in advance.

@C-YONG
Copy link

C-YONG commented Nov 23, 2024

You solved that problem? I had the same problem

@francois-a
Copy link
Collaborator

Please make sure to use the lastest pyqtl version, which has this function: https://github.com/broadinstitute/pyqtl/blob/master/qtl/io.py#L17

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

3 participants