Prevent SNPs being filtered out due to MAF in PLINK
1
0
Entering edit mode
4.0 years ago
D H ▴ 30

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 • 1.4k views
ADD COMMENT
1
Entering edit mode
4.0 years 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: 1816 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