Package used to use plink v1.9 which does not support BGEN format nicely. Therefore variant extraction from BGEN follows this process:
- Subset Bulk BGEN using bgenix
- plink conversation of BGEN to BED
- plink conversion of BED to RAW (text file)
This has two issues:
- Genotype doses (from imputed data) become hard calls
- Multiallelic SNPs are dropped (only the first is kept if there are multiple variants at the same position)
Now that the package uses plink2 the BED conversion can be skipped entirely as plink2 can handle BGEN format
This fix is in the pipeline... once access to UK Biobank is restored.
Package used to use plink v1.9 which does not support BGEN format nicely. Therefore variant extraction from BGEN follows this process:
This has two issues:
Now that the package uses plink2 the BED conversion can be skipped entirely as plink2 can handle BGEN format
This fix is in the pipeline... once access to UK Biobank is restored.