1
0
Entering edit mode
4.1 years ago

Hi, I'm learning basic GWAS analysis using the Foulkes lab tutorial available at http://www.stat-gen.org

The thing is that just cannot read the PLINK files. Following the tutorial I have used the code:

# Couln't open input file: ~/Desktop/GWAStutorial.bed

As it looks like I just can't open the .bed file, which contains the genotype information, coded in binary. But the file is the exactly one from the tutorial, available to anyone. Any chance it might be corrupted?

Anybody can give me any hints?

1
Entering edit mode

what is the output of

head ~/Desktop/GWAStutorial.bed


?

0
Entering edit mode

I set the output dir the same as the data.dir. Would this be a problem? o.0

0
Entering edit mode

what is the output of

head ~/Desktop/GWAStutorial.bed


?

0
Entering edit mode

Where "Erro" means "Error" and "inesperado" means "unexpected".

0
Entering edit mode

Português? - eu falo da forma fluente o português.

The head command will not be able to interpret a binary file but it should still output something.

It is good practice to always use full absolute paths for files, e.g., /home/eduardorazza/Escritorio/GWAStutorial.bed

On that note, is it because, on your computer, 'Desktop' is actually 'Escritorio'? It seems that you are using a Portuguese locale.

Kevin

0
Entering edit mode

Hey! Thanks Kevin! I just reset it, deleted and started it all over setting the Desktop as my directory and output directory to simplify things. It turned out that now it just worked. Also i did it in a different network, but I don't know if this could have affected the previous failure. O que você acha, Kevin? De qualquer maneira, muito obrigado pelo retorno! Abraço! :-)

0
Entering edit mode