forked from jensenlab/primer3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.rmd
48 lines (35 loc) · 1.03 KB
/
README.rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
output: github_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE, collapse = TRUE)
library(primer3)
```
# primer3
primer3 provides a direct interface to the thermodynamic
calculations in Primer3 (melting temperatures, primer dimers, secondary
structures, etc.). The package is self-contained and does not require a
separate installation of Primer3.
## Overview
primer3 contains four functions:
```{r eval=FALSE}
calculate_tm()
calculate_hairpin()
calculate_homodimer()
calculate_dimer()
```
See the function documentation for details on inputs and usage.
## Installation
```{r, eval = FALSE}
# Install the latest version directly from GitHub
install.packages("devtools")
devtools::install_github("jensenlab/primer3")
```
## Usage
```{r}
calculate_tm(c("AAGCCGCGTACGA", "AAGAGCGATGACG"))
calculate_hairpin("CCCCCATCCGATCAGGGGG")
```
## Acknowledgements
primer3 builds on [Primer3](http://primer3.sourceforge.net) and modifications
made by the [primer3-py](https://github.com/libnano/primer3-py) project.