What is the logical operator for plink2 --extract-if-info?
Hello,
I know this might be a stupid question, but I have tried everything I could think of. For example
plink2 --pfile input --out output --extract-if-info gnomAD_exome_ALL '<' 0.01 '&' gnomAD_exome_AFR '<' 0.01 --make-pgen
plink2 --pfile input --out output --extract-if-info gnomAD_exome_ALL '<' 0.01 '&&' gnomAD_exome_AFR '<' 0.01 --make-pgen
plink2 --pfile input --out output --extract-if-info gnomAD_exome_ALL '<' 0.01 AND gnomAD_exome_AFR '<' 0.01 --make-pgen
None of these works
Thank you very much!
• 1,319 views
•
link
1 answer
—extract-if-info only supports a single predicate at a time for now. (This isn’t actually a problem here: just split your filtering operation across two runs.)
• 0 views
•
link
Log in to answer this question.