# Patent application title: SYSTEM AND METHOD FOR DETERMINING A NUCLEOTIDE SEQUENCE

##
Inventors:
Niles A. Pierce (South Pasadena, CA, US)
Brian R. Wolfe (Pasadena, CA, US)
Joseph Zadeh (San Francisco, CA, US)

Assignees:
CALIFORNIA INSTITUTE OF TECHNOLOGY

IPC8 Class: AG06F1922FI

USPC Class:
703 11

Class name: Data processing: structural design, modeling, simulation, and emulation simulating nonelectrical device or system biological or biochemical

Publication date: 2013-10-03

Patent application number: 20130262071

## Abstract:

Described herein are systems and processes for designing the sequence of
one or more interacting nucleic acid strands intended to adopt a target
secondary structure at equilibrium. The target secondary structure is
decomposed into a binary tree and candidate mutations are evaluated on
leaf nodes of the tree. During a process of leaf optimization,
defect-weighted mutation sampling is used to select each candidate
mutation position with a probability proportional to its contribution to
an ensemble defect of the leaf. Subsequences of the tree are then merged,
moving up the tree until a final nucleotide sequence of interest is
determined that has the target secondary structure at equilibrium.## Claims:

**1.**A method in an electronic system for determining a nucleotide sequence that can adopt a target secondary structure at equilibrium, comprising: decomposing a target secondary structure of a nucleic acid molecule into a binary tree structure having leaves and nodes, wherein the decomposition takes place at splice points within duplex stems of the target secondary structure; designing a nucleotide sequence for each leaf within the binary tree; recursing the binary tree to merge and reoptimize the nucleotide sequence for each node of the binary tree; and determining the nucleotide sequence of the root node from the merged and reoptimized nucleotide sequences of the other nodes in the binary tree.

**2.**The method of claim 1, wherein decomposing the target secondary structure comprises adding dummy nucleotides to the splice points of the decomposed target secondary structure.

**3.**The method of claim 2, wherein recursing the tree comprising removing the dummy nucleotides when merging the leaves into parent nodes.

**4.**The method of claim 1, wherein decomposing the target secondary structure comprising setting splice points at least a minimum number of base pairs from the end of the duplex stems.

**5.**The method of claim 1, wherein designing the nucleotide sequence for each leaf comprises optimizing the nucleotide sequence of the leaf nodes of the tree to reduce an ensemble defect of each leaf node below a user-specified stop condition.

**6.**The method of claim 5, wherein optimizing the nucleotide sequence comprises optimizing the ensemble defect using defect weighted mutation sampling so that a candidate mutation position in the nucleotide sequence is randomly selected with a probability proportional to the ensemble defect contribution of the nucleotide.

**7.**The method of claim 1, wherein recursing the binary tree comprises identifying defective subtrees of the tree and re-optimizing any defective subtree by defect-weighted child sampling, wherein a child node is randomly selected for re-optimization with a probability that is proportional to the ensemble defect contribution of the child node.

**8.**The method of claim 1, wherein designing the nucleotide sequence for each leaf within the binary tree comprises selecting an initial random nucleotide sequence to be compared against the decomposed target secondary structure at each leaf node in the tree.

**9.**The method of claim 8, wherein the initial random nucleotide sequence is iteratively mutated to optimize the nucleotide sequence at each leaf of the tree.

**10.**The method of claim 1, wherein the method is implemented in computer servers.

**11.**The method of claim 1, wherein the target secondary structure comprises one or more nucleic acid chains.

**12.**The method of claim 1, wherein the target secondary structure is converted into a matrix within a computer memory.

**13.**The method of claim 1, wherein decomposing the target secondary structure further comprises identifying stem structures within the target secondary structure.

**14.**The method of claim 1, wherein decomposing the target secondary structure further comprises decomposing the parental nodes until all the nodes are leaf nodes.

**15.**The method of claim 1, wherein determining the nucleotide sequence of the root node further comprises providing a nucleotide sequence of a nucleic acid strand that adopts the target secondary structure.

**16.**An electronic system for determining a nucleotide sequence that adopts a target secondary structure at equilibrium, comprising: means for decomposing a target secondary structure of a nucleic acid molecule into a binary tree having leaves and nodes, wherein the decomposition takes place at splice points within duplex stems of the target secondary structure; means for designing a nucleotide sequence for each leaf within the binary tree; means for recursing the tree to merge and reoptimize the nucleotide sequence for each node of the tree; and means for determining the nucleotide sequence of the root node from the merged and reoptimized nucleotide sequences of the other nodes in the binary tree.

**17.**A programmed storage device comprising instructions that when executed by a processor perform a method comprising: decomposing a target secondary structure of a nucleic acid molecule into a tree having leaves and nodes, wherein the decomposition takes place at splice points within duplex stems of the target secondary structure; designing a nucleotide sequence for each leaf within the binary tree; recursing the tree to merge and reoptimize the nucleotide sequence for each node of the tree; and determining the nucleotide sequence of the root node from the merged and reoptimized nucleotide sequences of the other nodes in the tree.

**18.**The programmed storage device of claim 17, wherein the programmed storage is a compact disk or DVD.

**19.**The programmed storage device of claim 17, wherein designing the nucleotide sequence for each leaf comprises optimizing the nucleotide sequence of the leaf nodes of the tree to reduce an ensemble defect of each leaf node below a user-specified stop condition.

**20.**The programmed storage device of claim 17, wherein recursing the tree comprises identifying defective subtrees of the tree and re-optimizing any defective subtree by defect-weighted child sampling, wherein a child node is randomly selected for re-optimization with a probability that is proportional to the ensemble defect contribution of the child node.

## Description:

**CROSS**-REFERENCE TO RELATED APPLICATIONS

**[0001]**The present application is a divisional of U.S. application Ser. No. 13/079,747, filed Apr. 4, 2011, which claims priority to U.S. Provisional Application No. 61/320,863 filed on Apr. 5, 2010, all of which are incorporated by reference in their entirety.

**REFERENCE TO SEQUENCE LISTING**

**[0002]**The present application includes a Sequence Listing in Electronic format. The Sequence Listing is provided as a file entitled CALTE.068D1_Sequence.txt, created Feb. 20, 2013, which is approximately 1 kb in size. The information in the electronic format of the sequence listing is incorporated herein by reference in its entirety.

**BACKGROUND OF THE INVENTION**

**[0004]**The programmable chemistry of nucleic acid base pairing enables the rational design of self-assembling molecular structures, devices, and systems. However, the ability to specify a target nucleic acid structure, and then design a nucleic acid sequence that will adopt this target structure is still challenging and computationally intensive.

**Secondary Structure Model**

**[0005]**For an RNA strand with N nucleotides, the sequence, φ, is specified by base identities φ

_{i}.di-elect cons. {A, C, G, U} for i=1, . . . , N (T replaces U for DNA). The secondary structure, s, of one or more interacting RNA strands can be defined by a set of base pairs (each a Watson Crick pair [A-U or C-G] or wobble pair [G-U]). Using the set of base pairs, a polymer graph for a secondary structure can then be constructed by ordering the strands around a circle, drawing the backbones in succession from 5' to 3' around the circumference with a nick between each strand, and drawing straight lines connecting paired bases.

**[0006]**A secondary structure is "pseudoknotted" if every strand ordering corresponds to a polymer graph with crossing lines. A secondary structure is connected if no subset of the strands is free of the others. An "ordered complex" corresponds to the unpseudoknotted structural ensemble, Γ, comprising all connected polymer graphs with no crossing lines for a particular ordering of a set of strands. For a secondary structure, s .di-elect cons. Γ, the free energy, ΔG(φ, s), is calculated using nearest-neighbor empirical parameters for RNA in 1M Na

^{+5}or for DNA in user-specified Na.sup.+ and Mg.sup.++ concentrations. This physical model provides the basis for rigorous analysis and design of equilibrium base-pairing in the context of the free energy landscape defined over ensemble Γ.

**Characterizing Equilibrium Secondary Structure**

**[0007]**Using this secondary energy model, the equilibrium of a nucleic acid complex can be characterized. The equilibrium state of nucleic acid complex can be determined by calculating the partition function

**Q**( φ ) = s .di-elect cons. Γ - Δ G ( φ , s ) / k B T ##EQU00001##

**over the unpseudoknotted structure ensemble**Γ. Using the partition function, it is possible to then evaluate the equilibrium probability

**p**( φ , s ) = 1 Q ( φ ) - Δ G ( φ , s ) / k B T , ##EQU00002##

