Like the title suggests, I have a VCF file and I would like to take every heterozygous position in it and randomly select one of the two alleles to save to a new file. Is there an existing tool that will do this? So far in my searching, I have not found one. Or would I be better off writing my own script to do this?
Thanks for any suggestions!