vcf_parseNextSNP {WhopGenome}R Documentation

Read until next SNP or next line and buffer it

Description

Read until next SNP or next line and buffer it. Use the vcf_getXXX functions to access specific fields of the line

Usage

vcf_parseNextSNP(vcffh)
vcf_parseNextLine(vcffh)

Arguments

vcffh

VCF file handle

Details

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

Value

None.

Author(s)

Ulrich Wittelsbuerger

See Also

vcf_isSNP, vcf_open, vcf_getPos

Examples

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

[Package WhopGenome version 0.9.7 Index]