findInFlatfile: Find Taxa and Accession Numbers in GenBank Flatfiles

Description Usage Arguments Value

View source: R/findInFlatfile.R

Description

Checks if any entries of a taxon are present in a given GenBank flatfile based on regular expressions. The motivation is to save computation time by not parsing files that do not include the taxon of interest.

Usage

1

Arguments

file

A character string giving the name of the GenBank flatfile.

taxon

A character string giving the name of the taxon.

acc

A character string giving the accession number.

Value

Logical, returns TRUE, if taxon is included with one or more entries in file.


heibl/megaptera documentation built on Jan. 17, 2021, 3:34 a.m.