Created
April 4, 2015 12:22
-
-
Save winni2k/c00109b4840fc6a8553c to your computer and use it in GitHub Desktop.
Converting WTCCC haps file to tabixed haps
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
zcat wtccc.haps.gz | tr ' ' '\t' | bgzip -c > wtccc.tabhaps.gz | |
# first column is the chromosome, third column is position | |
# these coordinates are 1-base | |
tabix -s 1 -b 3 wtccc.tabhaps.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment