Skip to content

Commit

Permalink
feat: add Probe object
Browse files Browse the repository at this point in the history
  • Loading branch information
emmcauley committed Sep 25, 2024
1 parent c83ffb1 commit f30cfaf
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions prymer/api/probe.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
from dataclasses import dataclass

from fgpyo.util.metric import Metric

from prymer.api.primer import Primer

@dataclass(frozen=True, init=True, kw_only=True, slots=True)
class Probe(Primer, Metric["Probe"]):
"""Stores the properties of the designed Probe. Inherits `tm`, `penalty`,
`span`, `bases`, and `tail` from `Primer`.
Attributes:
self_any_th: self-complementarity throughout the probe as calculated by Primer3
self_end_th: 3' end complementarity of the probe as calculated by Primer3
hairpin_th: hairpin formation thermodynamics of the probe as calculated by Primer3
"""

self_any_th: float
self_end_th: float
hairpin_th: float

0 comments on commit f30cfaf

Please sign in to comment.