Hi,
I would like to merge all chromosomal bgen files from the UK biobank using pmerge.
I am using this command:
plink2 --bgen /path/to/file/ukb_imp_chr1.bgen ref-first --sample /path/to/file/ukb_imp_chr1.sample --pmerge-list /path/to/file/merge.list --write-snplist --export bgen-1.3
--zst-level 22 --out /path/to/file/ukb_imp_allchr
merge.list contains the following file names:
/path/to/file/ukb_imp_chr1
/path/to/file/ukb_imp_chr2
/path/to/file/ukb_imp_chr3
...
/path/to/file/ukb_imp_chr21
/path/to/file/ukb_imp_chr22
/path/to/file/ukb_imp_chrX
/path/to/file/ukb_imp_chrXY
I want to clarify if I should still have
/path/to/file/ukb_imp_chr1 in the merge.list or start from the second chromosome?
e.g.
/path/to/file/ukb_imp_chr2
/path/to/file/ukb_imp_chr3
...
/path/to/file/ukb_imp_chr21
/path/to/file/ukb_imp_chr22
/path/to/file/ukb_imp_chrX
/path/to/file/ukb_imp_chrXY
thanks