read_templates_multiple: Input of Multiple Templates.

View source: R/templates.R

read_templates_multipleR Documentation

Input of Multiple Templates.

Description

Reads multiple template CSV/FASTA files.

Usage

read_templates_multiple(
  filenames,
  hdr.structure = NULL,
  delim = NULL,
  id.column = NULL,
  rm.keywords = NULL,
  remove.duplicates = FALSE,
  fw.region = c(1, 30),
  rev.region = c(1, 30),
  gap.character = "-",
  run = NULL
)

Arguments

filenames

Names of FASTA/CSV files containing template data.

hdr.structure

A character vector describing the information contained in the FASTA headers. In case that the headers of fasta.file contain template group information, please include the keyword "GROUP" in hdr.structure.

delim

Delimiter for the information in the FASTA headers.

id.column

Field in the header to be used as the identifier.

rm.keywords

A vector of keywords that are used to remove templates whose headers contain any of the keywords.

remove.duplicates

Whether duplicate sequence shall be removed.

fw.region

The positional interval from the template 5' end specifying the binding sites for forward primers.

rev.region

The positional interval from the template 3' end specifying the binding sites for reverse primers.

gap.character

The character in the input file representing gaps. Gaps are automatically removed upon input.

run

An identifier for the template sequences.

Value

A list containing objects of class Templates.


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