coloc.abf error
maguileraf opened this issue · 4 comments
Hi Chris,
I am trying to use coloc for the first time but I keep getting this error:
Error in coloc.abf(dataset1 = D1, dataset2 = D2) :
dataset1 and dataset2 should contain the same snps in the same order, or should contain snp names through which the common snps can be identified
However, the snps in both lists are the same (see attached). Any ideas on what could be the issue?
Thank you for your reply!
I have identified the issue during the data export process.
The problem arises from using hg19 for dataset1 and hg38 for dataset2. I mistakenly did not replace the hg38 positions after liftovering variants from hg19.
I encountered the same issue.Error in coloc.abf(dataset1 = list(pvalues = input$pval_gwas, N = as.integer(input$samplesize_gwas), :
dataset1 and dataset2 should contain the same snps in the same order, or should contain snp names through which the common snps can be identified.Did you figure out how to resolve this error?l use hg19 for dataset1 and hg19 for dataset2