This function can be use to call wrapped nvBWT
binary.
Value
An invisible Integer
of call
status. The value is 0 when there is not any mistakes
Otherwise the value is non-zero.
Details
Available options:
-v | --verbosity int (0-6) [5] // select the verbosity level
-m | --max-length int [inf] // clamp input length
-b | --byte-packing [default] // output a byte-encoded .pac file
-w | --word-packing // output a word-encoded .wpac file
// (more efficient)
-c | --crc // compute CRCs
-d | --device // select a cuda device
References
Langmead, B., & Salzberg, S. L. (2012). Fast gapped-read alignment with Bowtie 2. Nature methods, 9(4), 357-359.
Examples
td <- tempdir()
fa_file <- system.file(package='RbowtieCuda', 'extdata', 'bt2', 'refs', 'lambda_virus.fa')
nvBWT(myinput=fa_file, output=file.path(td, 'index'), options='')
#> [1] 0