**of any secondary structure s**.di-elect cons. Γ. Here, k

_{B}is the Boltzmann constant and T is temperature. The secondary structure with the highest probability at equilibrium is the minimum free energy (MFE) structure, satisfying

**s MFE**( φ ) = arg min s .di-elect cons. Γ Δ G ( φ , s ) . ##EQU00003##

**[0008]**The equilibrium structural features of ensemble Γ are quantified by the base-pairing probability matrix, P(φ), with entries P

_{ij}(φ) .di-elect cons. [0, 1] corresponding to the probability,

**P i**, j ( φ ) = s .di-elect cons. Γ p ( φ , s ) S i , j ( s ) , ##EQU00004##

**that base pair ij forms at equilibrium**. Here, S(s) defines a structure matrix with entries S

_{ij}(s) .di-elect cons. {0, 1}. If structure s contains pair ij, then S

_{ij}(s)=1, otherwise S

_{ij}(s)=0. For convenience, the structure and probability matrices are augmented with an extra column to describe unpaired bases. The entry S

_{i},N+1(s) is unity if base i is unpaired in structure s and zero otherwise; the entry P

_{i},N+1(φ) .di-elect cons. [0, 1] denotes the equilibrium probability that base i is unpaired over ensemble Γ. Hence the row sums of the augmented S(s) and P(φ) matrices are unity.

**[0009]**The distance between two secondary structures, s

_{1}and s

_{2}, is the number of nucleotides paired differently in the two structures:

**d**( s 1 , s 2 ) = N - 1 ≦ i ≦ N 1 ≦ j ≦ N + 1 S i , j ( s 1 ) S i , j ( s 2 ) . ##EQU00005##

**[0010]**The discrete delta function is defined as

