Skip to content

Instantly share code, notes, and snippets.

@obenshaindw
obenshaindw / Split VCF by Chromosome
Last active February 4, 2022 09:03
Split VCF by Chromosome
seq 1 22 | xargs -n1 -P4 -I {} /usr/bin/vcftools/vcftools_0.1.11/bin/vcftools --gzvcf largevcf.vcf.gz --chr {} --recode --recode-INFO-all --out /split_by_chr/largevcf.chr{}