Skip to content

Instantly share code, notes, and snippets.

@winni2k
Created April 4, 2015 12:22
Show Gist options
  • Save winni2k/c00109b4840fc6a8553c to your computer and use it in GitHub Desktop.
Save winni2k/c00109b4840fc6a8553c to your computer and use it in GitHub Desktop.
Converting WTCCC haps file to tabixed haps
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