After doing all the steps I mentioned I found a problem in the output (.ld file). I had 27 SNPs of interest originally and I should have the 27 SNP pairs to which ld values are computed in the output for each SNP, but that doesn't happen, for each SNP I seem to be getting different numbers of SNP pairs and I don't understand why. I must add that what I did for testing purposes was to put a r2 threshold equal to zero so I would get all the pairs.
For example, I input the command:
> plink --bfile DATA --ld-window-kb 880000 --ld-window-r2 0 --r2 --ld-snp-list snp_list.txt --out testLD --allow-no-sex
And in the output file I found that it doesn't compare the rs71373525 with the rs11736137. Then I tried this command to see the r2 value for this specific pair:
> plink --bfile DATA --ld rs117326137 rs71373525 --allow-no-sex
This way the ld is computed just fine and it should pass the threshold of zero in the other command. Any suggestions on why this happens?