Set/Modify the BLAST options for a QuickBLAST instance.

SetQuickBLASTOptions(ptr, program_name, options, verbose = TRUE)

Arguments

ptr

(Rcpp::XPtr<QuickBLAST>) or (unsigned int) Pointer/ID of QuickBLAST instance

program_name

(string) Name of the BLAST program

options

(string (or) Named List) List of BLAST options - check QuickBLAST::GetAvailableBLASTOptions(). String should be of the format "-option1 value1 -option2 value2"

verbose

(bool) Verbose?

Value

(bool) TRUE - if options set for the QuickBLAST instance, FALSE otherwise

Examples

if (FALSE) { # \dontrun{
blastp_inst <- QuickBLAST::CreateQuickBLASTInstance(
  seq_type = 1,
  strand = 0,
  program = "tblastn",
  save_sequences = F,
  save_hsp_sequences = F
)
QuickBLAST::SetQuickBLASTOptions(
  blastp_inst,
  "blastp",
  "-evalue 1"
)
} # }