Entering edit mode
2.5 years ago
BioDH
▴
10
Hi all,
I have a vcf file looks like
chr22 31600460 rs2413035 T C,TCTTCATCAGCCTTCTCCTCCTCTTCCTC . <blah blah>
I'm trying to expand the two variants into two seperate rows like
chr22 31600460 rs2413035 T C . <blah blah>
chr22 31600460 rs2413035 T TCTTCATCAGCCTTCTCCTCCTCTTCCTC . <blah blah>
Of course I want other fields(INFO, FORMAT) to be expanded accordingly. "genotype" has to be expanded as well.
Does anyone have any idea or comments?
Thanks.
It works. Thanks a lot.
Perfect, please accept the answer so that the question is marked as solved :)