Set/Modify the BLAST options for a QuickBLAST instance.
SetQuickBLASTOptions(ptr, program_name, options, verbose = TRUE)(Rcpp::XPtr<QuickBLAST>) or (unsigned int) Pointer/ID of QuickBLAST instance
(string) Name of the BLAST program
(string (or) Named List) List of BLAST options - check QuickBLAST::GetAvailableBLASTOptions(). String should be of the format "-option1 value1 -option2 value2"
(bool) Verbose?
(bool) TRUE - if options set for the QuickBLAST instance, FALSE otherwise
blastp_inst <- QuickBLAST::CreateQuickBLASTInstance(
seq_type = 1,
strand = 0,
program = "tblastn",
save_sequences = FALSE,
save_hsp_sequences = FALSE
)
#> Using tblastn Defaults...
QuickBLAST::SetQuickBLASTOptions(
blastp_inst,
"blastp",
"-evalue 1"
)
#> Option: evalue set to : 1
#> [1] TRUE