The files I get when I ran the command without separating into 2 runs:
When I separate into 2 runs:
plink --bfile all.chr.genotypes --indep-pariwise 1000 kb 5 0.2 --extract Type_2_diabetes.SNPs.txt --read-freq Type_2_diabetes.frq --out T2D.LD.SNPs
I get the files:
T2D.LD.SNPs.log T2D.LD.SNPs.nosex T2D.LD.SNPs.prune.in T2D.LD.SNPs.prune.out Results.ld Results.log Results.nosex
Where the prune.in/prune.out files contain the same SNPs as I did when I did not separate the commands. The only difference this time is that the LD matrix (Results.ld file) only is showing r-squared values for the SNPs in the prune.in file instead of all SNPs in the Type_2_diabetes.SNPs.txt file. So ultimately, separating the commands into 2 runs did not seem to make a difference for me.
Additionally, both the rs5215 and rs5219 SNPs are still not being removed. Within the LD-matrix, only rs5215 and rs5219 are in LD > 0.2, so at least one of these should be removed and present in the prune.out file.