R/RcppExports.R
CreateQuickBLASTInstance.RdCreate a new QuickBLAST C++ object with seq_type, strand, program and BLAST options, which can be used in QuickBLAST::BLAST2Files() and QuickBLAST::BLAST2Seqs()
CreateQuickBLASTInstance(
seq_type,
strand,
program,
options = NULL,
save_sequences = FALSE,
save_hsp_sequences = FALSE
)(int) 0 - (eNucleotide) (OR) 1 - (eProtein)
(int) 0 - (ePlus) (OR) 1 - (eMinus)
(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". If empty, default values (per program) are used.
(bool) Save Full Sequences to output?. (Default: FALSE)
(bool) Save HSP Sequences to output?. (Default: FALSE)
(Rcpp::XPtr<QuickBLAST>) Pointer to a QuickBLAST Instance (Cannot be used in R)
Set save_sequences AND/OR save_hsp_sequences when using Genomes
if (FALSE) { # \dontrun{
blastp_inst <- QuickBLAST::CreateQuickBLASTInstance(
seq_type = 1,
strand = 0,
program = "blastp",
save_sequences = F,
save_hsp_sequences = F
)
} # }