Giter Site home page Giter Site logo

Comments (5)

francois-a avatar francois-a commented on July 22, 2024

Hi Jack,

Yes, it seems like some of the required library files are not available/not in the path. Can you share the full stack trace to see where this is needed? I typically use OpenBLAS on Ubuntu and haven't run across any issues like this -- can you try building/installing numpy with OpenBLAS?

from tensorqtl.

jackhump avatar jackhump commented on July 22, 2024

sorry for delay,
this is all I get in the standard error:

  File "/sc/arion/projects/als-omics/QTL/NYGC_Freeze02_European_Feb2020/QTL-mapping-pipeline/Snakefile", line 420, in __rule_tensorQTL_cis
  File "/sc/arion/projects/als-omics/conda/envs/QTL-pipeline/lib/python3.7/concurrent/futures/thread.py", line 57, in run

from tensorqtl.

francois-a avatar francois-a commented on July 22, 2024

Can you run the command outside of the pipeline wrappers you're using? Or in a jupyter notebook?

from tensorqtl.

jackhump avatar jackhump commented on July 22, 2024

Hi Francois,

I've done a bit more sleuthing on this. I had installed numpy with OpenBLAS in tensorqtl conda environment using the following commands, from here: https://docs.anaconda.com/mkl-optimizations/

conda install nomkl numpy scipy scikit-learn

The MKL error was occurring because of a conflict with python in another conda environment that I was activating before I activated the tensorqtl environment, so just running "module purge" before I ran the tensorqtl command stopped this error. I hope this will be a useful lesson for other users.

Of note, I now realise this error was occuring only when I ran interaction QTLs in cis mode, but not in cis_nominal. If I'm not mistaken, there is no need to run interaction QTLs using the cis pass, because the resulting cis_qtl.txt.gz does not include the beta and P for the g*i term, correct?

from tensorqtl.

francois-a avatar francois-a commented on July 22, 2024

I'm glad that resolved it.

Yes, interactions can only be used with map_nominal. There is no permutation scheme for map_cis that would provide an adequate null.

I'll add a check to make sure interactions aren't parsed for map_cis -- what's the command you tried to run?

from tensorqtl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.