vcf_parseNextSNP: Read until next SNP or next line and buffer it

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/read_simple.R

Description

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

Usage

1
2

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

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

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