Giter VIP home page Giter VIP logo

Comments (4)

Akanksha2511 avatar Akanksha2511 commented on July 17, 2024

Hi, sorry about the issue. Have you tried to run it on the provided test case data?

Thanks,
Akanksha

from home.

arunkumarramesh avatar arunkumarramesh commented on July 17, 2024

Hello,

Sorry I didn't include the full error message before. Here it is.

(homeenv) [a.ramesh@node06 scripts]$ Preparing the DMRs from HOME.....
GOOD LUCK !
Fatal error: cannot open file './scripts/HOME_R_time.R': No such file or directory
Traceback (most recent call last):
  File "/data/proj2/popgen/a.ramesh/software/HOME/scripts/HOME-timeseries", line 480, in <module>
    main(dx)
  File "/data/proj2/popgen/a.ramesh/software/HOME/scripts/HOME-timeseries", line 263, in main
    raise Exception(e.message)
Exception: 'DataFrame' object has no attribute 'p_value'

So it has something to do with the installation I think as it is unable to find the HOME_R_time.R file. That file does exist within the scripts folder but the '.' pointer does not seem sufficient to find it. I get the same error when I use the test data. It could also be because I am running it as

python HOME-timeseries

If i just try

HOME-timeseries

after activating the virtualenv, I get the following error

(homeenv) [a.ramesh@node06 scripts]$ HOME-timeseries -h
Traceback (most recent call last):
  File "/data/proj2/popgen/a.ramesh/software/homeenv/bin/HOME-timeseries", line 4, in <module>
    __import__('pkg_resources').run_script('HOME==1.0.0', 'HOME-timeseries')
  File "/data/proj2/popgen/a.ramesh/software/homeenv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 666, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/data/proj2/popgen/a.ramesh/software/homeenv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1453, in run_script
    .format(**locals()),
pkg_resources.ResolutionError: Script 'scripts/HOME-timeseries' not found in metadata at '/data/proj2/popgen/a.ramesh/software/homeenv/lib/python2.7/site-packages/HOME-1.0.0.dist-info'

from home.

Akanksha2511 avatar Akanksha2511 commented on July 17, 2024

Hi,

Please cd into HOME (not scripts) and try again. So it should show (homeenv) [a.ramesh@node06 HOME]$ HOME-timeseries -h

Thanks,
Akanksha

from home.

arunkumarramesh avatar arunkumarramesh commented on July 17, 2024

I did that and did one more thing. I copied the scripts folder into 'homeenv/lib/python2.7/site-packages/HOME-1.0.0.dist-info'. 'homeenv' was my virtualenv but my HOME installation was outside of it. Together, it got rid of that error and the program is now running and producing results. Thanks so much

from home.

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.