# HG changeset patch # User nilesh # Date 1373489866 14400 # Node ID 4be32b814be093f451a0293fabd39ae06b7203bc # Parent 148a92a4d0edc8609e9bb5b32c4abeebdfb62111 Uploaded diff -r 148a92a4d0ed -r 4be32b814be0 bgzip.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bgzip.xml Wed Jul 10 16:57:46 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; + + +