TsIO-class: TsIO class

TsIO-classR Documentation

TsIO class

Description

TsIO objects store TAP-seq Primer3 input and output.

Usage

TsIO(
  sequence_id,
  target_sequence,
  beads_oligo,
  reverse_primer,
  product_size_range,
  target_annot = NULL,
  primer_num_return = 5,
  min_primer_region = 100,
  primer_opt_tm = NA,
  primer_min_tm = NA,
  primer_max_tm = NA
)

## S4 method for signature 'TsIO'
sequence_id(x)

## S4 replacement method for signature 'TsIO'
sequence_id(x) <- value

## S4 method for signature 'TsIO'
target_sequence(x)

## S4 replacement method for signature 'TsIO'
target_sequence(x) <- value

## S4 method for signature 'TsIO'
beads_oligo(x)

## S4 replacement method for signature 'TsIO'
beads_oligo(x) <- value

## S4 method for signature 'TsIO'
reverse_primer(x)

## S4 replacement method for signature 'TsIO'
reverse_primer(x) <- value

## S4 method for signature 'TsIO'
target_annot(x)

## S4 replacement method for signature 'TsIO'
target_annot(x) <- value

## S4 method for signature 'TsIO'
product_size_range(x)

## S4 replacement method for signature 'TsIO'
product_size_range(x) <- value

## S4 method for signature 'TsIO'
primer_num_return(x)

## S4 replacement method for signature 'TsIO'
primer_num_return(x) <- value

## S4 method for signature 'TsIO'
min_primer_region(x)

## S4 replacement method for signature 'TsIO'
min_primer_region(x) <- value

## S4 method for signature 'TsIO'
primer_opt_tm(x)

## S4 replacement method for signature 'TsIO'
primer_opt_tm(x) <- value

## S4 method for signature 'TsIO'
primer_min_tm(x)

## S4 replacement method for signature 'TsIO'
primer_min_tm(x) <- value

## S4 method for signature 'TsIO'
primer_max_tm(x)

## S4 replacement method for signature 'TsIO'
primer_max_tm(x) <- value

## S4 method for signature 'TsIO'
sequence_template(x)

## S4 method for signature 'TsIO'
tapseq_primers(x)

## S4 method for signature 'TsIO'
pcr_products(x)

Arguments

sequence_id

Name (character) of the target sequence, e.g. the gene name. It's adviced to use meaningful sequence ids to savely assign designed primers to their targets.

target_sequence

A DNAString or character object containing the target sequence for which primers should be designed. Usually a transcript sequence.

beads_oligo

Beads-oligo-dT sequence for the used droplet sequencing protocol (10x, Drop-seq).

reverse_primer

Reverse primer sequence used for all PCR reactions.

product_size_range

Numerical vector of length 2 specifying the desired length of the resulting amplicons.

target_annot

(optional) A GRanges object with transcript annotation in case the target is a transcript of a gene locus. If provided, it should contain all exons of the targeted transcript.

primer_num_return

How many forward primers should be designed? (default: 5)

min_primer_region

Minimum sequence length required for primer design. Mostly relevant in case the sequence template is too short to allow the specified product_size_range.

primer_opt_tm, primer_min_tm, primer_max_tm

Optimal, minumum and maximum primer melting temperature.

x

A TsIO object.

value

A valid value to assign to the chosen slot.

tapseq_primers

Slot where designed TAP-seq primers are stored. Not set by user.

pcr_products

Slot where PCR products of primers are stored. Not set by user.

Details

The TsIO class is based on the Boulder IO records used by Primer3 (Primer3 manual). These objects are used to store the sequence templates and parameters needed for TAP-seq primer design. Primers designed with Primer3 are also stored in the same TsIO objects.

Use TsIO() to construct a new TsIO object from scratch.

Value

A TsIO object.

Methods (by generic)

  • sequence_id(TsIO): Get sequence_id

  • sequence_id(TsIO) <- value: Set sequence_id

  • target_sequence(TsIO): Get target_sequence

  • target_sequence(TsIO) <- value: Set target_sequence

  • beads_oligo(TsIO): Get beads_oligo

  • beads_oligo(TsIO) <- value: Set beads_oligo

  • reverse_primer(TsIO): Get reverse_primer

  • reverse_primer(TsIO) <- value: Set reverse_primer

  • target_annot(TsIO): Get target_annot

  • target_annot(TsIO) <- value: Set target_annot

  • product_size_range(TsIO): Get product_size_range

  • product_size_range(TsIO) <- value: Set product_size_range

  • primer_num_return(TsIO): Get primer_num_return

  • primer_num_return(TsIO) <- value: Set primer_num_return

  • min_primer_region(TsIO): Get min_primer_region

  • min_primer_region(TsIO) <- value: Set min_primer_region

  • primer_opt_tm(TsIO): Get primer_opt_tm

  • primer_opt_tm(TsIO) <- value: Set primer_opt_tm

  • primer_min_tm(TsIO): Get primer_min_tm

  • primer_min_tm(TsIO) <- value: Set primer_min_tm

  • primer_max_tm(TsIO): Get primer_max_tm

  • primer_max_tm(TsIO) <- value: Set primer_max_tm

  • sequence_template(TsIO): Create sequence_template

  • tapseq_primers(TsIO): Get tapseq_primers

  • pcr_products(TsIO): Get pcr_products

See Also

http://primer3.org/manual.html for Primer3 manual.

Examples

# get example transcript sequence
data("chr11_truncated_txs_seq")
tx_seq <- chr11_truncated_txs_seq[[1]]
tx_id <- names(chr11_truncated_txs_seq)[1]

# 10x beads-oligo-dt sequence
beads_oligo <- "CTACACGACGCTCTTCCGATCTNNNNNNNNNNNNNNNNNNNNNNNNNNNNTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT"

# reverse primer used in all PCR reactions
reverse_primer <- "CTACACGACGCTCTTCCGATCT"

# create TsIO object
obj <- TsIO(sequence_id = tx_id, target_sequence = tx_seq, beads_oligo = beads_oligo,
            reverse_primer = reverse_primer, product_size_range = c(350, 500))

# slot values can be accessed using accessor functions
sequence_id(obj)
sequence_id(obj) <- "Gene1"
sequence_id(obj)

# the sequence template (target sequence + reverse complement of beads-oligo-dt) for primer
# design can be viewed as well
sequence_template(obj)

argschwind/TAPseq documentation built on Feb. 9, 2024, 8:20 p.m.