This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Fail to open file in plink

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

1 answer

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.

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

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.

Log in to answer this question.