fai_open {WhopGenome} | R Documentation |
Opens a FASTA file that has an associated .fai index file
fai_open( filename )
filename |
File name of the FASTA file. A file filename.fai is expected to reside in the same path. |
Use .Call("FAI_open", filename ) to eliminate the slight overhead of using the R wrapper function.
Returns a FAIhandle that is required for fai_query3, fai_query5, fai_close
Ulrich Wittelsbuerger
fai_reopen, fai_query3, fai_query5
## ## Example : ## faifile <- system.file("extdata", "ex.fasta", package = "WhopGenome") faifh <- fai_open( faifile ) stopifnot( !is.null(faifh) )