Splitting a vcf file into seperate files per sample

FeeFee BerlinMember
edited August 2015 in Ask the GATK team

Hey, sorry, but I'm stuck with a stupid problem and I have seen this question in the forum, but couldn't find an answer that works for me:

I need to split a HaplotypeCaller vcf output file with around 200 samples into single vcf files per sample. I wanted to use selectvariants for this, but with -sn I would have to enter the samples one by one. Is there any way to split all the samples at once? Thanks for your help! Fee

Answers

Sign In or Register to comment.