This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Issue with merging in plink and eigensoft.

I merged two datasets in plink1.9. It worked, but I did get the error "multiple positions seen for variant" and "variants have the same position". How do I resolve this when trying to merge the datasets again?

And, I tried to merge two eigenstrat format files using mergeit -p. However the new merged dataset was smaller in size than the initial datasets. So I think something went wrong. How do I fix this?

eigensoft eigenstrat plink

I merged two datasets in plink1.9. It worked, but I did get the error "multiple positions seen for variant" and "variants have the same position". How do I resolve this when trying to merge the datasets again?

Since you are using Plink to merge two datasets, I would exclude the variants with multiple positions from both the datasets before merging.

For the second part of your question, did you also try merge_eigenstrat of admixr package?

https://bodkan.net/admixr/reference/merge_eigenstrat.html

0 answers

No answers yet.

Log in to answer this question.