**δ s 1 , s 2 = { 1 , if d ( s 1 , s 2 ) = 0 0 , otherwise ##EQU00006##**

**with respect to secondary structure**.

**[0011]**Although the size of the ensemble, Γ, grows exponentially with the number of nucleotides N, the MFE structure having the lowest energy, the partition function, and the equilibrium base-pairing probabilities can be evaluated using Θ(N

^{3}) dynamic programs.

**[0012]**For a given target structure, s, the determination of the nucleotide sequence that will produce the target structure s can be specified as an optimization problem, minimizing an objective function with respect to sequence, φ. Rather than seeking a global optimum, optimization can be terminated if the objective function is reduced below a prescribed stop condition.

**[0013]**One strategy to determine the lowest free energy sequence that corresponds to a particular target structure s is to minimize the MFE defect

**μ ( φ , s ) = d ( s MFE , s ) = N - 1 ≦ i ≦ N 1 ≦ j ≦ N + 1 S i , j ( s MFE ( φ ) ) S i , j ( s ) , ##EQU00007##**

**corresponding to the distance between the MFE structure s**

^{MFE}(φ) and the target structure s. This approach hinges on whether or not the equilibrium structural features of ensemble Γ are well-characterized by the single structure s

^{MFE}(φ), which in turn depends on the specific sequence φ. If μ(φ, s)=0, the target structure s is the most probable secondary structure at equilibrium. However, p(φ, s) can nonetheless be arbitrarily small due to competition from other secondary structures in Γ.

**[0014]**To address this concern, an alternative strategy to MFE defect minimization is to minimize the probability defect:

**π(φ, s)=1-p(φ, s),**

**corresponding to the sum of the probabilities of all non**-target structures in the ensemble Γ. If π(φ, s)≈0, the sequence design is essentially ideal because the equilibrium structural properties of the ensemble are dominated by the target structure s. However, as π(φ, s) deviates from zero, it increasingly fails to characterize the quality of the sequence because the probability defect treats all non-target structures as being equally defective. This property is a concern for challenging designs where it may be infeasible to achieve π(φ, s)≈0.

**[0015]**To address these shortcomings, still another strategy is to minimize the ensemble defect between the target structure s and the equilibrium properties of sequence φ. The ensemble defect

**n**( φ , s ) = σ .di-elect cons. Γ p ( φ , σ ) d ( σ , s ) = N - 1 ≦ i ≦ N 1 ≦ j ≦ N + 1 P i , j ( φ ) S i , j ( s ) , ##EQU00008##

**corresponds to the average number of incorrectly paired nucleotides at**equilibrium calculated over ensemble Γ.

**[0016]**These three objective functions, ensemble defect minimization, MFE defect minimization and probability defect minimization, and can be cast into a unified form to highlight their differences:

**n**( φ , s ) = σ .di-elect cons. Γ p ( φ , s ) d ( σ , s ) , μ ( φ , s ) = σ .di-elect cons. Γ δ σ , s MFE d ( σ , s ) , π ( φ , s ) = σ .di-elect cons. Γ p ( φ , s ) ( 1 - δ σ , s ) . ##EQU00009##

**[0017]**Using n(φ, s) to perform ensemble defect optimization, the average number of incorrectly paired nucleotides at equilibrium is evaluated over ensemble Γ using p(φ, a), the Boltzmann-weighted probability of each secondary structure σ .di-elect cons. Γ, and d(σ, s), the distance between each secondary structure σ .di-elect cons. Γ and the target structure s. By comparison, using μ(φ, s) to perform MFE defect optimization, p(φ, a) is replaced by the discrete delta function δ.sub.σ, s

^{MFE}, which is unity for s

^{MFE}and zero for all other structures σ .di-elect cons. Γ. Alternatively, using π(φ, s) to perform probability defect optimization, d(σ, s) is replaced by the binary distance function (1-δ.sub.σ, s), which is zero for s and 1 for all other structures σ .di-elect cons. Γ.

**[0018]**Hence, the MFE defect makes the optimistic assumption that s

^{MFE}will dominate Γ at equilibrium, while the probability defect makes the pessimistic assumption that all structures σ .di-elect cons. Γ with d(σ, s)≠0 are equally distant from the target structure s. The objective function n(φ, s) quantifies the equilibrium structural defects of sequence φ even when μ(φ, s) and π(φ, s) do not.

**SUMMARY OF THE INVENTION**

**[0019]**Described herein are systems and processes for designing the sequence of one or more interacting nucleic acid strands intended to adopt a target secondary structure at equilibrium. Sequence design is formulated as an optimization problem with the goal of reducing an ensemble defect below a user-specified stop condition. For a candidate sequence and a given target secondary structure, the ensemble defect is the average number of incorrectly paired nucleotides at equilibrium evaluated over the ensemble of unpseudoknotted secondary structures. To reduce the computational cost of accepting or rejecting mutations to a random initial sequence, candidate mutations are evaluated on leaf nodes of a tree-decomposition of the target structure.

**[0020]**As described in more detail below, during leaf optimization, defect-weighted mutation sampling is used to select each candidate mutation position with probability proportional to its contribution to the ensemble defect of the leaf. As subsequences are merged moving up the tree, emergent structural defects resulting from crosstalk between sibling sequences are eliminated via reoptimization within the defective subtree starting from new random subsequences. Using a Θ(N

^{3}) dynamic program to evaluate the ensemble defect of a target structure with N nucleotides, this hierarchical approach implies an asymptotic optimality bound on design time. Thus, for sufficiently large N, the cost of sequence design is bounded below by 4/3 the cost of a single evaluation of the ensemble defect for the full sequence. Hence, the design process has time complexity Ω(N

^{3}). For target structures containing N .di-elect cons. {100, 200, 400, 800, 1600, 3200} nucleotides and duplex stems ranging from 1 to 30 base pairs, RNA sequence designs at 37° C. typically succeed in satisfying a stop condition with ensemble defect less than N/100. Empirically, the sequence design process exhibits asymptotic optimality and the exponent in the time complexity bound is sharp. This demonstrates a great improvement over prior systems that did not demonstrate this asymptotic optimality.

**[0021]**An embodiment is an electronic system for optimizing the sequence of a nucleic acid strand to adopt a specific target secondary structure at equilibrium. This embodiment of the system includes: an input for receiving a target secondary structure; a hierarchical structure decomposition module configured to decompose the target secondary structure at split points into a tree of parental nodes, child nodes and leaf nodes wherein each split point is formed within a duplex stem of the target structure; a leaf optimization module configured to determine a leaf nucleotide sequence of the target structure at each leaf node in the tree; and a merging module configured to recurse the nodes of the tree and merge the determined leaf nucleotide sequences at each node to optimize the nucleotide sequence of a nucleic acid strand that adopts the specific target secondary structure at equilibrium.

**[0022]**Yet another embodiment is a method in an electronic system for designing a nucleotide sequence to adopt a target secondary structure at equilibrium. This method includes: decomposing a target secondary structure of a nucleic acid molecule into a tree structure having leaves and nodes, wherein the decomposition takes place at splice points within duplex stems of the target secondary structure; designing a nucleotide sequence for each leaf within the binary tree; recursing the tree to merge and reoptimize the nucleotide sequence for each node of the tree; and determining the nucleotide sequence of the root node from the merged and reoptimized nucleotide sequences of the other nodes in the tree.

**[0023]**One other embodiment is an electronic system for designing a nucleotide sequence to adopt a target secondary structure at equilibrium. In this embodiment, the system includes means for decomposing a target secondary structure of a nucleic acid molecule into a tree having leaves and nodes, wherein the decomposition takes place at splice points within duplex stems of the target secondary structure; means for designing a nucleotide sequence for each leaf within the binary tree; means for recursing the tree to merge and reoptimize the nucleotide sequence for each node of the tree; and means for determining the nucleotide sequence of the root node from the merged and reoptimized nucleotide sequences of the other nodes in the tree.

**[0024]**Still another embodiment is a programmed storage device having instructions that when executed perform a method that includes: decomposing a target secondary structure of a nucleic acid molecule into a tree having leaves and nodes, wherein the decomposition takes place at splice points within duplex stems of the target secondary structure; designing a nucleotide sequence for each leaf within the binary tree; recursing the tree to merge and reoptimize the nucleotide sequence for each node of the tree; and determining the nucleotide sequence of the root node from the merged and reoptimized nucleotide sequences of the other nodes in the tree.

**BRIEF DESCRIPTION OF THE DRAWINGS**

**[0025]**FIG. 1 is a block diagram depicting certain embodiments of a nucleic acid sequence design system, wherein a sequence is designed for a proposed secondary structure.

**[0026]**FIG. 2 is a schematic illustration of one embodiment of a method for performing a hierarchical decomposition of a target structure.

**[0027]**FIG. 3 is a flow diagram showing one embodiment of a process for determining a nucleotide sequence having a target structure at equilibrium.

**[0028]**FIG. 4 shows pseudocode descriptions of the functions "DesignSeq", "UpdateChildren" and "OptimizeLeaf' found in certain of the disclosed embodiments.

**[0029]**FIGS. 5a-5c are plots of the structural features of test sets generated to characterize the nucleic acid design system. FIG. 5A is a histogram showing the fraction of bases paired in each structure for both test sets. FIG. 5B is a histogram counting the number of structures with a given number of stems. FIG. 5C is a histogram which shows the number of stems of each length in each test set.

**[0030]**FIGS. 6a-6d are plots showing the performance of certain embodiments of the system as the target structure size is increased. Particularly, FIG. 6A depicts the median relative ensemble defect after applying the design process to the engineered and random test set of target structures. FIG. 6B depicts the median time cost of applying the design process to the engineered and a random test set of target structures. FIG. 6c depicts the relative guanine-cytosine content after applying the design process to the engineered and a random test set of target structures. FIG. 6D depicts the design time cost, relative to the objective function evaluation cost, of applying certain processes to the engineered and a random test set of target structures.

**[0031]**FIGS. 7a and 7b depict the degree leaf independence in the design process for the engineered and random test set, respectively. They show ensemble defects of the leaves vs the root ensemble defects for initial sequences, sequences in which the leaves are designed and sequences after merging and reoptimization.

**[0032]**FIGS. 8a-8d are plots highlighting the effects of hierarchical structure decomposition and defect-weighted sampling on performance of certain embodiments on the engineered test set. Particularly, FIG. 8A depicts the relative ensemble defect after applying embodiments with and without hierarchical decomposition and with and without defect-weighted mutation sampling to each of a uniform sampling and defect-weighted sampling dataset for each of single-scale optimization and hierarchical optimization methods. FIG. 8B depicts the time cost of applying single-scale embodiments, hierarchically decomposing embodiments, uniform mutation sampling embodiments and defect-weighted mutation sampling embodiments. FIG. 8c depicts the relative guanine-cytosine content after applying the above embodiments. FIG. 8D depicts the design cost, relative to the objective function evaluation cost, of the embodiments.

**[0033]**FIGS. 9a-9d show plots of the effects of sequence initialization on performance for certain of the embodiments. Particularly, four types of sequences are considered: entirely random sequences, sequences of random adenosine-uracil (AU), sequences of random guanine-cytosine (GC), and sequences satisfying sequence symmetry minimization (SSM). FIG. 9A depicts the relative median ensemble defect resulting from each initial sequence type. FIG. 9B depicts the time cost resulting from each initial sequence type. FIG. 9c depicts the relative guanine-cytosine content resulting from each initial sequence type. FIG. 9D depicts the design cost relative to the objective function evaluation cost, resulting from each initial sequence type.

**[0034]**FIGS. 10a-10d show plots of the effects of a selected stop condition stringency on performance for certain embodiments of the invention. Particularly, five degrees of stop condition stringency are considered: f

_{stop}=0.001, f

_{stop}=0.005, f

_{stop}=0.01, f

_{stop}=0.05, and f

_{stop}=0.1. Each stringency was tested using the engineered test set. FIG. 10a depicts the median normalized ensemble defect resulting from each of the stop condition stringencies. FIG. 10B depicts the time cost of each of the stop condition stringencies. FIG. 10c depicts the relative guanine-cytosine content of each of the stop condition stringencies. FIG. 10d depicts the design cost, relative to the objective function cost, resulting from each of the stop condition stringencies.

**[0035]**FIGS. 11a-11d show plots of the effects of single and multi-stranded structures on performance for certain embodiments of the invention. Structures were selected from the engineered test set. FIG. 11a depicts the median ensemble defect for each length of single and multi-stranded structures. FIG. 11b depicts the relative time cost resulting from each of single and multi-stranded structures. FIG. 11c depicts the relative guaninecytosine content resulting from each of single and multi-stranded structures. FIG. 11d depicts the median design cost, relative to the objective function cost, resulting from each length of single and multi-stranded structures.

**[0036]**FIGS. 12a-12d show plots of the effects of the selected design material on performance for certain embodiments of the invention. Structures were selected from the engineered test set. FIG. 12A depicts the median normalized ensemble defect resulting from each structure length. FIG. 12B depicts the normalized median time cost resulting from each structure length. FIG. 12c depicts the guanine-cytosine content resulting from each structure length. FIG. 12D depicts the design cost, relative to the objective function cost.

**[0037]**FIGS. 13a-13d show plots of the effects of pattern prevention for certain of the embodiments described herein. Structures were selected from the engineered test set. FIG. 13A depicts the median normalized ensemble defect resulting from each of unconstrained designs and designs with pattern preventions. FIG. 13B depicts the relative time cost resulting from each of unconstrained designs and designs with pattern preventions. FIG. 13c depicts the relative guanine-cytosine content resulting from each of unconstrained designs and designs with pattern preventions. FIG. 13D depicts the relative design cost, as measured by the objective function, resulting from each of unconstrained designs and designs with pattern preventions.

**[0038]**FIG. 14A plots the efficiency on engineered test structures when certain embodiments are parallelized. FIG. 14B plots the speedup when certain embodiments are parallelized.

**[0039]**FIGS. 15a-15f are plots of the effects of different objective functions and variations on the embodiments described herein, specifically embodiments using single-scale methods to optimize the probability defect, single-scale methods to optimize the ensemble defect, hierarchical methods to optimize the MFE defect, and hierarchical methods to optimize the ensemble defect. These embodiments are all tested on the engineered test set. Particularly, FIG. 15A depicts the median normalized ensemble defect after applying these embodiments. FIG. 15B depicts the relative time cost after applying these embodiments. FIG. 15c depicts the relative guanine-cytosine content after applying these embodiments. FIG. 15d depicts the relative design cost of applying these embodiments. FIGS. 15e and 15f depict design quality of the four embodiments, showing the probability defect relative to the normalized ensemble defect and the normalized MFE defect relative to the normalized ensemble defect.

**DETAILED DESCRIPTION**

**[0040]**Embodiments of the invention relate to systems and processes for designing nucleic acid molecules that meet a target design criteria. In one embodiment, a single target unpseudoknotted structure having predetermined design criteria is input into the system. The target structure may include one or more nucleic acid molecule chains of unknown sequence. As described in more detail below, the system uses the target unpseudoknotted structure to optimize the base composition of one or more nucleotide sequences that will base pair together into a secondary structure that meets the target design criteria. This system is useful in order to design nucleic acid molecules that assemble in vitro or in vivo into target structures.

**[0041]**In one embodiment, the system is used to design small conditional RNAs that are used in a hybridization chain reaction (HCR). The HCR is described in U.S. Pat. No. 7,727,721 issued on Jun. 1, 2010, which is incorporated herein by reference in its entirety. These small conditional RNAs form target secondary structures that change conformation upon detection of a particular signal (Dirks R M, Pierce N A (2004) Triggered amplification by hybridization chain reaction. Proc Natl Acad Sci USA 101:15275-15278). For example, small conditional RNAs have been designed to self-assemble and disassemble along a predetermined pathway in order to perform dynamic functions (Yin, et al, (2008) Programming biomolecular self-assembly pathways Nature 451:318-322). Small conditional RNAs can cause selective cell death of cancer cells (Venkataramanm, et al, (2010) Selective cell death mediated by small conditional RNAs, Proc Natl Acad Sci USA 107:16777-16782) and have been used in multiplexed fluorescent in situ hybridization assays to map mRNA expression within intact biological samples (Choi, et al. (2010) Programmable in situ amplification for multiplexed imaging of mRNA expression Nature. Biotechnol. 28:1208-1212). The disclosed embodiments provide a nucleic acid molecule design process and system that achieves high design quality while maintaining a low computational overhead.

**[0042]**In one example, the system may use separate sub-processes to design a polynucleotide sequence φ of one or more strands that will form into a target secondary structure s at equilibrium. The system optimizes the ensemble defect of this target structure using several primary processes. The three main sub-processes in this embodiment are hierarchical structure decomposition of the target structure, leaf optimization with defect-weighted mutation sampling, and subsequence merging and reoptimization, each of which is described in more detail below. Equilibrium can be at 1M Na.sup.+, or designated by user-specified Na.sup.+ and Mg.sup.++ concentrations.

**[0043]**In one embodiment a target nucleotide sequence secondary structure is defined as a structure matrix S(s) with entries S

_{ij}(s) .di-elect cons. {0, 1}. If structure s contains pair ij, then S

_{i,j}(s)=1, otherwise S

_{ij}(s)=0. The system performs hierarchical structure decomposition on the target secondary structure s, defect-weighted sampling on the leaves, and merging and reoptimization as it traverses up the decomposition tree. The hierarchical structure decomposition identifies stem structures within the target structure s, and divides the root structure into a tree of substructures. In one embodiment, the tree of substructures is a binary tree of substructures. The minimum number of nucleotides in a node can be set by the user. If a node can be divided into two nodes, both of which contain more than the minimum number of nucleotides, then the node is divided. For a given target secondary structure, s, with N nucleotides, we seek to design a sequence, φ, with ensemble defect, n(φ, s), satisfying the stop condition:

**n**(φ, s)≦f

_{stop}N,

**for a user**-specified value of f

_{stop}.di-elect cons. (0, 1). Using ensemble defect analysis, candidate mutations in a test nucleotide sequence are evaluated at the leaves of the binary tree decomposition of the target structure. During leaf optimization, defect-weighted mutation sampling is used to select each candidate mutation position with probability proportional to its contribution to the ensemble defect of the leaf. Mutations are accepted if they decrease the leaf ensemble defect. Subsequences are merged moving up the tree and parental ensemble defects are evaluated. If emergent structural defects are encountered when merging subsequences, they are eliminated via defect-weighted child sampling and reoptimization. After all of the subsequences have been merged, the final result is a nucleotide sequence φ that has a minimized ensemble defect when folded into the target structure s. Because the minimization of the ensemble defect is performed by recursing nodes and leaves of the binary tree, the process is computationally much more efficient than prior systems that optimized the objective function over entire nucleotide sequence φ.

**Definitions**

**[0044]**As used herein, an "input device" can be, for example, a keyboard, rollerball, mouse, voice recognition system or other device capable of transmitting information from a user to a computer. The input device can also be a touch screen associated with the display, in which case the user responds to prompts on the display by touching the screen. The user may enter textual information through the input device such as the keyboard or the touch-screen.

**[0045]**The invention is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well-known computing systems, environments, and/or configurations that may be suitable fore use with the invention include, but are not limited to, personal computers, server computers, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices.

**[0046]**As used herein, "instructions" refer to computer-implemented steps for processing information in the system. Instructions can be implemented in software, firmware or hardware and include any type of programmed step undertaken by components of the system.

**[0047]**A "microprocessor" or "processor" may be any conventional general purpose single- or multi-core microprocessor such as a Pentium® processor, Intel® Core®, a 8051 processor, a MIPS® processor, or an ALPHA® processor. In addition, the microprocessor may be any conventional special purpose microprocessor such as a digital signal processor or a graphics processor.

**[0048]**The system is comprised of various modules as discussed in detail below. As can be appreciated by one of ordinary skill in the art, each of the modules comprises various sub-routines, procedures, definitional statements and macros. Each of the modules are typically separately compiled and linked into a single executable program. Therefore, the following description of each of the modules is used for convenience to describe the functionality of the preferred system. Thus, the processes that are undergone by each of the modules may be arbitrarily redistributed to one of the other modules, combined together in a single module, or made available in, for example, a shareable dynamic link library.

**[0049]**The system may be used in connection with various operating systems such as SNOW LEOPARD®, iOS®, LINUX, UNIX or MICROSOFT WINDOWS®.

**[0050]**The system may be written in any conventional programming language such as C, C++, BASIC, Pascal, or Java, and run under a conventional operating system.

**[0051]**A web browser comprising a web browser user interface may be used to display information (such as textual and graphical information) to a user. The web browser may comprise any type of visual display capable of displaying information received via a network. Examples of web browsers include Microsoft's Internet Explorer browser, Mozilla's Firefox browser, Apple Safari and PalmSource's Web Browser, or any other browsing or other application software capable of communicating with a network.

**[0052]**The invention disclosed herein may be implemented as a method, apparatus or article of manufacture using standard programming or engineering techniques to produce software, firmware, hardware, or any combination thereof. The term "article of manufacture" as used herein refers to code or logic implemented in hardware or computer readable media such as optical storage devices, and volatile or non-volatile memory devices. Such hardware may include, but is not limited to, field programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), complex programmable logic devices (CPLDs), programmable logic arrays (PLAs), microprocessors, or other similar processing devices.

