Entering edit mode
5 months ago
sam
▴
30
Hi,
I have a multi-sample VCF file. This VCF contains around 20 samples (Sample1 - Sample20).
I intend to extract unique SNPs of Sample1 compared to all the other samples ()samples2 - samepls20).
Samtools has a contrast plugin to extract genotypes that are not observed in another. Here I want to compare my sample of interest against the rest.
Is there any best way I could achieve the unique SNPs? Or should I split my multi-sample VCF file into individual VCF files and do the comparison?
Thank you!
Thanks Pierre! I shall try this solution.
Hi Pierre,
I tried to install the software and i get the following error:
Sorry, I am not good at java. I guessed you would already know the solution for this error. So posting here again.
I could write a python script but would like to know if there is a package that could do this already.
Thank you!