Learn R Programming

WhopGenome (version 0.9.4)

bgzf_compress: Compress file with bgzip

Description

Write contents of file bgzip-compressed to file named .

Usage

bgzf_compress( infilename, outfilename )

Arguments

infilename
Name of file to read data from for compression
outfilename
Name of file to write compressed data to

Value

TRUE if call succeeds, FALSE if it fails).

Details

Compresses the file specified by with the bgzip compression scheme, as developed by Bob Handsaker and modified by Heng Li, and creates a compressed file under the name given by .

Examples

Run this code

##
##	Example :
##
gfffile  <- system.file("data", "ex.gff3", package = "WhopGenome" )
gffgzfile <- paste( sep="", gfffile, ".gz" )
file.remove( gffgzfile )
bgzf_compress( gfffile , gffgzfile )
file.exists( gffgzfile )

Run the code above in your browser using DataLab