bgzf_compress {WhopGenome}R Documentation

Compress file with bgzip

Description

Write contents of file <infilename> bgzip-compressed to file named <outfilename>.

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

Details

Compresses the file specified by <infilename> 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 <outfilename>.

Value

TRUE if call succeeds, FALSE if it fails).

Author(s)

Ulrich Wittelsbuerger

Examples


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


[Package WhopGenome version 0.9.7 Index]