Description Usage Arguments Details Value Author(s) See Also Examples
Build a .fai-index for the given FASTA file.
1  | fai_build( filename )
 | 
filename | 
 Name of the FASTA file for which an index file should be built.  | 
Use .Call("FAI_build", filename ) to eliminate the overhead of using the R wrapper function.
TRUE if call succeeds, FALSE if it fails.
Ulrich Wittelsbuerger
fai_open
1 2 3 4 5 6 7 8 9  | ##
##	Example :
##
faifile  <- system.file("extdata", "ex.fasta", package = "WhopGenome")
faiindexfile <- paste( sep="", faifile, ".fai" )	# construct name of index file
file.remove( faiindexfile )				# remove existing index
fai_build( faifile )					# re-create index
stopifnot( file.exists(faiindexfile) )	# check whether index file exists
print( "All OK" )
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.