Hello everyone,
I used picard MergeVcfs
to combine individual vcf files with the following command:
java -jar /picard.jar MergeVcfs -I input.vcf -I input2.vcf -I inputs.vcf O= output.vcf.gz
The resulting output file looks like this:
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT 20
Chromosome_1 517 . CTT C 79.60 . AC=1;AF=0.500;AN=2;BaseQRankSum=-0.080;DP=16;ExcessHet=3.0103;FS=0.000;MLEAC=1;MLEAF=0.500;MQ=57.36;MQRankSum=-3.750;QD=4.98;ReadPosRankSum=0.068;SOR=0.446 GT:AD:DP:GQ:PL 0/1:13,3:16:87:87,0,537
Chromosome_1 562 . CATTTCTCTA C 46.60 . AC=1;AF=0.500;AN=2;BaseQRankSum=1.180;DP=14;ExcessHet=3.0103;FS=0.000;MLEAC=1;MLEAF=0.500;MQ=53.19;MQRankSum=0.558;QD=3.88;ReadPosRankSum=0.493;SOR=1.179 GT:AD:DP:GQ:PL 0/1:10,2:12:54:54,0,404
The resulting file is 20.1gb and samples seemed to be combined by rows and not columns. How do I change it so that I can reduce the file size of my vcf?
Thank you!