vcf_readLineRaw {WhopGenome}R Documentation

Read a line of data from the given VCF file and return it as a string without postprocessing.

Description

Read a line of data from the given VCF file and return it as a string without postprocessing.

Usage

vcf_readLineRaw( vcffh )

vcf_readLineRawFiltered( vcffh )

Arguments

vcffh

VCF file handle

Details

vcf_readLineRawFiltered applies the filtering rules (see vcf_describefilters) and does not return any lines that do not pass the filter rules.

Use .Call("VCF_readLineRaw", vcffh ) and .Call("VCF_readLineRawFiltered", vcffh ) respectively, to eliminate the overhead of using the R wrapper function.

Value

For the 1-argument versions: A raw string representing a line of data from the file or FALSE if no more lines to read

Author(s)

Ulrich Wittelsbuerger

Examples

	vcffile <- vcf_open( system.file( "extdata", "ex.vcf.gz" , package="WhopGenome") )
	d <- vcf_readLineRaw( vcffile )

[Package WhopGenome version 0.9.7 Index]