hap.kin0 not found
sjoerdvanalten opened this issue · 2 comments
sjoerdvanalten commented
Hello,
I have installed the package and am trying to familiarize myself with it through the tutorial. However, when running the first line in the tutorial I get an error:
$python ibd.py example/sample --king example/sample.king.kin0 --agesex example/sample.agesex --map example/sample.genetic_map.txt --outprefix example/ --threads 4
2021-10-18 10:03:26 INFO start
Traceback (most recent call last):
File "ibd.py", line 234, in <module>
kin_header = np.array(open(kinfile,'r').readline().split('\t'))
FileNotFoundError: [Errno 2] No such file or directory: '/disk/genetics4/ukb/alextisyoung/haplotypes/relatives/bedfiles/hap.kin0'
Any idea what could have gone wrong? (testing the packages after installation using pytest went fine I believe)
AlexTISYoung commented
Hi,
Thanks for your email, and apologies for the difficulties you've had. The
error in question was caused by an error we made in updating the software
with some new developments we had made on IBD inference. This should be
solved by updating to the latest version of the software. Please pull the
latest version of the master branch with 'git pull origin master' in the
SNIPar directory, and reinstall the package.
Let me know if you have any further difficulties.
Thanks,
Alex.
…On Mon, 18 Oct 2021 at 03:08, Sjoerd van Alten ***@***.***> wrote:
Hello,
I have installed the package and am trying to familiarize myself with it
through the tutorial. However, when running the first line in the tutorial
I get an error:
$python ibd.py example/sample --king example/sample.king.kin0 --agesex example/sample.agesex --map example/sample.genetic_map.txt --outprefix example/ --threads 4
2021-10-18 10:03:26 INFO start
Traceback (most recent call last):
File "ibd.py", line 234, in <module>
kin_header = np.array(open(kinfile,'r').readline().split('\t'))
FileNotFoundError: [Errno 2] No such file or directory: '/disk/genetics4/ukb/alextisyoung/haplotypes/relatives/bedfiles/hap.kin0'
Any idea what could have gone wrong? (testing the packages after
installation using pytest went fine I believe)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#14>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABQQS6OMREDG4XAIJAUOK5TUHPW2LANCNFSM5GGHRVZA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
sjoerdvanalten commented
Hi Alex,
Thank you for your quick response. re-installing resolved the issue.
Kind regards, Sjoerd