Add missing doc files
[jabaws.git] / binaries / src / ViennaRNA / doc / latex / group__kl__neighborhood__mfe.tex
diff --git a/binaries/src/ViennaRNA/doc/latex/group__kl__neighborhood__mfe.tex b/binaries/src/ViennaRNA/doc/latex/group__kl__neighborhood__mfe.tex
new file mode 100644 (file)
index 0000000..53b9fa0
--- /dev/null
@@ -0,0 +1,155 @@
+\hypertarget{group__kl__neighborhood__mfe}{\section{Calculating M\-F\-E representatives of a Distance Based Partitioning}
+\label{group__kl__neighborhood__mfe}\index{Calculating M\-F\-E representatives of a Distance Based Partitioning@{Calculating M\-F\-E representatives of a Distance Based Partitioning}}
+}
+
+
+Compute the minimum free energy (M\-F\-E) and secondary structures for a partitioning of the secondary structure space according to the base pair distance to two fixed reference structures basepair distance to two fixed reference structures.  
+
+
+Collaboration diagram for Calculating M\-F\-E representatives of a Distance Based Partitioning\-:
+\nopagebreak
+\begin{figure}[H]
+\begin{center}
+\leavevmode
+\includegraphics[width=350pt]{group__kl__neighborhood__mfe}
+\end{center}
+\end{figure}
+\subsection*{Files}
+\begin{DoxyCompactItemize}
+\item 
+file \hyperlink{2Dfold_8h}{2\-Dfold.\-h}
+\end{DoxyCompactItemize}
+\subsection*{Functions}
+\begin{DoxyCompactItemize}
+\item 
+\hyperlink{structTwoDfold__vars}{Two\-Dfold\-\_\-vars} $\ast$ \hyperlink{group__kl__neighborhood__mfe_gac9284f132cf0eaa0a2f43590eda05488}{get\-\_\-\-Two\-Dfold\-\_\-variables} (const char $\ast$seq, const char $\ast$structure1, const char $\ast$structure2, int \hyperlink{fold__vars_8h_af9202a1a09f5828dc731e2d9a10fa111}{circ})
+\begin{DoxyCompactList}\small\item\em Get a structure of type \hyperlink{structTwoDfold__vars}{Two\-Dfold\-\_\-vars} prefilled with current global settings. \end{DoxyCompactList}\item 
+void \hyperlink{group__kl__neighborhood__mfe_ga05bf4f31d216b1b160fd2d3d68e9b487}{destroy\-\_\-\-Two\-Dfold\-\_\-variables} (\hyperlink{structTwoDfold__vars}{Two\-Dfold\-\_\-vars} $\ast$our\-\_\-variables)
+\begin{DoxyCompactList}\small\item\em Destroy a \hyperlink{structTwoDfold__vars}{Two\-Dfold\-\_\-vars} datastructure without memory loss. \end{DoxyCompactList}\item 
+\hyperlink{structTwoDfold__solution}{Two\-Dfold\-\_\-solution} $\ast$ \hyperlink{group__kl__neighborhood__mfe_ga47da790166020558d27323aef489703e}{Two\-Dfold\-List} (\hyperlink{structTwoDfold__vars}{Two\-Dfold\-\_\-vars} $\ast$vars, int distance1, int distance2)
+\begin{DoxyCompactList}\small\item\em Compute M\-F\-E's and representative for distance partitioning. \end{DoxyCompactList}\item 
+char $\ast$ \hyperlink{group__kl__neighborhood__mfe_gaf4dc05bf8fc1ea53acd7aeb798ba80c2}{Two\-Dfold\-\_\-backtrack\-\_\-f5} (unsigned int j, int k, int l, \hyperlink{structTwoDfold__vars}{Two\-Dfold\-\_\-vars} $\ast$vars)
+\begin{DoxyCompactList}\small\item\em Backtrack a minimum free energy structure from a 5' section of specified length. \end{DoxyCompactList}\end{DoxyCompactItemize}
+
+
+\subsection{Detailed Description}
+Compute the minimum free energy (M\-F\-E) and secondary structures for a partitioning of the secondary structure space according to the base pair distance to two fixed reference structures basepair distance to two fixed reference structures. 
+
+\subsection{Function Documentation}
+\hypertarget{group__kl__neighborhood__mfe_gac9284f132cf0eaa0a2f43590eda05488}{\index{Calculating M\-F\-E representatives of a Distance Based Partitioning@{Calculating M\-F\-E representatives of a Distance Based Partitioning}!get\-\_\-\-Two\-Dfold\-\_\-variables@{get\-\_\-\-Two\-Dfold\-\_\-variables}}
+\index{get\-\_\-\-Two\-Dfold\-\_\-variables@{get\-\_\-\-Two\-Dfold\-\_\-variables}!Calculating MFE representatives of a Distance Based Partitioning@{Calculating M\-F\-E representatives of a Distance Based Partitioning}}
+\subsubsection[{get\-\_\-\-Two\-Dfold\-\_\-variables}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Two\-Dfold\-\_\-vars}$\ast$ get\-\_\-\-Two\-Dfold\-\_\-variables (
+\begin{DoxyParamCaption}
+\item[{const char $\ast$}]{seq, }
+\item[{const char $\ast$}]{structure1, }
+\item[{const char $\ast$}]{structure2, }
+\item[{int}]{circ}
+\end{DoxyParamCaption}
+)}}\label{group__kl__neighborhood__mfe_gac9284f132cf0eaa0a2f43590eda05488}
+
+
+Get a structure of type \hyperlink{structTwoDfold__vars}{Two\-Dfold\-\_\-vars} prefilled with current global settings. 
+
+This function returns a datastructure of type \hyperlink{structTwoDfold__vars}{Two\-Dfold\-\_\-vars}. The data fields inside the \hyperlink{structTwoDfold__vars}{Two\-Dfold\-\_\-vars} are prefilled by global settings and all memory allocations necessary to start a computation are already done for the convenience of the user
+
+\begin{DoxyNote}{Note}
+Make sure that the reference structures are compatible with the sequence according to Watson-\/\-Crick-\/ and Wobble-\/base pairing
+\end{DoxyNote}
+\begin{DoxySeeAlso}{See Also}
+\hyperlink{group__kl__neighborhood__mfe_ga05bf4f31d216b1b160fd2d3d68e9b487}{destroy\-\_\-\-Two\-Dfold\-\_\-variables()}, Two\-Dfold(), Two\-Dfold\-\_\-circ
+\end{DoxySeeAlso}
+
+\begin{DoxyParams}{Parameters}
+{\em seq} & The R\-N\-A sequence \\
+\hline
+{\em structure1} & The first reference structure in dot-\/bracket notation \\
+\hline
+{\em structure2} & The second reference structure in dot-\/bracket notation \\
+\hline
+{\em circ} & A switch to indicate the assumption to fold a circular instead of linear R\-N\-A (0=O\-F\-F, 1=O\-N) \\
+\hline
+\end{DoxyParams}
+\begin{DoxyReturn}{Returns}
+A datastructure prefilled with folding options and allocated memory 
+\end{DoxyReturn}
+\hypertarget{group__kl__neighborhood__mfe_ga05bf4f31d216b1b160fd2d3d68e9b487}{\index{Calculating M\-F\-E representatives of a Distance Based Partitioning@{Calculating M\-F\-E representatives of a Distance Based Partitioning}!destroy\-\_\-\-Two\-Dfold\-\_\-variables@{destroy\-\_\-\-Two\-Dfold\-\_\-variables}}
+\index{destroy\-\_\-\-Two\-Dfold\-\_\-variables@{destroy\-\_\-\-Two\-Dfold\-\_\-variables}!Calculating MFE representatives of a Distance Based Partitioning@{Calculating M\-F\-E representatives of a Distance Based Partitioning}}
+\subsubsection[{destroy\-\_\-\-Two\-Dfold\-\_\-variables}]{\setlength{\rightskip}{0pt plus 5cm}void destroy\-\_\-\-Two\-Dfold\-\_\-variables (
+\begin{DoxyParamCaption}
+\item[{{\bf Two\-Dfold\-\_\-vars} $\ast$}]{our\-\_\-variables}
+\end{DoxyParamCaption}
+)}}\label{group__kl__neighborhood__mfe_ga05bf4f31d216b1b160fd2d3d68e9b487}
+
+
+Destroy a \hyperlink{structTwoDfold__vars}{Two\-Dfold\-\_\-vars} datastructure without memory loss. 
+
+This function free's all allocated memory that depends on the datastructure given.
+
+\begin{DoxySeeAlso}{See Also}
+\hyperlink{group__kl__neighborhood__mfe_gac9284f132cf0eaa0a2f43590eda05488}{get\-\_\-\-Two\-Dfold\-\_\-variables()}
+\end{DoxySeeAlso}
+
+\begin{DoxyParams}{Parameters}
+{\em our\-\_\-variables} & A pointer to the datastructure to be destroyed \\
+\hline
+\end{DoxyParams}
+\hypertarget{group__kl__neighborhood__mfe_ga47da790166020558d27323aef489703e}{\index{Calculating M\-F\-E representatives of a Distance Based Partitioning@{Calculating M\-F\-E representatives of a Distance Based Partitioning}!Two\-Dfold\-List@{Two\-Dfold\-List}}
+\index{Two\-Dfold\-List@{Two\-Dfold\-List}!Calculating MFE representatives of a Distance Based Partitioning@{Calculating M\-F\-E representatives of a Distance Based Partitioning}}
+\subsubsection[{Two\-Dfold\-List}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Two\-Dfold\-\_\-solution}$\ast$ Two\-Dfold\-List (
+\begin{DoxyParamCaption}
+\item[{{\bf Two\-Dfold\-\_\-vars} $\ast$}]{vars, }
+\item[{int}]{distance1, }
+\item[{int}]{distance2}
+\end{DoxyParamCaption}
+)}}\label{group__kl__neighborhood__mfe_ga47da790166020558d27323aef489703e}
+
+
+Compute M\-F\-E's and representative for distance partitioning. 
+
+This function computes the minimum free energies and a representative secondary structure for each distance class according to the two references specified in the datastructure 'vars'. The maximum basepair distance to each of both references may be set by the arguments 'distance1' and 'distance2', respectively. If both distance arguments are set to '-\/1', no restriction is assumed and the calculation is performed for each distance class possible.
+
+The returned list contains an entry for each distance class. If a maximum basepair distance to either of the references was passed, an entry with k=l=-\/1 will be appended in the list, denoting the class where all structures exceeding the maximum will be thrown into. The end of the list is denoted by an attribute value of \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{I\-N\-F} in the k-\/attribute of the list entry.
+
+\begin{DoxySeeAlso}{See Also}
+\hyperlink{group__kl__neighborhood__mfe_gac9284f132cf0eaa0a2f43590eda05488}{get\-\_\-\-Two\-Dfold\-\_\-variables()}, \hyperlink{group__kl__neighborhood__mfe_ga05bf4f31d216b1b160fd2d3d68e9b487}{destroy\-\_\-\-Two\-Dfold\-\_\-variables()}, \hyperlink{structTwoDfold__solution}{Two\-Dfold\-\_\-solution}
+\end{DoxySeeAlso}
+
+\begin{DoxyParams}{Parameters}
+{\em vars} & the datastructure containing all predefined folding attributes \\
+\hline
+{\em distance1} & maximum distance to reference1 (-\/1 means no restriction) \\
+\hline
+{\em distance2} & maximum distance to reference2 (-\/1 means no restriction) \\
+\hline
+\end{DoxyParams}
+\hypertarget{group__kl__neighborhood__mfe_gaf4dc05bf8fc1ea53acd7aeb798ba80c2}{\index{Calculating M\-F\-E representatives of a Distance Based Partitioning@{Calculating M\-F\-E representatives of a Distance Based Partitioning}!Two\-Dfold\-\_\-backtrack\-\_\-f5@{Two\-Dfold\-\_\-backtrack\-\_\-f5}}
+\index{Two\-Dfold\-\_\-backtrack\-\_\-f5@{Two\-Dfold\-\_\-backtrack\-\_\-f5}!Calculating MFE representatives of a Distance Based Partitioning@{Calculating M\-F\-E representatives of a Distance Based Partitioning}}
+\subsubsection[{Two\-Dfold\-\_\-backtrack\-\_\-f5}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ Two\-Dfold\-\_\-backtrack\-\_\-f5 (
+\begin{DoxyParamCaption}
+\item[{unsigned int}]{j, }
+\item[{int}]{k, }
+\item[{int}]{l, }
+\item[{{\bf Two\-Dfold\-\_\-vars} $\ast$}]{vars}
+\end{DoxyParamCaption}
+)}}\label{group__kl__neighborhood__mfe_gaf4dc05bf8fc1ea53acd7aeb798ba80c2}
+
+
+Backtrack a minimum free energy structure from a 5' section of specified length. 
+
+This function allows to backtrack a secondary structure beginning at the 5' end, a specified length and residing in a specific distance class. If the argument 'k' gets a value of -\/1, the structure that is backtracked is assumed to reside in the distance class where all structures exceeding the maximum basepair distance specified in \hyperlink{group__kl__neighborhood__mfe_ga47da790166020558d27323aef489703e}{Two\-Dfold\-List()} belong to. \begin{DoxyNote}{Note}
+The argument 'vars' must contain precalculated energy values in the energy matrices, i.\-e. a call to \hyperlink{group__kl__neighborhood__mfe_ga47da790166020558d27323aef489703e}{Two\-Dfold\-List()} preceding this function is mandatory!
+\end{DoxyNote}
+\begin{DoxySeeAlso}{See Also}
+\hyperlink{group__kl__neighborhood__mfe_ga47da790166020558d27323aef489703e}{Two\-Dfold\-List()}, \hyperlink{group__kl__neighborhood__mfe_gac9284f132cf0eaa0a2f43590eda05488}{get\-\_\-\-Two\-Dfold\-\_\-variables()}, \hyperlink{group__kl__neighborhood__mfe_ga05bf4f31d216b1b160fd2d3d68e9b487}{destroy\-\_\-\-Two\-Dfold\-\_\-variables()}
+\end{DoxySeeAlso}
+
+\begin{DoxyParams}{Parameters}
+{\em j} & The length in nucleotides beginning from the 5' end \\
+\hline
+{\em k} & distance to reference1 (may be -\/1) \\
+\hline
+{\em l} & distance to reference2 \\
+\hline
+{\em vars} & the datastructure containing all predefined folding attributes \\
+\hline
+\end{DoxyParams}