I am working with a .bgen file. I initially carried out the GWAS on the entire chromosome and retrieved a list of SNPs and their positions. However, I wanted to then do a GWAS on certain parts of the chromosome, genes which I am interested in. I used --extract range but it showed be that all variants are excluded from the range. But I know that from the .assoc file and the location of SNPs that some SNPs are meant to be showed. Can anyone help me please? The label, I gave it just an abritary random numbers.
My range file is shown as such
CHR Chromosome code (1-22, X, Y, XY, MT, 0)
BP1 Start of range, physical position in base units
BP2 End of range, as above
LABEL Name of range/gene
For example,
1 30000000 35000000 R1
1 60000000 62000000 R2
1 10000000 20000000 R3
The code I used is this
plink --bgen data_chr01.bgen --sample data.sample --remove transcriptomic_patient_IDS.txt --extract range extract_dist.txt --pheno pheno.txt --pheno-name Height --covar pheno.txt --covar-name Age, TSat17 --linear --ci 0.95 --maf 0.001 --adjust --out GWAS_chr01_test