handle_primers: Modify reads based on matched primers

View source: R/primers.R

handle_primersR Documentation

Modify reads based on matched primers

Description

handle_primers carries out the read modification specified in make_read_primer_table.

Usage

handle_primers(
  result,
  locus_attrs,
  primer_action_fwd,
  primer_action_rev,
  reverse_primer_r1
)

Arguments

result

data frame of read and primer information as from make_read_primer_table

locus_attrs

data frame of locus attributes

primer_action_fwd

keyword for handling forward primers (see make_read_primer_table)

primer_action_rev

keyword for handling reverse primers (see make_read_primer_table)

reverse_primer_r1

is each reverse primer in locus_attrs given in its orientation on the forward read?

Value

modified data frame with Seq column containing modified sequences


ShawHahnLab/microsat documentation built on Aug. 25, 2023, 11:16 p.m.