Get the header strings of a FASTA file as a String Vector

GetFASTAHeaders(path, keep_gt = FALSE)

Arguments

path

(std::string) Path to FASTA file

keep_gt

(bool) Keep the '>' symbol? (Default: FALSE)

Value

(SEXP) Rcpp::StringVector - on success, FALSE - Otherwise.

Examples

if (FALSE) { # \dontrun{
QuickBLAST::GetFASTAHeaders(
  system.file(
    "extdata",
    "protein_query.fasta",
    package = "QuickBLAST",
    mustWork = T
  ),
  keep_gt = F
)
} # }