Skip to content

indep-pairwise #2

@batelz

Description

@batelz

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions