vcf_readLineRaw {WhopGenome} | R Documentation |
Read a line of data from the given VCF file and return it as a string without postprocessing.
vcf_readLineRaw( vcffh ) vcf_readLineRawFiltered( vcffh )
vcffh |
VCF file handle |
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.
For the 1-argument versions: A raw string representing a line of data from the file or FALSE if no more lines to read
Ulrich Wittelsbuerger
vcffile <- vcf_open( system.file( "extdata", "ex.vcf.gz" , package="WhopGenome") ) d <- vcf_readLineRaw( vcffile )