Skip to content
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

indep-pairwise #2

Open
batelz opened this issue Mar 27, 2023 · 1 comment
Open

indep-pairwise #2

batelz opened this issue Mar 27, 2023 · 1 comment

Comments

@batelz
Copy link

batelz commented Mar 27, 2023

Hi,
I'm trying to set a bed file with non-LD SNPs in order to run ADMIXTURE.
according to your manual, it is revised to run --indep-pairwise, following by removal of the LD SNPs.

the --indep-pairwise yields two lists:
pruned.in - SNPs in LD
pruned.out - SNPs not in LD.

then, for the removal of the SNPs:
plink --bfile rawData --extract plink.prune.in --make-bed --out prunedData
according to the plink manual,
--extract removes all the variants that are missing = keeps SNPs in prune.in.

The way I understand it - this command will keep the SNPs that are indeed in LD.

Did I miss anything?

@npsonis
Copy link

npsonis commented Sep 8, 2023

One colleague of mine just pointed this out:
According to the manual
pruned.in produce a pruned subset of markers that are in approximate linkage equilibrium not disequilibrium (LE no LD) with each other (the snps that you want to keep or extract)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants