extract list of SNPs from multiple chr{1:22}.bgen files using plink2
1
0
Entering edit mode
11 weeks ago
Sharad ▴ 10

hello, I have extracted out list of snps based on the maf cutoff 0,,0.0001, 0.001,0.01,0.1,.55,1.0. I am running plink2 to extract this list from .bgen files for individual chromosomes using the following code

plink2 \
 --chr{1:22}.bgen \
 --extract maf1_snps for imputed data.txt \
 --export bgen-1.2 \
 --out maf1_snps

i get error Error: Unrecognized flag ('--chr{1:22}.bgen'). For more info, try "plink2 --help <flag name>" or "plink2 --help | more".

I would appreciate any help to resolve. Thx

subset of extract maf SNPs cutoff plink2 • 224 views
ADD COMMENT
0
Entering edit mode
11 weeks ago

You need to slow down and spend some time working through a tutorial or reading documentation before proceeding. There are multiple problems with your command line which indicate that you haven't learned the basics yet.

ADD COMMENT

Login before adding your answer.

Traffic: 2415 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