Checking your lines of codes-
plink --vcf Asp3.vcf.gz --allow-no-sex --recode --out myplink
You don't have to run the above code as you are converting vcf into plink .bed/.bim/.fam file and updating phenotypes at the same time in the following code-
plink --vcf Asp3.vcf.gz --allow-no-sex --recode --pheno MANN_pheno.txt --make-bed --out myplink
In the following QC line of code, --recode is unnecessary.
plink --bfile myplink --allow-no-sex --make-bed --mind 0.05 --maf 0.05 --geno 0.1 --hwe 1e-6 --recode --out myplink.QC
Can you tell me why you have --pheno here again? If you have any covariates in your MANN_pheno.txt, you can adjust for covariates as follows-
plink --bfile myplink.QC --linear --covar MANN_pheno.txt --out myplink_result
instead of doing this-
plink --bfile myplink.QC --allow-no-sex --linear --pheno MANN_pheno.txt --out myplink_result
Can you also answer the following questions?
- Do you know what type of trait are you testing in these data?
- Were multiple datasets merged before you started with this vcf (Asp3.vcf.gz) data? Alleles flips/mismatch could have happen if the data were not correctly merged.
- Are there any genetically related individuals in your data?
I am suspecting that you are getting the flat lines of p-values (similar p-values) all over the genome because of related individuals. You could run --genome and check if there are genetically related individuals in your data. I would recommend not to include related individuals in the association test.
I assume you're using the
qqmanpackage - you should have mentioned which package you're using.The vignette shows the horizontal lines as well as the vertical chromosome bands: https://cran.r-project.org/web/packages/qqman/vignettes/qqman.html
Can you show us an example of a plot where you don't see these lines?