Closed arunkumarramesh closed 1 year ago
Hi, sorry about the issue. Have you tried to run it on the provided test case data?
Thanks, Akanksha
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'
Hi,
Please cd into HOME (not scripts) and try again. So it should show (homeenv) [a.ramesh@node06 HOME]$ HOME-timeseries -h
Thanks, Akanksha
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
Hello, I am trying to run HOME-timeseries on a HPC but get the following error. I am not sure what this error means.
This is the command that I typed. I used a virtualenv as recommended.
This is file containing sample paths. It is tab seperated.
And this is some example data that I used
Within the output directory, I get HOME_Timeseries_DMRs (empty directory) and temp_HOME that contains
Do you have any insight into what is going on? I get the same issue without the extra --delta 0.2 --minc 5.
I also get different error related to use -npp >1 related to pooling resources so used just 1.
Thanks!