This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Sample order in vcf

Excuse me:

I used HC (haplotype caller) to call variants to create variant format file. The sample order in HC was not the same as that in variant format file. Was there any rule in that?

Many thanks in advance!

genome sequence next-gen-sequencing alignment

1 answer

So, if you grep CHROM [yourvcf], are the samples in alphabetical order?

GATK sorts samples alphabetically; this is the expected behavior.

Log in to answer this question.