This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Setting major allele in plink to plus strand of reference?

I have a plink file that someone gave me. I wan't to use it in an analysis where I know that the major allele needs to be set to the plus strand of the GRCh37 assembly.

I try:

plink2 --bfile {my_fav_file} --make-bed --ref-from-fa --fa {ref_fa} --out {my_fav_file_new}

I get:

Error: Unrecognized flag ('--ref-from-fa')

I did not copy paste any of the command and tried typing it out a few times. Am I misunderstanding what this command is supposed to do? Any help is greatly appreciated.

plink

It looks like you need to update your plink2 build.

Ill give it a shot, thanks I was really scratching my head over this.

0 answers

No answers yet.

Log in to answer this question.