# HG changeset patch # User nilesh # Date 1373491254 14400 # Node ID 62ce37b4c6e148c012fa7deb5e7b6fbc25db896b # Parent ea024cba4b7b80f25219cf53da7a765ed6a0f191 Uploaded diff -r ea024cba4b7b -r 62ce37b4c6e1 bgzip.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bgzip.xml Wed Jul 10 17:20:54 2013 -0400 @@ -0,0 +1,49 @@ + + Block compression/decompression utility. Required for use of tabix. + + tabix + + + bgzip + + #if str($virtualOffset) != "" + -b $virtualOffset + #end if + + #if str($size) != "" + -s $size + #end if + + $input + + + + + + + + + + + + +**What it does:** + +The input data file is sorted and compressed by bgzip which has a gzip(1) like interface. Tabix requires the file to be compressed using this tool first. + +**Citation:** + +Tabix was written by Heng Li. The BGZF library was originally implemented by Bob Handsaker and modified by Heng Li for remote file access and in-memory caching. + +http://samtools.sourceforge.net/tabix.shtml + +**Example:** + +(grep ^"#" in.gff; grep -v ^"#" in.gff | sort -k1,1 -k4,4n) | bgzip > sorted.gff.gz; + +tabix -p gff sorted.gff.gz; + +tabix sorted.gff.gz chr1:10,000,000-20,000,000; + + +