bim and fam downloaded as .txt files, won't work with PLINK?
1
0
Entering edit mode
6.1 years ago
maya123z ▴ 110

Fair warning, I am very new to PLINK and to the command line in general. I downloaded my bed, bim, and fam files from this website. However, the bim and fam files are formatted as .txt files. As a result, when I type

plink --bfile dgrp2

it returns 'ERROR: No such file [ dgrp2.fam ] exists' because the file is named dgrp2.fam.txt. I tried renaming the files without the "txt" but it wouldn't let me. Advice would be greatly appreciated.

plink gwas SNP • 2.5k views
ADD COMMENT
2
Entering edit mode
6.1 years ago
GenoMax 141k

I recently discovered that macOS High Sierra did this on some downloaded files (and would also not allow me to rename affected files via finder). I think the best option is to open a terminal window, cd to the directory where these files are and then do mv dgrp2.fam.txt dgrp2.fam to rename the file. If that does not work then you may have to do sudo mv dgrp2.fam.txt dgrp2.fam

ADD COMMENT
0
Entering edit mode

That fixed it! Thanks!

ADD REPLY
0
Entering edit mode

If an answer was helpful you should upvote it, if the answer resolved your question you should mark it as accepted. Upvote|Bookmark|Accept

ADD REPLY

Login before adding your answer.

Traffic: 2096 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