Fail to open file in plink
1
1
Entering edit mode
6.7 years ago
janhuang.cn ▴ 210

I am new to plink, and I am following this tutorial:

But I cannot even open the file.

I am using a PLINK 1.9 on Windows, 64 bit. I have put the hapmap1.ped and hapmap1.map in the folder which I store PLINK.

I used the below command to add the folder to the path

path = %PATH%;C:\Users\jh3903\Desktop\plink_win64

And then when I run the below command, it return my PLINK version is v1.9b04.5 64-bit (25Jul2017) and with some other information

plink

I then run the below command

plink --file hapmap1

This is the error I got says

16306 MB RAM detected; reserving 8153 MB for main workspace.
Error: Failed to open hapmap1.map

Does anyone have a clue about this?

ped plink • 13k views
ADD COMMENT
4
Entering edit mode
6.7 years ago
Ram 43k

Does the file hapmap1.map exist in the directory you're running the plink command in? It should be in your working directory, not in the directory that has the plink executable.

ADD COMMENT
0
Entering edit mode

I see. Thank you. I put the hapmap1.map in the plink folder.

ADD REPLY
0
Entering edit mode

For the record, this is not how the problem is to be solved. Placing input files in the same directories as binaries is bad practice.

ADD REPLY

Login before adding your answer.

Traffic: 1769 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6