extract_ncbi_tabs: Extract Tables from NCBI Output

View source: R/parse_ncbi.R

extract_ncbi_tabsR Documentation

Extract Tables from NCBI Output

Description

Extracts the tables from the raw text file output from NCBI.

Usage

extract_ncbi_tabs(
  file,
  lines = readLines(file),
  col_names = c("description", "scientific_name", "common_name", "taxid", "max_score",
    "total_score", "query_cover", "e_value", "per_ident", "acc_len", "accession")
)

Arguments

file

file path to NCBI output file

lines

the raw lines of the text file

col_names

character vector of column names to assign

Value

list, with one element per table

Author(s)

Matt Espe


fishsciences/metabarcode_utils documentation built on Feb. 25, 2024, 11:31 a.m.