Skip to content

Instantly share code, notes, and snippets.

@obenshaindw
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save obenshaindw/aaada1d4b882c4e6745a to your computer and use it in GitHub Desktop.
Save obenshaindw/aaada1d4b882c4e6745a to your computer and use it in GitHub Desktop.
Fix Chromosome Name in VCF
/usr/bin/htslib/bcftools/bcftools view vcf_with_chr.vcf | sed "s/chr//g" | /usr/bin/htslib/htslib/bgzip -c > BCM_hg19.reheader.no_chr.vcf.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment