parse.header: Parse FASTA headers

View source: R/templates.R

parse.headerR Documentation

Parse FASTA headers

Description

Parses the headers of a FASTA file.

Usage

parse.header(hdr, delim, hdr.str, id.column)

Arguments

hdr

The headers (> entries) of a FASTA File.

delim

The delimiter used to separate distinct fields in the headers. For example, | for headers such as > E.coli | GeneX | ...

hdr.str

Names of the fields appearing in the header.

id.column

Field in the header to be used used as an identifier for the sequences.

Value

Data frame with structured information from the headers.


matdoering/openPrimeR documentation built on July 4, 2025, 3:59 a.m.