cleanUrl: "snippet/bash/sort-vcf-files"
description: "Sorting VCF file using bash command"
grep "^#" in.vcf > out.vcf
grep -v "^#" in.vcf | sort -k1,1V -k2n >> out.vcf # chr1, chr2, ...
grep -v "^#" in.vcf | sort -k1,1 -k2n >> out.vcf # chr1, chr10, chr11, ...