**[0053]**In addition, the modules or instructions may be stored onto one or more programmable storage devices, such as FLASH drives, CD-ROMs, hard disks, and DVDs. One embodiment includes a programmable storage device having instructions stored thereon that when executed perform the methods described herein to determine nucleic acid sequence information.

**[0054]**As used herein, a "node" is a structure which may contain a value, a condition, or represent a separate data structure (which could be a tree of its own). Each node in a tree has zero or more child nodes, which are below it in the tree (by convention, trees are drawn growing downwards). A node that has a child is called the child's parent node (or ancestor node, or superior). A node typically has at most one parent. As is known, nodes that do not have any children are called leaf nodes or terminal nodes.

**[0055]**The topmost node in a tree is the root node. An internal node or inner node is any node of a tree that has child nodes and is thus is not considered to be a leaf node. Similarly, an external node or outer node is any node that does not have child nodes and is thus a leaf node

**[0056]**A subtree of a tree is a tree consisting of a node in the tree and all of its descendants in the tree. For example, the subtree corresponding to the root node is the entire tree. The subtree that corresponds to any other node may be called a proper subtree.

**System Overview**

**[0057]**FIG. 1 shows one embodiment of a system 100 for determining the nucleic acid sequence, or sequences that will form a target structure. The system includes a processor 102 configured to run instructions provided by each module within the system 100. As shown, a target secondary structure 105 is input into a nucleic acid sequence design system 110. The sequence design system 110 includes a memory 113 and a display output 114. The memory 113 can be any type of conventional RAM or ROM memory, configured to store, receive, and buffer instructions, data or other information used within the system 110. The display output 114 is configured to link with a conventional monitor or other device for showing textual or graphical information output by the system 110. In one embodiment, the system 110 is an Internet server and the target structure is provided from an Internet user accessing the server.

**[0058]**Also within the nucleic acid design system 110 is a hierarchical structure decomposition module 115 that contains instructions for dividing the larger target structure into a memory structure comprising a binary tree that has nodes and leaves for further analysis. Thus, the hierarchical structure decomposition module 115 provides one means for decomposing a target nucleic acid structure. Each node or leaf may correspond to a stem, or stem fragment of the target structure s. In order minimize emergent errors that may occur when the target structures in the leaf nodes are later rejoined, one or more "dummy" or spacer nucleotides can be added to the ends of the structures within each leaf so that the leaf structure more accurately mimics the performance of the larger overall target structure. The memory structure of the binary tree may be stored within the memory 113 of the system 110.

**[0059]**One schematic representation of a method of decomposing a target structure 182 is shown in FIG. 2. As shown, the target structure 182 includes a stem 184 and loop 186. In a first step in the decomposition, the stem 184 is divided approximately in half at a split point 187 to create a first stem portion 188 and a second stem and loop portion 190. A set of two base-paired dummy nucleotides 192 are added to the first stem portion 188. A set of two base-paired dummy nucleotides 193 are then added to the second stem and loop portion 190. Thus, in this embodiment, the system adds dummy nucleotides to either side of the split point 187. In a second step in the decomposition, the first stem portion 188 is divided approximately in half at a split point 194 to result in the formation of leaf fragments 188a and 188b. Dummy nucleotide sets 195 and 196 are added to either side of the split point 194. Similarly, at the second step, the stem and loop portion 190 is divided approximately in half at a split point 197 to yield leaf fragments 190a and 190b. Dummy nucleotides sets 198 and 199 are added to either side of the split point 197. This schematic representation thus illustrates one embodiment of a method for decomposing a target structure at its stem portions into a tree comprising nodes and leaves.

**[0060]**Referring back to FIG. 1, the system 110 also includes a leaf optimization module 120 that receives data representing the leaves and nodes of the decomposed binary tree. The leaf optimization module 120 has instructions for selecting a first random nucleotide sequence to be compared against the decomposed target structure at the selected leaf. Thus, the leaf optimization module provides one means for optimizing nucleic acid sequences in leaf nodes of a hierarchical tree. An ensemble defect optimization module 125 is provided within the system 110, and contains instructions to use ensemble defect optimization to determine the ensemble distance of the random nucleotide sequence from the target structure.

**[0061]**If the random nucleotide sequence has a normalized ensemble defect greater than the stop condition, then the leaf optimization module 120 also provides instructions for mutating the random nucleotide sequence, and recalculating the ensemble defect of the mutated sequence. Once the leaf optimization module 120 has performed enough rounds of optimization so that the ensemble defect is below the leaf stop condition, a subsequence merging and reoptimization module 130 is used to merge two or more optimized leaves into a node. In one embodiment, the dummy nucleotides are first removed from each leaf target structure prior to merger with an upper node. Thus, the subsequence merging and reoptimization module 130 provides one means for recursing the tree to merge and reoptimize the nucleotide sequence for each node of the tree.

**[0062]**The pair probabilities of the merged nucleotide sequence are then compared against the target structure at that node to determine whether the merged sequences meet a predetermined stop condition or minimum free energy. If the stop condition is reached, then the subsequence merging and reoptimization module recurses down a layer in the binary tree to re-optimize the child sequences prior to merger. If the stop condition is not reached, then the subsequence merger and reoptimization module 130 continues recursing up the binary tree until the entire nucleotide sequence corresponding to a target structure 140 has been determined. Thus, the subsequence merging and reoptimization module also provides one means for determining the nucleotide sequence of the root node of the tree from the merged and reoptimized nucleotide sequences of the other nodes in the tree. Additional details on the modules within the system 110 are described in more detail with regard to FIG. 3.

**Process Flow**

**[0063]**Referring now to FIG. 3, a process 200 for determining a minimum free energy nucleotide sequence that corresponds to a target structure s is shown. The process 200 starts at a start state 205 and moves to a state 210 wherein a target structure is received by the system for analysis. In one embodiment the target nucleotide sequence secondary structure is provided using dot-parens-plus notation to denote a secondary structure. In this notation, each unpaired base is represented by a dot, each base pair is denoted by matching parentheses, and each nick between strands by a plus. An additional notation, called HU+allows a user to specify secondary structures by specifying sizes of structural elements instead of individual base pairs. In this notation, helices are represented by Hx and unpaired regions by Ux, where x represents the size of a helix or unpaired region. Each helix is followed immediately by the substructure that is "enclosed" by the helix. If this substructure includes more than one element, parentheses are used to denote scope. A nick between strands is specified by a +. The system 110 can convert this notation into a structure matrix S(s) with entries S

_{ij}(s) .di-elect cons. {0, 1}. If structure s contains pair ij, then S

_{ij}(s)=1, otherwise S

_{ij}(s)=0. Of course, other formats defining the target structure are also contemplated within embodiments of the invention. Alternatively, the target structure can be provided directly as a matrix S(s).

**[0064]**Once the target structure s has been received by the system at the state 210, the process 200 moves to a state 215 wherein the hierarchical structure decomposition module 115 (FIG. 1) is executed to decompose the structure s into a binary tree. By performing a binary tree decomposition of the target secondary structure s, each parent structure within a duplex stem of the test molecule is decomposed into smaller nodes on the binary tree. The target structure s may be decomposed into a balanced, or unbalanced, binary tree of substructures, with each node of the tree indexed by a unique integer k. For each parent node, k, there is a left child node, k

_{l}, and a right child node, k

_{r}. Each nucleotide in parent structure s

^{k}is partitioned to either the left or right child substructure (S

^{k}=S

_{l}

^{k}∪S

_{r}

^{k}and S

_{l}

^{k}∩S

_{r}

^{k}=φ). Child node k

_{l}inherits from parent node k the augmented substructure, S

_{l}.sub.+

^{k}, comprising native nucleotides, s

_{native}

^{k}

^{l}≡S

_{l}

^{k}. The process 100 can them move to state 220 where additional dummy nucleotides that approximate the influence of its sibling in the context of their parent (S

^{k}

^{l}≡S

_{native}

^{k}

^{l}∪S

_{dummy}

^{k}.su- p.l≡S

_{l}+

^{k}). Thus, after decomposing a particular stem of the target structure, dummy nucleotide pairs can be added at a state 220 to extend the truncated duplex molecules in each child structure to mimic the parental environment.

**[0065]**In contrast to earlier hierarchical methods that decompose parent structures at multiloops, this hierarchical tree structure decomposes parent structures within duplex stems within the target structure s. Eligible split-points within each stem are those locations within a duplex stem with at least H

_{split}consecutive base-pairs to either side, such that both children would have at least N

_{split}nucleotides. If there are no eligible split-points, a structure becomes a leaf node in the decomposition tree. Otherwise, an eligible split-point is selected so as to minimize the difference in the size of the children, μS

_{l}

^{k}|-|S

_{r}

^{k}∥. In order to minimize emergent defects resulting from crosstalk between child subsequences in one embodiment, dummy nucleotides are introduced into the children to compensate for the fact that the stem has been divided into multiple sequences for analysis. Dummy nucleotides can be defined by extending the newly-split duplex stem across the split-point by H

_{split}base paris (|S

_{dummy}

^{k}

^{l}|=2H

_{split}).

**[0066]**For a parent node k, the sequence φ

^{k}follows the same partitioning as the structure s

^{k}(φ

^{k}=φ

_{l}

^{k}∪φ

_{r}

^{k}and φ

_{l}

^{k}∩φ

_{r}

^{k}=φ). Likewise, for a child node k

_{l}, the sequence may contain both native and dummy nucleotides (φ

^{k}

^{l}≡φ

_{native}

^{k}

^{l}∩φ

_{d}- ummy

^{k}

^{l}≡φ

_{l}+

^{k}).

**[0067]**Once the target secondary structure has been decomposed into nodes and leaves, and dummy nucleotides added where necessary, the process 200 moves to a state 225 wherein the root node of the binary tree is selected for analysis.

**Leaf Optimization with Defect**-Weighted Mutation Sampling

**[0068]**Once the first node for analysis has been selected at the state 225, the process 200 moves to a state 230 to determine whether to perform defect-weighted mutation sampling or to further recurse in the decomposition tree. If the node is a leaf, the process 200 moves to perform defect-weighted mutation sampling (states 235,240,250,255,260,265,270). If the node is not a leave, the process 200 recursively optimizes the left, then the right child nodes.

**[0069]**If a determination was made at the decision state 230 that the current node was a leaf, then defect-weighted mutation sampling starts from a random initial sequence at a state 235. The process 200 then moves to a decision state 240 to determine if a leaf stop condition has been satisfied. If the current sequence satisfies the stop condition, optimization stops and the process 200 moves to a state 320 to decide whether the current node is the root node. However, if a determination is made at the decision state 240 that the leaf stop condition has not been satisfied, then a mutation position is chosen using defect-weighted mutation sampling in a state 250. The process 200 then evaluates the ensemble defect at a state 255. The process 200 then moves to a decision state 260 to determine whether to accept the mutation or not. If the ensemble defect is found to have decreased due to the mutation, then the process moves to a state 265 and the mutation is accepted and the process returns to state 240 to determine if a leaf stop condition has been satisfied. However, if the ensemble defect is not found to have decreased at the decision state 260, then the process moves to a state 270, the mutation is rejected, and the process returns to state 240 to determine if a leaf stop condition has been satisfied.

**[0070]**In order to calculate the average number of mispaired nucleotides in the test nucleotide sequence in comparison to the target structure, the state 255 may call the ensemble defect evaluation module 125 (FIG. 1). The design objective function is the ensemble defect, n(φ, s), representing the average number of incorrectly paired nucleotides of the test nucleotide sequence at equilibrium calculated over the ensemble of unpseudoknotted secondary structures Γ. For a target leaf structure with N nucleotides, we seek to satisfy the stop condition: n(φ, s)≦f

_{stop}N. As described in more detail below, ensemble defect optimization is calculated by minimizing n(φ, s) with respect to sequence φ.

**[0071]**After analyzing the initial random test nucleotide sequence, a sequence optimization process is performed by the leaf optimization module 120 for each leaf node using defect-weighted mutation sampling in which each candidate mutation position is selected with probability proportional to its contribution to the ensemble defect of the leaf

**[0072]**At leaf node k, sequence optimization is performed by mutating either one base at a time S

_{i},|s

_{k}.sub.|+1

^{k}=1) or one base pair at a time (if S

_{i,j}

^{k}=1 for some 1≦j≦|s

^{k}|, in which case φ

_{i}

^{k}and φ

_{j}

^{k}are mutated simultaneously so as to remain Watson-Crick complements).

**[0073]**Defect-weighted mutation sampling by selecting nucleotide i as a candidate for mutation with probability n

_{i}

^{k}/n

^{k}. A candidate sequence {circumflex over (φ)}

^{k}is evaluated via calculation of {circumflex over (n)}

^{k}if the candidate mutation, ξ, is not in the set of previously rejected mutations, γ

_{unfavorable}(position and sequence). A candidate mutation is retained if {circumflex over (n)}

^{k}<n

^{k}and rejected otherwise. The set, γ

_{unfavorable}, is updated after each unsuccessful mutation and cleared after each successful mutation.

**[0074]**Optimization of leaf k at state 240 terminates successfully if the leaf stop condition:

**n**

^{k}≦f

_{stop}|s

^{k}|

**is satisfied**, or restarts if M

_{unfavorable}|s

^{k}| consecutive unfavorable candidate mutations are either in unfavorable or are evaluated and added to γ

_{unfavorable}. Leaf optimization is attempted from new random initial conditions up to M

_{leafopt}times before terminating unsuccessfully. The outcome of leaf optimization is the leaf sequence φ

^{k}corresponding to the lowest encountered value of the leaf ensemble defect n

^{k}.

**[0075]**After a leaf optimization has been performed for a first leaf of a selected node at the state 240, the process 200 moves to the decision state 320 to determine if the current node is a root node, and thereby the process can move up the decomposition tree. If a determination was made at the decision state 320 that the current node is not a root node, then the process 200 moves to a state 315 to set the current node to the parent of the current node. The process then moves to a state 275 to determine if the nucleotide sequence at the left child node of the parent has been designed. If the nucleotide sequence has not been designed, then the process sets the current node to the left child at a state 305 and moves to decision state 230 to determine if the current node is a leaf node.

**[0076]**However, if the nucleotide sequence of the left child node has been designed at the decision state 275, then the process 200 moves to a decision state 280 to determine if the right child has been designed. If the right child has not been designed, then the current node is set to the right child node at a state 310 and the process moves to the decision state 230 to again determine if the current node is a leaf

**[0077]**If a decision is made that the right child has been designed at the decision state 280 then the process 200 moves to a state 285 to evaluate the ensemble defect of the current parental node.

**Subsequence Merging and Reoptimization**

**[0078]**Thus, once the leaves of a selected node have been optimized, they are merged at a state 285 so that the merged sequence can be analyzed for conformance with the target structure. As subsequences are merged moving up the tree, each parent node can call the subsequence merging and reoptimization module 130 to initiate defect-weighted child sampling and reoptimization within its sub-tree if there are emergent defects resulting from crosstalk between child subsequences.

**[0079]**Thus, after evaluation of the ensemble defect of the parental node at the state 285, the process 200 moves to a decision state 290 to determine if the merge sequences from the leaf nodes satisfy a stop condition. If a decision is made that the merged sequence does not satisfy a stop condition, then the process moves to a state 295 to perform defect-weighted child sampling and re-optimization. After reaching the leave by recursively performing defect-weighted child sampling, the process 200 then returns to the state 235 to perform leaf optimization. The merging and reoptimization begins again at the termination of the leaf optimization.

**[0080]**Leaf reoptimization at state 235 starts from a new random initial test nucleotide sequence. After sibling nodes k

^{l}and k

_{r}have been optimized, parent node k may merge their native subsequences (setting φ

_{l}

^{k}=φ

_{native}

^{k}

^{l}and φ

_{r}

^{k}=φ

_{native}

^{k}

^{r}) and evaluate n

^{k}to check for a parental stop condition:

**n**

^{k}≦max(f

_{stop}|s

_{l}

^{k}|,n

_{native}

^{k}

^{l})+m- ax(f

_{stop}|s

_{r}

^{k}|,n

_{native}

^{k}

^{r}).

**[0081]**For any node k with sequence φ

^{k}and structure s

^{k}, the ensemble defect, n

^{k}≡n(φ

^{k}, s

^{k}), may be expressed as

**n k**= 1 ≦ i ≦ s k n i k , where ##EQU00010## n i k = 1 - 1 ≦ j ≦ s k + 1 P i , j k S i , j k . ##EQU00010.2##

**is the contribution of nucleotide i to the ensemble defect of the node**. For a parent node k, the ensemble defect can be expressed as a sum of contributions from bases partitioned to the left and right children n

^{k}=n

_{l}

^{k}+n

_{r}

^{k}. For a child node k

_{l}, the ensemble defect can be expressed as sum of contributions from native and dummy nucleotides (n

^{k}

^{l}=n

_{native}

^{k}

^{k}+n

_{dummy}

^{k}

^{l}). Conceptually n

_{native}

^{k}

^{l}, the contribution of the native nucleotides to the ensemble defect of child k

_{l}(calculated on child node k

_{1}at cost Θ(|s

^{k}

^{l}|

^{3}), approximates n

_{l}

^{k}, the contribution of the left-child nucleotides to the ensemble defect of parent k (calculated on parent node k at higher cost Θ(|s

^{k}|

^{3})). In general, n

_{native}

^{k}

^{l}≠n

_{l}

^{k}, because the dummy nucleotides in child node k

_{l}only approximate the influence of its sibling (which is fully accounted for only in the more expensive calculation on parent node k).

**[0082]**Failure to satisfy the stop condition at decision state 290 implies the existence of emergent defects resulting from crosstalk between the two child sequences. In this case, parent node k initiates defect-weighted child sampling and reoptimization within its subtree. Left child k

_{l}is selected for reoptimization with probability n

_{l}

^{k}/n

^{k}and right child k

_{r}is selected for reoptimization with probability n

_{r}

^{k}/n

^{k}. This defect-weighted child sampling procedure is performed recursively until a leaf is encountered (each time using partitioned defect information inherited from the parent k that initiated the reoptimization). The standard leaf optimization procedure is then performed starting from a new random initial sequence. The use of random initial conditions during leaf reoptimization is based on the assumption that sequence space is sufficiently rich that emergent defects can typically be eliminated simply by designing a different leaf sequence. Following leaf reoptimization, merging begins again starting with the reoptimized leaf and its sibling. The elimination of emergent defects in parent k by defect-weighted child sampling and reoptimization is attempted up to M

_{reopt}times.

**[0083]**If this stop condition is satisfied, the process 200 moves to a state 320 to determine if the last node in the binary tree has been analyzed. This allows the subsequence merging to continue up the tree. If the last node in the tree has not been analyzed, the process 200 moves to a state 315 wherein the nucleotide sequence at the next node up or across the tree is selected for design or processing. The process 200 then returns to state 275 to determine if the nucleotide sequence at the left child node has been designed. If the last node has been analyzed, then the process 200 stops at an end state 325.

**[0084]**The utility of hierarchical structure decomposition reflects the assumption that sequence space is sufficiently rich that two subsequences optimized for sibling substructures will often not exhibit crosstalk when merged by a parent node. This hierarchical mutation procedure is designed to benefit from this property when it holds true, and to eliminate emergent defects when they do arise.

**[0085]**One embodiment of this entire design process is detailed in pseudocode shown in FIG. 3. As shown in the pseudocode of FIG. 4, for a given target structure s, a designed sequence 0 is returned by the function call DESIGNSEQ(O, s, O, 1). During the recursive design procedure, φ, s, and n are local variables that are used to push sequence, structure, and defect information between nodes in the tree. By contrast, n

^{k,a}provides global storage for the ensemble defect of each node k. For a given k, the index, a=1, . . . , DEPTH(k), enables storage of the ensemble defect corresponding to the sequence for node k that has been accepted up to depth a in the tree. Storage of these historical values eliminates unnecessary recalculation of ensemble defects during subtree reoptimization.

**Optimality Bound and Time Complexity**

**[0086]**This hierarchical sequence design approach implies an asymptotic optimality bound on the cost of designing the full sequence relative to the cost of evaluating a single candidate mutation on the full sequence. For a target structure with N nucleotides, evaluation of a candidate sequence requires calculation of n(φ, s) at cost c

_{eval}(N)=Θ(N

^{3}). Performing sequence design using hierarchical structure decomposition, mutations are evaluated at the leaf nodes and merged subsequences are evaluated at all other nodes. For node k, the evaluation cost is c

_{eval}(|s

^{k}|). If at least one mutation is required in each leaf, the design cost is minimized by maximizing the depth of the binary tree. Furthermore, at each depth in the tree, the design cost is minimized by balancing the tree. Hence, a lower bound on the cost of designing the full sequence is given by

**c**

_{des}(N)≧c

_{eval}(N)[1+2(1/2)

^{3}+4(3/4)

^{3}+8(1/8).sup- .3+. . . ]

**or**

**c**

_{des}(N)≧4/3c

_{eva}(N).

**[0087]**Hence, if the sequence design process performs optimally for large N, we would expect the cost of full sequence design to be 4/3 the cost of evaluating a single mutation on the full sequence. In practice, many factors might be expected to undermine optimality: imperfect balancing of the tree, the addition of dummy nucleotides in each non-root node, the use of finite tree depth, leaf optimizations requiring evaluation of multiple candidate mutations, and reoptimization to eliminate emergent defects. This optimality bound implies time complexity Ω(N

^{3}) for the sequence design process.

**[0088]**The systems and processes described above relate to a single-objective sequence design where the goal was to design the sequence of one or more interacting nucleic acid strands intended to adopt a target secondary structure at equilibrium. Thus, the sequence design was formulated as an optimization problem with the objective of reducing the ensemble defect below a user-specified stop condition. For a candidate sequence, φ, and a target secondary structure, s, the ensemble defect, n(φ, s), is the average number of incorrectly paired nucleotides at equilibrium evaluated over ensemble Γ. As described above, for a target secondary structure with N nucleotides, the above process seeks to satisfy

**n**(φ, s)≦f

^{stop}N

**with f**

^{stop}=0.01.

**[0089]**A single-objective design job is specified by entering a target secondary structure into the nucleic acid sequence design system 110 (FIG. 1). In one embodiment, the structure is entered into the system using dotparens-plus notation, each unpaired base is represented by a dot, each base pair by matching parentheses, and each nick between strands by a plus.

**Target Structure Test Sets**

**[0090]**Process performance was evaluated on structure test sets containing 30 target structures for each of N .di-elect cons. {100, 200, 400, 800, 1600, 3200}. An engineered test set was generated by randomly selecting structural components and dimensions from ranges intended to reflect current practice in engineering nucleic acid secondary structures. A multi-stranded version was produced by introducing nicks into the structures in the engineered test set. Each structure in a random test set was obtained by calculating an MFE structure of a different random RNA sequence at 37° C. FIG. 5 compares the structural features of the engineered and random test sets. In general, the random test set has target structures with a lower fraction of bases paired, more duplex stems, and shorter duplex stems (as short as one base pair).

**Other Processes**

**[0091]**To illustrate the roles of hierarchical structure decomposition and defect-weighted sampling in the context of ensemble defect optimization, we compared our process to three alternative processes lacking either or both of these features:

**[0092]**Single-scale ensemble defect optimization with uniform mutation sampling.

**[0093]**The leaf optimization process is applied directly on the full sequence using uniform mutation sampling in which each candidate mutation position is selected with equal probability.

**[0094]**Single-scale ensemble defect optimization with defect-weighted mutation sampling. The leaf optimization process is applied directly on the full sequence.

**[0095]**Hierarchical ensemble defect optimization with uniform mutation sampling. The hierarchical process is applied using uniform mutation sampling during leaf optimization and uniform child sampling during subsequence merging and reoptimization.

**[0096]**We also modified our process to compare performance to processes already known by others:

**[0097]**Single-scale probability defect optimization with uniform mutation sampling. This method seeks to design a sequence such that the probability defect satisfies the stop condition π(φ, s)≦f

_{stop}. Satisfaction of this stop condition is sufficient to ensure that stop conditions n(φ, s)≦f

_{stop}N and μ(φ, s)≦f

_{stop}N are also satisfied. Optimization is performed using a modified version of the leaf optimization process (with π( , s) taking the role of n(φ, s)) applied directly on the full sequence using uniform mutation sampling.

**[0098]**Hierarchical MFE defect optimization with weighted mutation sampling. This method seeks to design a sequence such that the MFE defect satisfies the stop condition μ(φ, s)≦f

_{stop}N. Optimization is performed using a modified version of our process with μ

^{k}taking the role of n

^{k}.

**[0099]**The sequence design process was coded in the C programming language. By parallelizing the dynamic program for evaluating P(φ) using MPI,

^{26}the sequence design process reduced run time using multiple cores. For a design job allocated M computational cores, each evaluation of P

^{k}for node k with structure s

^{k}is performed using m cores for some m .di-elect cons. 1, . . . , M selected to approximately minimize run time based on |s

^{k}|.

**Results**

**[0100]**Our primary test scenario was RNA sequence design at 37° C. for target structures in the engineered test set. For each target structure in a test set, 10 independent design trials were performed. Each plotted data point represents a median over 300 design trials (10 trials for each of 30 structures for a given size N).

**Process Performance and Asymptotic Optimality**

**[0101]**FIG. 6 demonstrates the typical performance of our process across a range of values of N using the engineered and random test sets. Typical designs surpassed the desired design quality (n(φ, s)≦N/100) as a result of overshooting stop conditions lower in the decomposition tree (FIG. 6A). For the engineered test set, typical design cost ranges from a fraction of a second for N=100 to roughly three hours for N=3200 (FIG. 6B). For small N, the design cost for the random test set is higher than for the engineered test set, becoming comparable as N increases. Typical GC content is less than 60% (starting from random initial sequences with ≈50% GC content; FIG. 6c). Remarkably, as the depth of the decomposition tree increased with N, the relative cost of design, c

_{des}(N)/c

_{eval}(N), decreased asymptotically to the optimal bound of 4/3 (FIG. 6D). Hence, for sufficiently large N, the typical cost of sequence design is only 4/3 the cost of a single mutation evaluation on the root node. Mutation evaluation had time complexity Θ(N

^{3}) and was empirically observed to be approximately in the asymptotic regime. Hence, for our design process, the empirical observation of asymptotic optimality demonstrates that the exponent in the Ω(N

^{3}) time complexity bound is sharp.

**Leaf Independence and Emergent Defects**

**[0102]**FIG. 7 compares the ensemble defect evaluated at the root node, to the sum of the ensemble defects evaluated at the leaf nodes. If the assumption of leaf independence is valid (i.e., if dummy nucleotides are effective at mimicking parental environments and there is minimal crosstalk between merged subsequences), we would expect the data to fall near the diagonal.

**[0103]**For the engineered test set (FIG. 7A), we observed three striking properties. First, for random initial sequences, the assumption of leaf independence was well-justified despite the fact that the ensemble defect is large. Second, leaf optimization followed by merging without reoptimization (i.e., M

_{reopt}=0) typically yielded full sequence designs that achieved the desired design quality (n(φ, s)≦N/100 on the root), with emergent defects arising only in a minority of cases. Third, these emergent defects were successfully eliminated by defect-weighted child sampling and reoptimization starting from new random initial subsequences. The resulting full sequence designs exhibited leaf independence and satisfied the stop condition.

**[0104]**By comparison, for the random test set, merging of leaf-optimized sequences typically did lead to emergent defects in the root node. Even in this case, our process was found to successfully eliminate emergent defects using defect-weighted child sampling and reoptimization starting from new random initial subsequences.

**Contributions of Processic Ingredients**

**[0105]**FIG. 8 shows the isolation of contributions of hierarchical structure decomposition and defect-weighted sampling to the ensemble defect optimization process by comparing performance to three modified processes lacking one or both ingredients. All four methods typically achieved the desired design quality, with hierarchical methods surpassing the quality requirement for the root node as a result of overshooting stop conditions lower in the decomposition tree. Hierarchical methods dramatically reduced design costs relative to their single-scale counterparts (which were not tested for N=800 due to high cost). Defect-weighted sampling reduced design cost and GC content by focusing mutation effort on the most defective subsequences. For the single-scale methods, the relative cost of design, c

_{des}(N)/c

_{eval}(N), increases with N. For hierarchical methods, c

_{des}(N)/c

_{eval}(N) decreases asymptotically to the optimal bound of 4/3 as N increases. Our process thus combined the design quality of ensemble defect optimization, the reduced cost and asymptotic optimality of hierarchical decomposition, and the reduced cost and reduced GC content of defect-weighted sampling.

**Sequence Initialization**

**[0106]**To explore the effect of sequence initialization on typical design quality and cost, we tested four types of initial conditions (FIG. 9): random sequences (default), random sequences using only A and T bases, random sequences using only G and C bases, and sequences satisfying sequence symmetry minimization (SSM). The desired design quality was achieved independent of the initial conditions (FIG. 9A), which had little effect on design cost (FIGS. 9b and 9d). Designs initiated with random AT sequences or with random GC sequences illustrated that the ensemble defect stop condition can be satisfied over a broad range of GC contents (FIG. 9c).

**Stop Condition Stringency**

**[0107]**FIG. 10 depicts typical process performance for five different levels of stringency in the stop condition: f

_{stop}.di-elect cons. {0.001, 0.005, 0.01(default), 0.05, 0.10}. For each stop condition, the observed design quality was better than required (resulting from overshooting stop conditions lower in the decomposition tree). Consistent with empirical asymptotic optimality, the design cost was independent of f

_{stop}for sufficiently large N (for the tested stringency levels). It is noteworthy that the process was found to be capable of routinely and efficiently designing sequences with ensemble defects of less than N/1000.

**Multi**-Stranded Target Structures

**[0108]**Multi-stranded target structures arise frequently in engineering practice. FIG. 11 demonstrated that our process performs similarly on a single-stranded or multi-stranded target structure.

**Design Material**

**[0109]**FIG. 12 compares RNA and DNA design. DNA designs are performed in 1 M Na at 23° C. to reflect that DNA systems are typically engineered for room temperature studies. In comparison to RNA design, DNA design leads to similar design quality (FIG. 12A), higher design cost (FIG. 12B), and somewhat higher GC content (FIG. 12c), while continuing to exhibit asymptotic optimality (FIG. 12D).

**Sequence Constraints and Pattern Prevention**

**[0110]**Molecular engineers sometimes constrain the sequence of certain nucleotides in the target structure (e.g., to ensure complementarity to a specific biological sequence), or prevent certain patterns from appearing anywhere in the design (e.g., GGGG). Our process accepts sequence constraints and pattern prevention requirements expressed using standard nucleic acid codes. FIG. 13 demonstrates that the prevention of patterns {AAAA, CCCC, GGGG, UUUU, KKKKKK, MMMMMM, RRRRRR, SSSSSS, YYYYYY} had little effect on design quality or GC content (FIGS. 13a and 13c), and somewhat increases design cost while retaining asymptotic optimality (FIGS. 13b and 13d).

**Parallel Efficiency and Speedup**

**[0111]**The contour plots of FIG. 14 demonstrate the parallel efficiency and speedup achieved using a parallel implementation of the design process on M computational cores (efficiency (N, M)=t(N, 1)/(t(N, M)×M), speedup (N, M)=t(N, 1)/t(N, M), where t is wall clock time). Using two computational cores, the parallel efficiency exceeds ≈0.9 for target structures with N>400. Using 32 computational cores, the parallel speedup is 14 for target structures with N=3200.

**Comparison to Previous Approaches**

**[0112]**FIG. 15 compares the performance of the described process to the performance of processes discussed by others. Single-scale methods that employed uniform mutation sampling to optimize either ensemble defect or probability defect achieved the desired design quality at significantly higher cost and with significantly higher GC content (FIGS. 15a-c). Sequences resulting from probability defect optimization typically surpass the ensemble defect stop condition despite failing to satisfy the probability defect stop condition (FIG. 15e), reflecting the pessimism of π(φ, s) in characterizing the equilibrium structural defect over ensemble Γ. For either single-scale method, the relative cost of design, c

_{des}(N)/c

_{eval}(N), increases with N (FIG. 15D). Owing to the high cost of the single-scale approaches, designs were not attempted for large N.

**[0113]**By contrast, hierarchical MFE defect optimization with defect-weighted sampling led to efficient satisfaction of the MFE stop condition (FIGS. 15b and 15f), exhibiting asymptotic optimality with c

_{des}(N)/c

_{eval}(N) approaching 4/3 for large N (FIG. 15D). Asymptotically, the cost of hierarchical MFE optimization relative to hierarchical ensemble defect optimization is lower by a constant factor corresponding to the relative cost of evaluating the two objective functions using Θ(N

^{3}) dynamic programs (FIGS. 15b and 15d). The shortcoming of MFE defect optimization is the unreliability of s

^{MFE}(φ) in characterizing the equilibrium structural properties of ensemble Γ. Despite satisfying the MFE defect stop condition, sequences designed via MFE defect optimization typically fail to achieve the ensemble defect stop condition by roughly a factor of five for the engineered test set (FIG. 15A), and by roughly a factor of 20 for the random test set.

**Summary of Results**

**[0114]**Using a Θ(N

^{3}) dynamic program to evaluate the design objective function, we derived an asymptotic optimality bound on design time: for large N, the minimum cost to design a sequence with N nucleotides was 4/3 the cost of evaluating the objective function once on N nucleotides. Hence, our design process has time complexity Ω(N

^{3}).

**[0115]**We studied the performance of our process in the context of empirical secondary structure free energy models that have practical utility for the analysis and design of functional nucleic acid systems. In particular, we examined RNA design at 37° C. on target structures containing N .di-elect cons. {100, 200, 400, 800, 1600, 3200} nucleotides and duplex stems ranging from 1 to 30 base pairs. Empirically, we observe several striking properties. For example, emergent defects were sufficiently infrequent that they were typically eliminated by leaf reoptimization starting from new random initial sequences. In addition, it was routine to design sequences with ensemble defect n(φ, s)<N/100 over a wide range of GC contents. Additionally, the process described herein exhibited asymptotic optimality for large N, with full sequence design costing roughly 4/3 the cost of a single evaluation of the objective function. Hence, the process was efficient in the sense that the exponent in the Ω(N

^{3}) time complexity bound is sharp.

**[0116]**While the above processes and methods are described above as including certain steps and are described in a particular order, it should be recognized that these processes and methods may include additional steps or may omit some of the steps described. Further, each of the steps of the processes does not necessarily need to be performed in the order it is described.

**[0117]**While the above description has shown, described, and pointed out novel features of the invention as applied to various embodiments, it will be understood that various omissions, substitutions, and changes in the form and details of the system or process illustrated may be made by those skilled in the art without departing from the spirit of the invention. As will be recognized, the present invention may be embodied within a form that does not provide all of the features and benefits set forth herein, as some features may be used or practiced separately from others.

**[0118]**The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.

Sequence CWU
1

1

2118RNAArtificial SequenceComputer Generated RNA Sequence 1gccccggucc
ccggucgc
1827RNAArtificial SequenceComputer Generated RNA Sequence 2gcgaggc
7

User Contributions:

Comment about this patent or add new information about this topic: