admix.tools.plink2.lift_over#

admix.tools.plink2.lift_over(pfile: str, out_prefix: str, chain='hg19->hg38')[source]#

Lift over a plink file to another genome. First, use liftover to convert to another genome, then use plink2 –sort-vars to sort the variants.

Parameters:
  • pfile (str) – Path to plink file

  • out_prefix (str) – output prefix, <out_prefix>.pgen, <out_prefix>.psam, <out_prefix>.pvar will be generated

  • chain (str, optional) – lift over direction, by default “hg19->hg38”