parseTags: Parse locus tags

Description Usage Arguments Details Value Author(s) See Also

View source: R/parseTags.R

Description

Parse locus tags from text and tables and expand tag pairs marking the start and end of a region

Usage

1
parseTags(y, tags, prefix, suffix, notStartingWith, expand = TRUE, digits = 4)

Arguments

y

output from searchPMC

tags

an ordered list of locus tags, used for expanding locus tag pairs

prefix

locus tag prefix, can be a regular expression such as "BPS[SL]" or "VCA?"

suffix

locus tag suffix, should be a single letter "a" or character class "[ac]" or grouping brackets "(a|c|\.1)"

notStartingWith

optional single letter to exclude matches, eg, use "J" to match "HP" but not "JHP" tags in Helicobacter

expand

expand locus tags pairs marking the start and end of a operon, island or other region

digits

number of digits in locus tags, use NA for 1 or more

Details

Extracts locus tags and expands tag pairs using seqIds. Mainly used by findTags, see that functoin for details.

Value

A data.frame

Author(s)

Chris Stubben

See Also

findTags


cstubben/pmcXML documentation built on May 14, 2019, 12:25 p.m.