vcf_parseNextSNP {WhopGenome} | R Documentation |
Read until next SNP or next line and buffer it. Use the vcf_getXXX functions to access specific fields of the line
vcf_parseNextSNP(vcffh) vcf_parseNextLine(vcffh)
vcffh |
VCF file handle |
Use .Call("VCF_parseNextSNP", vcffh ) and .Call("VCF_parseNextLine", vcffh ) respectively, to eliminate the overhead of using the R wrapper function.
None.
Ulrich Wittelsbuerger
vcf_isSNP, vcf_open, vcf_getPos
vcffile <- vcf_open( system.file( "extdata", "ex.vcf.gz" , package="WhopGenome") ) vcf_parseNextSNP( vcffile ) vcf_getPos( vcffile )