This is a test version of Biostars. For the public version, visit https://www.biostars.org.
merging VCF files from different samples and seprating each samples by coloumns

Hi, I have question about how to merge different vcf files as well as separating each sample in the final out put. first i combine 96 samples using java -jar GenomeAnalysisTK.jar \ -T CombineVariants \ -R reference.fasta \ --variant input1.vcf \ --variant input2.vcf \ -o output.vcf \ -genotypeMergeOptions UNIQUIFY then i used annovar for annotation , but at last all variants pooled together and the samples are not separated.

Can i ask how to solve it? Thank you. Parisa

next-gen genome

please, show us the line starting with "#CHROM" in input1.vcf and input2.vcf

Are you looking for a tool like bcftools ?

0 answers

No answers yet.

Log in to answer this question.