bgzf_compress: Compress file with bgzip

Description Usage Arguments Details Value Author(s) Examples

View source: R/bgzf.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
8
##
##	Example :
##
gfffile  <- system.file("data", "ex.gff3", package = "WhopGenome" )
gffgzfile <- paste( sep="", gfffile, ".gz" )
file.remove( gffgzfile )
bgzf_compress( gfffile , gffgzfile )
file.exists( gffgzfile )

WhopGenome documentation built on May 1, 2019, 10:12 p.m.