-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to open snp_1_22.txt #19
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I am running the codes and I got an error in the following code:
Step 3
Generate bfile with autosomal SNPs only and delete SNPs with a low minor allele frequency (MAF).
Select autosomal SNPs only (i.e., from chromosomes 1 to 22)
system("awk '{ if ($1 >= 1 && $1 <= 22) print $2 }' HapMap_3_r3_6.bim > snp_1_22.txt")
system("plink --bfile HapMap_3_r3_6 --extract snp_1_22.txt --make-bed --out HapMap_3_r3_7")
The error is:
Error: Failed to open snp_1_22.txt.
The text was updated successfully, but these errors were encountered: