AlexTISYoung/snipar

hap.kin0 not found

sjoerdvanalten opened this issue · 2 comments

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)

Hi Alex,

Thank you for your quick response. re-installing resolved the issue.

Kind regards, Sjoerd