Entering edit mode
6.9 years ago
ccolmenares
•
0
Hi! This is my situation. I recieved a file in impute2 version and I need to do a mendelian randomization analysis. My plan was:
1. Convert the file to a plink format
2. Import those files in R
3. Do the GWAS analysis
4. Select de SNP's associated with a specific trait
5. Import data to Stata, build the genetic score and do the MR analysis
This make sense to you?
I downloaded Plink 1.07 and it runs in my personal computer but when it starts this comes up:
Web-based version check ( --noweb to skip )
Recent cached web-check found...Problem connecting to web
Writing this text to log file [ plink.log ]
Analysis started: Wed Feb 14 17:36:17 2018
Options in effect:
Before frequency and genotyping pruning, there are 0 SNPs
0 founders and 0 non-founders found
0 SNPs failed missingness test ( GENO > 1 )
0 SNPs failed frequency test ( MAF < 0 )
After frequency and genotyping pruning, there are 0 SNPs
ERROR: Stopping as there are no SNPs left for analysis
And I cant run any command because it says: it is not recognized as an internal or external command
What can I do?
It just complains there are no SNPs in your input file. Have you checked that file?
First, try PLINK 1.9 : https://www.cog-genomics.org/plink/1.9/
Hey Maxime, I already tried and it's the same situation Thanks
Could you post your command.
This usually means that the executable that you're trying to run is not in your
PATH
. Ensure you've added the directory in which the executable it to yourPATH
.Hi Ram, Already adjusted the path and I been able to run the program. I received files like this
PA_gwas_chr_1_python_filtered.impute2.gz
and I want to generate.bed
. and.fam
files but I really do not know how... I apreciatte any advice, I'm new to those softwares. Thanks!Please use
ADD COMMENT/ADD REPLY
when responding to existing posts to keep threads logically organized.Check WouterDeCoster's comment: C: How to run PLINK from a personal computer