parsePrimer3Output: Parse Primer3 Output

Description Usage Arguments Value Examples

View source: R/primer3_io.R

Description

Parse Primer3 output and add to input TsIO or TsIOList object. This function is usually not used by the user, as designPrimers handles Primer3 output parsing.

Usage

1
parsePrimer3Output(object, primer3_output)

Arguments

object

The TsIO or TsIOList object used to design primers. No errors or warnings if this is a different TsIO or TsIOList object!

primer3_output

Character vector containing raw Primer3 output.

Value

TsIO or TsIOList object with added Primer3 output

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
## Not run: 
# chromosome 11 truncated transcript sequences
data("chr11_truncated_txs_seq")

# create TsIOList object for the first two sequence templates
tapseq_io <- TAPseqInput(chr11_truncated_txs_seq[1:2], product_size_range = c(350, 500))

# create boulder IO records
io_record <- createIORecord(tapseq_io)

# design primers and store raw Primer3 output
primer3_core <- getOption("TAPseq.primer3_core")
primer3_output <- system2(command = primer3_core, input = io_record, stdout = TRUE)

# parse output and add it to input TsIO object(s)
tapseq_io <- parsePrimer3Output(tapseq_io, primer3_output)
tapseq_primers(tapseq_io)

## End(Not run)

TAPseq documentation built on Nov. 8, 2020, 7:51 p.m.