Exception in thread "main" java.lang.IllegalArgumentException: Overlap between reference and non-reference samples
Hi all,
Did someone already face this problem working with Beagle 4?
I am running:
java -Xmx25000m -jar beagle.jar ref=ref-panel.vcf.gz gt=input.vcf out=output.vcf
and I am getting:
No genetic map is specified: using 1 cM = 1 Mb
Exception in thread "main" java.lang.IllegalArgumentException: Overlap between reference and non-reference samples: xxx
at vcf.AllData.checkSampleOverlap(AllData.java:133)
at vcf.AllData.<init>(AllData.java:83)
at vcf.AllData.allData(AllData.java:79)
at main.Main.allData(Main.java:329)
at main.Main.main(Main.java:111)
I have no idea on what to do.
Could someone please help me?
Thanks a lot!
• 4,313 views
•
link
0 answers
No answers yet.
Log in to answer this question.
check each vcf files: do you have two SNPs at the very same positions ?
I don't know how can I check it?
I did
It didn't work! What am I doing wrong?
of course
the input won't be a vcf file but a set list duplicated positions. If any outputs are not empty then it means that you have some duplicated REF/POS. And again, I'm not sure it's the primary cause of the error.
That's not very informative. You should explain what happened and which error you obtained, or how the output is not what you expected.