Created
February 25, 2020 16:50
-
-
Save liangyy/ef98ff7fd5701ee40ef4f05a0121c2df to your computer and use it in GitHub Desktop.
Floating around script to convert VCF to PrediXcan format (for the old repo)
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
bcftools query -f query -f chr%CHROM\\t%ID\\t%POS\\t%REF\\t%ALT\\t%QUAL[\\t%DS]\\n test3_vcf.vcf.gz | gzip > test3_to_predixcan_format.gz | |
bcftools query -l test3_vcf.vcf.gz | tr '_' '\t' > test3_to_predixcan_format.sample |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment