Compress/index input with bgzip+tabix

From PileLine

Revision as of 18:31, 15 April 2011 by Admin (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

GP files (both intervals and single position files) can be compressed+indexed with tabix. PileLine now supports this format as input for its commands.

NOTE: PileLine will recognize a input file as compressed if they have the .bgz extension.

Compressing GP files with tabix

  1. Download tabix software from: http://samtools.sourceforge.net/tabix.shtml
  2. Compress a file (for example a .bed)
cat myfile.bed | bgzip > myfile.bed.bgz
tabix -p bed myfile.bed.bgz
#tabix has now created the myfile.bed.bgz.tbi, which is the index.
Personal tools