Prevent SNPs being filtered out due to MAF in PLINK
1
0
Entering edit mode
10 months ago
D H ▴ 10

During a recode step in plink, I do use the --MAF command to filter out some SNPs. However, I want to retain a specific SNP regardless of its MAF. How can I achieve that?

Thank you!

snp MAF PLINK RECODE • 503 views
ADD COMMENT
1
Entering edit mode
10 months ago

Assuming your variants have unique IDs, one option is: 1. Use --write-snplist to generate a list of SNPs passing your MAF filter. 2. Add your non-passing SNP to that list. 3. Use --extract on the augmented list.

ADD COMMENT

Login before adding your answer.

Traffic: 1202 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6