Last active
August 29, 2015 14:14
-
-
Save obenshaindw/107a181d8a11811bbd9d to your computer and use it in GitHub Desktop.
Reheader VCF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/bin/htslib/bcftools view -H vcf_with_bad_header.vcf > vcf_header.vcf | |
vim vcf_header.vcf | |
#Make changes to header | |
/usr/bin/htslib/bcftools/bcftools reheader -h vcf_header vcf_with_bad_header.vcf -o reheadered.vcf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment