Add missing doc files
[jabaws.git] / binaries / src / ViennaRNA / doc / latex / utils_8h.tex
diff --git a/binaries/src/ViennaRNA/doc/latex/utils_8h.tex b/binaries/src/ViennaRNA/doc/latex/utils_8h.tex
new file mode 100644 (file)
index 0000000..e0c01e9
--- /dev/null
@@ -0,0 +1,924 @@
+\hypertarget{utils_8h}{\section{/home/asherstnev/\-Projects/\-Java.projects/jabaws/secure-\/git/develop/binaries/src/\-Vienna\-R\-N\-A/\-H/utils.h File Reference}
+\label{utils_8h}\index{/home/asherstnev/\-Projects/\-Java.\-projects/jabaws/secure-\/git/develop/binaries/src/\-Vienna\-R\-N\-A/\-H/utils.\-h@{/home/asherstnev/\-Projects/\-Java.\-projects/jabaws/secure-\/git/develop/binaries/src/\-Vienna\-R\-N\-A/\-H/utils.\-h}}
+}
+
+
+Various utility-\/ and helper-\/functions used throughout the Vienna R\-N\-A package.  
+
+
+This graph shows which files directly or indirectly include this file\-:
+\nopagebreak
+\begin{figure}[H]
+\begin{center}
+\leavevmode
+\includegraphics[width=250pt]{utils_8h__dep__incl}
+\end{center}
+\end{figure}
+\subsection*{Macros}
+\begin{DoxyCompactItemize}
+\item 
+\#define \hyperlink{utils_8h_ad403c9ea58f1836689404c2931419c8c}{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-E\-R\-R\-O\-R}~1\-U
+\item 
+\#define \hyperlink{utils_8h_a72f3c6ca5c83d2b9baed2922d19c403d}{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-Q\-U\-I\-T}~2\-U
+\item 
+\#define \hyperlink{utils_8h_a8e3241b321c9c1a78a69e59e2e019a71}{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-M\-I\-S\-C}~4\-U
+\item 
+\#define \hyperlink{utils_8h_a2f0d8069e93d3ac54d9320d6bdb8e7e7}{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-F\-A\-S\-T\-A\-\_\-\-H\-E\-A\-D\-E\-R}~8\-U
+\item 
+\#define \hyperlink{utils_8h_a8566d6787972100e68b5a2a159b4cf45}{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-S\-E\-Q\-U\-E\-N\-C\-E}~16\-U
+\item 
+\#define \hyperlink{utils_8h_ac08a9df45b9721b97a47dbfe7a6e5f85}{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T}~32\-U
+\item 
+\#define \hyperlink{utils_8h_a086742158293217a46ae2f71bb296937}{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-\_\-\-T\-R\-U\-N\-C\-A\-T\-I\-O\-N}~256\-U
+\item 
+\#define \hyperlink{utils_8h_a7a2e8c50a0c7ce82e60da1016e1367fd}{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-\_\-\-R\-E\-S\-T}~512\-U
+\item 
+\#define \hyperlink{utils_8h_a0de536599b881c787b0943a2671da476}{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-\_\-\-S\-P\-A\-N}~1024\-U
+\item 
+\#define \hyperlink{utils_8h_ab4db885222b3b69608310d7c7e63e286}{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-S\-K\-I\-P\-\_\-\-B\-L\-A\-N\-K\-\_\-\-L\-I\-N\-E\-S}~2048\-U
+\item 
+\#define \hyperlink{utils_8h_a305474b93ccb79ae4c7754016a8ddd84}{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-B\-L\-A\-N\-K\-\_\-\-L\-I\-N\-E}~4096\-U
+\item 
+\#define \hyperlink{utils_8h_a0f6311f11bed1842e3a527ab27b294c6}{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-S\-K\-I\-P\-\_\-\-C\-O\-M\-M\-E\-N\-T\-S}~128\-U
+\item 
+\#define \hyperlink{utils_8h_af2062e0eeefffd3ed639af460b3d4fab}{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-C\-O\-M\-M\-E\-N\-T}~8192\-U
+\item 
+\#define \hyperlink{utils_8h_a4e8d7120619b21df0309af425acbc9a2}{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-P\-I\-P\-E}~1\-U
+\item 
+\#define \hyperlink{utils_8h_a55e1d16fd693ae9ec8e987b0750da804}{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-D\-O\-T}~2\-U
+\item 
+\#define \hyperlink{utils_8h_a077c56550c915d4516d84a5ed8d051f4}{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-X}~4\-U
+\item 
+\#define \hyperlink{utils_8h_a0512d790f738742cbdcf3f7c87b46f48}{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-A\-N\-G\-\_\-\-B\-R\-A\-C\-K}~8\-U
+\item 
+\#define \hyperlink{utils_8h_aa20bfca4bb2903c8548000a33d7bbb53}{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-R\-N\-D\-\_\-\-B\-R\-A\-C\-K}~16\-U
+\item 
+\#define \hyperlink{utils_8h_a7d725ef525b29891abef3f1ed42599a4}{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-M\-U\-L\-T\-I\-L\-I\-N\-E}~32\-U
+\item 
+\#define \hyperlink{utils_8h_a08d12a9a846ea593b7171d277c9f033f}{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-N\-O\-\_\-\-H\-E\-A\-D\-E\-R}~64\-U
+\item 
+\#define \hyperlink{utils_8h_a0a697f77a6fbb10f34e16fa68ed9e655}{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-A\-L\-L}~128\-U
+\item 
+\#define \hyperlink{utils_8h_a99dc6b23dc4080a76e2ed1a81c20e94d}{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-G}~256\-U
+\item 
+\#define \hyperlink{utils_8h_abec89c09874528c6cb73140a4c3d86d7}{V\-R\-N\-A\-\_\-\-O\-P\-T\-I\-O\-N\-\_\-\-M\-U\-L\-T\-I\-L\-I\-N\-E}~32\-U
+\item 
+\#define \hyperlink{utils_8h_ae0b9cd0ce090bd69b951aa73e8fa4f7d}{M\-I\-N2}(A, B)~((A) $<$ (B) ? (A) \-: (B))
+\item 
+\#define \hyperlink{utils_8h_a33297b3679c713b0c4d897cd0fe3b122}{M\-A\-X2}(A, B)~((A) $>$ (B) ? (A) \-: (B))
+\item 
+\#define \hyperlink{utils_8h_a721b8d5f3abef17f10293f1f7f8c958e}{M\-I\-N3}(A, B, C)~(\hyperlink{utils_8h_ae0b9cd0ce090bd69b951aa73e8fa4f7d}{M\-I\-N2}(  (\hyperlink{utils_8h_ae0b9cd0ce090bd69b951aa73e8fa4f7d}{M\-I\-N2}((A),(B))) ,(C)))
+\item 
+\#define \hyperlink{utils_8h_a8d577123d2e66d2b7d0bf9af6e172b93}{M\-A\-X3}(A, B, C)~(\hyperlink{utils_8h_a33297b3679c713b0c4d897cd0fe3b122}{M\-A\-X2}(  (\hyperlink{utils_8h_a33297b3679c713b0c4d897cd0fe3b122}{M\-A\-X2}((A),(B))) ,(C)))
+\item 
+\#define \hyperlink{utils_8h_a03943706e48069237cd57f2d35ca987e}{X\-S\-T\-R}(s)~\hyperlink{utils_8h_a6388870e639eee9c0a69446876f1f8cc}{S\-T\-R}(s)
+\item 
+\#define \hyperlink{utils_8h_a6388870e639eee9c0a69446876f1f8cc}{S\-T\-R}(s)~\#s
+\item 
+\#define \hyperlink{utils_8h_afb228174279df9486a5cb56ac0bc79a3}{F\-I\-L\-E\-N\-A\-M\-E\-\_\-\-M\-A\-X\-\_\-\-L\-E\-N\-G\-T\-H}~80
+\begin{DoxyCompactList}\small\item\em Maximum length of filenames that are generated by our programs. \end{DoxyCompactList}\item 
+\#define \hyperlink{utils_8h_a33c3b1826b8e2739f09f111ec719ded5}{F\-I\-L\-E\-N\-A\-M\-E\-\_\-\-I\-D\-\_\-\-L\-E\-N\-G\-T\-H}~42
+\begin{DoxyCompactList}\small\item\em Maximum length of id taken from fasta header for filename generation. \end{DoxyCompactList}\end{DoxyCompactItemize}
+\subsection*{Functions}
+\begin{DoxyCompactItemize}
+\item 
+void $\ast$ \hyperlink{utils_8h_ad7e1e137b3bf1f7108933d302a7f0177}{space} (unsigned size)
+\begin{DoxyCompactList}\small\item\em Allocate space safely. \end{DoxyCompactList}\item 
+void $\ast$ \hyperlink{utils_8h_a9037ada838835b1b9db41581a021b0c8}{xrealloc} (void $\ast$p, unsigned size)
+\begin{DoxyCompactList}\small\item\em Reallocate space safely. \end{DoxyCompactList}\item 
+void \hyperlink{utils_8h_a127ce946e56b5a5773781cabe68e38c5}{nrerror} (const char message\mbox{[}$\,$\mbox{]})
+\begin{DoxyCompactList}\small\item\em Die with an error message. \end{DoxyCompactList}\item 
+void \hyperlink{utils_8h_af2355fa8746f2f30fbe71db65dea3d51}{warn\-\_\-user} (const char message\mbox{[}$\,$\mbox{]})
+\begin{DoxyCompactList}\small\item\em Print a warning message. \end{DoxyCompactList}\item 
+\hypertarget{utils_8h_a8aaa6d9be6f803f496d9b97375c371f3}{void \hyperlink{utils_8h_a8aaa6d9be6f803f496d9b97375c371f3}{init\-\_\-rand} (void)}\label{utils_8h_a8aaa6d9be6f803f496d9b97375c371f3}
+
+\begin{DoxyCompactList}\small\item\em Make random number seeds. \end{DoxyCompactList}\item 
+double \hyperlink{utils_8h_aaa328491c84996e445d027fde9800f2e}{urn} (void)
+\begin{DoxyCompactList}\small\item\em get a random number from \mbox{[}0..1\mbox{]} \end{DoxyCompactList}\item 
+int \hyperlink{utils_8h_a68ff0849d44f62fe491800378a5ffcb4}{int\-\_\-urn} (int from, int to)
+\begin{DoxyCompactList}\small\item\em Generates a pseudo random integer in a specified range. \end{DoxyCompactList}\item 
+char $\ast$ \hyperlink{utils_8h_a7afeb906cb36e9d77379eabc6907ac46}{time\-\_\-stamp} (void)
+\begin{DoxyCompactList}\small\item\em Get a timestamp. \end{DoxyCompactList}\item 
+char $\ast$ \hyperlink{utils_8h_a1b95eac365a021572e1c37e5993a89be}{random\-\_\-string} (int l, const char symbols\mbox{[}$\,$\mbox{]})
+\begin{DoxyCompactList}\small\item\em Create a random string using characters from a specified symbol set. \end{DoxyCompactList}\item 
+int \hyperlink{utils_8h_ad9dc7bfc9aa664dc6698f17ce07fc7e7}{hamming} (const char $\ast$s1, const char $\ast$s2)
+\begin{DoxyCompactList}\small\item\em Calculate hamming distance between two sequences. \end{DoxyCompactList}\item 
+int \hyperlink{utils_8h_a96d3c36717d624514055ce201cab1542}{hamming\-\_\-bound} (const char $\ast$s1, const char $\ast$s2, int n)
+\begin{DoxyCompactList}\small\item\em Calculate hamming distance between two sequences up to a specified length. \end{DoxyCompactList}\item 
+char $\ast$ \hyperlink{utils_8h_abe51806d14cff0789a8c1df7dbc45b71}{get\-\_\-line} (F\-I\-L\-E $\ast$fp)
+\begin{DoxyCompactList}\small\item\em Read a line of arbitrary length from a stream. \end{DoxyCompactList}\item 
+unsigned int \hyperlink{utils_8h_a8ef1835eb83f542396f59f0b205965e5}{get\-\_\-input\-\_\-line} (char $\ast$$\ast$string, unsigned int options)
+\item 
+unsigned int \hyperlink{utils_8h_afd194a69af9d92b5b0412a7627ac1595}{read\-\_\-record} (char $\ast$$\ast$header, char $\ast$$\ast$sequence, char $\ast$$\ast$$\ast$rest, unsigned int options)
+\begin{DoxyCompactList}\small\item\em Get a data record from stdin. \end{DoxyCompactList}\item 
+char $\ast$ \hyperlink{utils_8h_ac6dfa5e22928c087c6e09ff0054a7ced}{pack\-\_\-structure} (const char $\ast$struc)
+\begin{DoxyCompactList}\small\item\em Pack secondary secondary structure, 5\-:1 compression using base 3 encoding. \end{DoxyCompactList}\item 
+char $\ast$ \hyperlink{utils_8h_a071c6921efe1eb974f115ee6fefa3c39}{unpack\-\_\-structure} (const char $\ast$packed)
+\begin{DoxyCompactList}\small\item\em Unpack secondary structure previously packed with \hyperlink{utils_8h_ac6dfa5e22928c087c6e09ff0054a7ced}{pack\-\_\-structure()} \end{DoxyCompactList}\item 
+short $\ast$ \hyperlink{utils_8h_a89c32307ee50a0026f4a3131fac0845a}{make\-\_\-pair\-\_\-table} (const char $\ast$structure)
+\begin{DoxyCompactList}\small\item\em Create a pair table of a secondary structure. \end{DoxyCompactList}\item 
+short $\ast$ \hyperlink{utils_8h_afeaa6d68eef3a99d0a7aa08aa91c6601}{copy\-\_\-pair\-\_\-table} (const short $\ast$pt)
+\begin{DoxyCompactList}\small\item\em Get an exact copy of a pair table. \end{DoxyCompactList}\item 
+short $\ast$ \hyperlink{utils_8h_a3c81b3967056c3888b8472b65fbb16f5}{alimake\-\_\-pair\-\_\-table} (const char $\ast$structure)
+\item 
+short $\ast$ \hyperlink{utils_8h_a9aa3bf3b4346bb7fb88efc154dd07a79}{make\-\_\-pair\-\_\-table\-\_\-snoop} (const char $\ast$structure)
+\item 
+int $\ast$ \hyperlink{utils_8h_a4358e89f64cc87a563b7ef3855f75bed}{make\-\_\-loop\-\_\-index\-\_\-pt} (short $\ast$pt)
+\begin{DoxyCompactList}\small\item\em Compute the \char`\"{}base pair\char`\"{} distance between two secondary structures s1 and s2. \end{DoxyCompactList}\item 
+void \hyperlink{utils_8h_a6bf778117d31b7fd90db435323f4ef74}{print\-\_\-tty\-\_\-input\-\_\-seq} (void)
+\begin{DoxyCompactList}\small\item\em Print a line to {\itshape stdout} that asks for an input sequence. \end{DoxyCompactList}\item 
+void \hyperlink{utils_8h_ae4ef89b662a3e9b5b5f0781d9757aba0}{print\-\_\-tty\-\_\-input\-\_\-seq\-\_\-str} (const char $\ast$s)
+\begin{DoxyCompactList}\small\item\em Print a line with a user defined string and a ruler to stdout. \end{DoxyCompactList}\item 
+\hypertarget{utils_8h_ae8ae8a34962b9959be3f6c40f0a80ac1}{void \hyperlink{utils_8h_ae8ae8a34962b9959be3f6c40f0a80ac1}{print\-\_\-tty\-\_\-constraint\-\_\-full} (void)}\label{utils_8h_ae8ae8a34962b9959be3f6c40f0a80ac1}
+
+\begin{DoxyCompactList}\small\item\em Print structure constraint characters to stdout (full constraint support) \end{DoxyCompactList}\item 
+void \hyperlink{utils_8h_a4d167deb70bb51723e44374dc981deb2}{print\-\_\-tty\-\_\-constraint} (unsigned int option)
+\begin{DoxyCompactList}\small\item\em Print structure constraint characters to stdout. (constraint support is specified by option parameter) \end{DoxyCompactList}\item 
+void \hyperlink{utils_8h_ad3f18dd83f958f18b2f26ecb99305208}{str\-\_\-\-D\-N\-A2\-R\-N\-A} (char $\ast$sequence)
+\begin{DoxyCompactList}\small\item\em Convert a D\-N\-A input sequence to R\-N\-A alphabet. \end{DoxyCompactList}\item 
+void \hyperlink{utils_8h_a17b796b806f96b70382077fb5bc519bb}{str\-\_\-uppercase} (char $\ast$sequence)
+\begin{DoxyCompactList}\small\item\em Convert an input sequence to uppercase. \end{DoxyCompactList}\item 
+int $\ast$ \hyperlink{utils_8h_a55c0f6b3b07b6adf2ee235ba901fe397}{get\-\_\-iindx} (unsigned int length)
+\begin{DoxyCompactList}\small\item\em Get an index mapper array (iindx) for accessing the energy matrices, e.\-g. in partition function related functions. \end{DoxyCompactList}\item 
+int $\ast$ \hyperlink{utils_8h_a4d9ee1572c1bfcd02d3d3f2db8a6530f}{get\-\_\-indx} (unsigned int length)
+\begin{DoxyCompactList}\small\item\em Get an index mapper array (indx) for accessing the energy matrices, e.\-g. in M\-F\-E related functions. \end{DoxyCompactList}\item 
+void \hyperlink{utils_8h_a36c3a6c3218b041f992052767bc74549}{constrain\-\_\-ptypes} (const char $\ast$constraint, unsigned int length, char $\ast$ptype, int $\ast$B\-P, int min\-\_\-loop\-\_\-size, unsigned int idx\-\_\-type)
+\begin{DoxyCompactList}\small\item\em Insert constraining pair types according to constraint structure string. \end{DoxyCompactList}\end{DoxyCompactItemize}
+\subsection*{Variables}
+\begin{DoxyCompactItemize}
+\item 
+unsigned short \hyperlink{utils_8h_af9a866c8417afda7368bbac939ab3c47}{xsubi} \mbox{[}3\mbox{]}
+\begin{DoxyCompactList}\small\item\em Current 48 bit random number. \end{DoxyCompactList}\end{DoxyCompactItemize}
+
+
+\subsection{Detailed Description}
+Various utility-\/ and helper-\/functions used throughout the Vienna R\-N\-A package. 
+
+\subsection{Macro Definition Documentation}
+\hypertarget{utils_8h_ad403c9ea58f1836689404c2931419c8c}{\index{utils.\-h@{utils.\-h}!V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-E\-R\-R\-O\-R@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-E\-R\-R\-O\-R}}
+\index{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-E\-R\-R\-O\-R@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-E\-R\-R\-O\-R}!utils.h@{utils.\-h}}
+\subsubsection[{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-E\-R\-R\-O\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-E\-R\-R\-O\-R~1\-U}}\label{utils_8h_ad403c9ea58f1836689404c2931419c8c}
+Output flag of \hyperlink{utils_8h_a8ef1835eb83f542396f59f0b205965e5}{get\-\_\-input\-\_\-line()}\-: \char`\"{}\-An E\-R\-R\-O\-R has occured, maybe E\-O\-F\char`\"{} \hypertarget{utils_8h_a72f3c6ca5c83d2b9baed2922d19c403d}{\index{utils.\-h@{utils.\-h}!V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-Q\-U\-I\-T@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-Q\-U\-I\-T}}
+\index{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-Q\-U\-I\-T@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-Q\-U\-I\-T}!utils.h@{utils.\-h}}
+\subsubsection[{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-Q\-U\-I\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-Q\-U\-I\-T~2\-U}}\label{utils_8h_a72f3c6ca5c83d2b9baed2922d19c403d}
+Output flag of \hyperlink{utils_8h_a8ef1835eb83f542396f59f0b205965e5}{get\-\_\-input\-\_\-line()}\-: \char`\"{}the user requested quitting the program\char`\"{} \hypertarget{utils_8h_a8e3241b321c9c1a78a69e59e2e019a71}{\index{utils.\-h@{utils.\-h}!V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-M\-I\-S\-C@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-M\-I\-S\-C}}
+\index{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-M\-I\-S\-C@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-M\-I\-S\-C}!utils.h@{utils.\-h}}
+\subsubsection[{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-M\-I\-S\-C}]{\setlength{\rightskip}{0pt plus 5cm}\#define V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-M\-I\-S\-C~4\-U}}\label{utils_8h_a8e3241b321c9c1a78a69e59e2e019a71}
+Output flag of \hyperlink{utils_8h_a8ef1835eb83f542396f59f0b205965e5}{get\-\_\-input\-\_\-line()}\-: \char`\"{}something was read\char`\"{} \hypertarget{utils_8h_a2f0d8069e93d3ac54d9320d6bdb8e7e7}{\index{utils.\-h@{utils.\-h}!V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-F\-A\-S\-T\-A\-\_\-\-H\-E\-A\-D\-E\-R@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-F\-A\-S\-T\-A\-\_\-\-H\-E\-A\-D\-E\-R}}
+\index{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-F\-A\-S\-T\-A\-\_\-\-H\-E\-A\-D\-E\-R@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-F\-A\-S\-T\-A\-\_\-\-H\-E\-A\-D\-E\-R}!utils.h@{utils.\-h}}
+\subsubsection[{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-F\-A\-S\-T\-A\-\_\-\-H\-E\-A\-D\-E\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-F\-A\-S\-T\-A\-\_\-\-H\-E\-A\-D\-E\-R~8\-U}}\label{utils_8h_a2f0d8069e93d3ac54d9320d6bdb8e7e7}
+Input/\-Output flag of \hyperlink{utils_8h_a8ef1835eb83f542396f59f0b205965e5}{get\-\_\-input\-\_\-line()}\-:\par
+ if used as input option this tells \hyperlink{utils_8h_a8ef1835eb83f542396f59f0b205965e5}{get\-\_\-input\-\_\-line()} that the data to be read should comply with the F\-A\-S\-T\-A format
+
+the function will return this flag if a fasta header was read \hypertarget{utils_8h_a8566d6787972100e68b5a2a159b4cf45}{\index{utils.\-h@{utils.\-h}!V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-S\-E\-Q\-U\-E\-N\-C\-E@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-S\-E\-Q\-U\-E\-N\-C\-E}}
+\index{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-S\-E\-Q\-U\-E\-N\-C\-E@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-S\-E\-Q\-U\-E\-N\-C\-E}!utils.h@{utils.\-h}}
+\subsubsection[{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-S\-E\-Q\-U\-E\-N\-C\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-S\-E\-Q\-U\-E\-N\-C\-E~16\-U}}\label{utils_8h_a8566d6787972100e68b5a2a159b4cf45}
+Input flag for \hyperlink{utils_8h_a8ef1835eb83f542396f59f0b205965e5}{get\-\_\-input\-\_\-line()}\-:\par
+ Tell \hyperlink{utils_8h_a8ef1835eb83f542396f59f0b205965e5}{get\-\_\-input\-\_\-line()} that we assume to read a nucleotide sequence \hypertarget{utils_8h_ac08a9df45b9721b97a47dbfe7a6e5f85}{\index{utils.\-h@{utils.\-h}!V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T}}
+\index{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T}!utils.h@{utils.\-h}}
+\subsubsection[{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T~32\-U}}\label{utils_8h_ac08a9df45b9721b97a47dbfe7a6e5f85}
+Input flag for \hyperlink{utils_8h_a8ef1835eb83f542396f59f0b205965e5}{get\-\_\-input\-\_\-line()}\-:\par
+ Tell \hyperlink{utils_8h_a8ef1835eb83f542396f59f0b205965e5}{get\-\_\-input\-\_\-line()} that we assume to read a structure constraint \hypertarget{utils_8h_a086742158293217a46ae2f71bb296937}{\index{utils.\-h@{utils.\-h}!V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-\_\-\-T\-R\-U\-N\-C\-A\-T\-I\-O\-N@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-\_\-\-T\-R\-U\-N\-C\-A\-T\-I\-O\-N}}
+\index{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-\_\-\-T\-R\-U\-N\-C\-A\-T\-I\-O\-N@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-\_\-\-T\-R\-U\-N\-C\-A\-T\-I\-O\-N}!utils.h@{utils.\-h}}
+\subsubsection[{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-\_\-\-T\-R\-U\-N\-C\-A\-T\-I\-O\-N}]{\setlength{\rightskip}{0pt plus 5cm}\#define V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-\_\-\-T\-R\-U\-N\-C\-A\-T\-I\-O\-N~256\-U}}\label{utils_8h_a086742158293217a46ae2f71bb296937}
+Input switch for \hyperlink{utils_8h_a8ef1835eb83f542396f59f0b205965e5}{get\-\_\-input\-\_\-line()}\-: \char`\"{}do not trunkate the line by eliminating white spaces at end of line\char`\"{} \hypertarget{utils_8h_a7a2e8c50a0c7ce82e60da1016e1367fd}{\index{utils.\-h@{utils.\-h}!V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-\_\-\-R\-E\-S\-T@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-\_\-\-R\-E\-S\-T}}
+\index{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-\_\-\-R\-E\-S\-T@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-\_\-\-R\-E\-S\-T}!utils.h@{utils.\-h}}
+\subsubsection[{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-\_\-\-R\-E\-S\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-\_\-\-R\-E\-S\-T~512\-U}}\label{utils_8h_a7a2e8c50a0c7ce82e60da1016e1367fd}
+Input switch for \hyperlink{utils_8h_afd194a69af9d92b5b0412a7627ac1595}{read\-\_\-record()}\-: \char`\"{}do fill rest array\char`\"{} \hypertarget{utils_8h_a0de536599b881c787b0943a2671da476}{\index{utils.\-h@{utils.\-h}!V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-\_\-\-S\-P\-A\-N@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-\_\-\-S\-P\-A\-N}}
+\index{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-\_\-\-S\-P\-A\-N@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-\_\-\-S\-P\-A\-N}!utils.h@{utils.\-h}}
+\subsubsection[{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-\_\-\-S\-P\-A\-N}]{\setlength{\rightskip}{0pt plus 5cm}\#define V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-\_\-\-S\-P\-A\-N~1024\-U}}\label{utils_8h_a0de536599b881c787b0943a2671da476}
+Input switch for \hyperlink{utils_8h_afd194a69af9d92b5b0412a7627ac1595}{read\-\_\-record()}\-: \char`\"{}never allow data to span more than one line\char`\"{} \hypertarget{utils_8h_ab4db885222b3b69608310d7c7e63e286}{\index{utils.\-h@{utils.\-h}!V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-S\-K\-I\-P\-\_\-\-B\-L\-A\-N\-K\-\_\-\-L\-I\-N\-E\-S@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-S\-K\-I\-P\-\_\-\-B\-L\-A\-N\-K\-\_\-\-L\-I\-N\-E\-S}}
+\index{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-S\-K\-I\-P\-\_\-\-B\-L\-A\-N\-K\-\_\-\-L\-I\-N\-E\-S@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-S\-K\-I\-P\-\_\-\-B\-L\-A\-N\-K\-\_\-\-L\-I\-N\-E\-S}!utils.h@{utils.\-h}}
+\subsubsection[{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-S\-K\-I\-P\-\_\-\-B\-L\-A\-N\-K\-\_\-\-L\-I\-N\-E\-S}]{\setlength{\rightskip}{0pt plus 5cm}\#define V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-S\-K\-I\-P\-\_\-\-B\-L\-A\-N\-K\-\_\-\-L\-I\-N\-E\-S~2048\-U}}\label{utils_8h_ab4db885222b3b69608310d7c7e63e286}
+Input switch for \hyperlink{utils_8h_afd194a69af9d92b5b0412a7627ac1595}{read\-\_\-record()}\-: \char`\"{}do not skip empty lines\char`\"{} \hypertarget{utils_8h_a305474b93ccb79ae4c7754016a8ddd84}{\index{utils.\-h@{utils.\-h}!V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-B\-L\-A\-N\-K\-\_\-\-L\-I\-N\-E@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-B\-L\-A\-N\-K\-\_\-\-L\-I\-N\-E}}
+\index{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-B\-L\-A\-N\-K\-\_\-\-L\-I\-N\-E@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-B\-L\-A\-N\-K\-\_\-\-L\-I\-N\-E}!utils.h@{utils.\-h}}
+\subsubsection[{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-B\-L\-A\-N\-K\-\_\-\-L\-I\-N\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-B\-L\-A\-N\-K\-\_\-\-L\-I\-N\-E~4096\-U}}\label{utils_8h_a305474b93ccb79ae4c7754016a8ddd84}
+Output flag for \hyperlink{utils_8h_afd194a69af9d92b5b0412a7627ac1595}{read\-\_\-record()}\-: \char`\"{}read an empty line\char`\"{} \hypertarget{utils_8h_a0f6311f11bed1842e3a527ab27b294c6}{\index{utils.\-h@{utils.\-h}!V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-S\-K\-I\-P\-\_\-\-C\-O\-M\-M\-E\-N\-T\-S@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-S\-K\-I\-P\-\_\-\-C\-O\-M\-M\-E\-N\-T\-S}}
+\index{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-S\-K\-I\-P\-\_\-\-C\-O\-M\-M\-E\-N\-T\-S@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-S\-K\-I\-P\-\_\-\-C\-O\-M\-M\-E\-N\-T\-S}!utils.h@{utils.\-h}}
+\subsubsection[{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-S\-K\-I\-P\-\_\-\-C\-O\-M\-M\-E\-N\-T\-S}]{\setlength{\rightskip}{0pt plus 5cm}\#define V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-S\-K\-I\-P\-\_\-\-C\-O\-M\-M\-E\-N\-T\-S~128\-U}}\label{utils_8h_a0f6311f11bed1842e3a527ab27b294c6}
+Input switch for \hyperlink{utils_8h_a8ef1835eb83f542396f59f0b205965e5}{get\-\_\-input\-\_\-line()}\-: \char`\"{}do not skip comment lines\char`\"{} \hypertarget{utils_8h_af2062e0eeefffd3ed639af460b3d4fab}{\index{utils.\-h@{utils.\-h}!V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-C\-O\-M\-M\-E\-N\-T@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-C\-O\-M\-M\-E\-N\-T}}
+\index{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-C\-O\-M\-M\-E\-N\-T@{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-C\-O\-M\-M\-E\-N\-T}!utils.h@{utils.\-h}}
+\subsubsection[{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-C\-O\-M\-M\-E\-N\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-C\-O\-M\-M\-E\-N\-T~8192\-U}}\label{utils_8h_af2062e0eeefffd3ed639af460b3d4fab}
+Output flag for \hyperlink{utils_8h_afd194a69af9d92b5b0412a7627ac1595}{read\-\_\-record()}\-: \char`\"{}read a comment\char`\"{} \hypertarget{utils_8h_a4e8d7120619b21df0309af425acbc9a2}{\index{utils.\-h@{utils.\-h}!V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-P\-I\-P\-E@{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-P\-I\-P\-E}}
+\index{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-P\-I\-P\-E@{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-P\-I\-P\-E}!utils.h@{utils.\-h}}
+\subsubsection[{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-P\-I\-P\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-P\-I\-P\-E~1\-U}}\label{utils_8h_a4e8d7120619b21df0309af425acbc9a2}
+pipe sign '$|$' switch for structure constraints (paired with another base) \hypertarget{utils_8h_a55e1d16fd693ae9ec8e987b0750da804}{\index{utils.\-h@{utils.\-h}!V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-D\-O\-T@{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-D\-O\-T}}
+\index{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-D\-O\-T@{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-D\-O\-T}!utils.h@{utils.\-h}}
+\subsubsection[{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-D\-O\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-D\-O\-T~2\-U}}\label{utils_8h_a55e1d16fd693ae9ec8e987b0750da804}
+dot '.' switch for structure constraints (no constraint at all) \hypertarget{utils_8h_a077c56550c915d4516d84a5ed8d051f4}{\index{utils.\-h@{utils.\-h}!V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-X@{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-X}}
+\index{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-X@{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-X}!utils.h@{utils.\-h}}
+\subsubsection[{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-X}]{\setlength{\rightskip}{0pt plus 5cm}\#define V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-X~4\-U}}\label{utils_8h_a077c56550c915d4516d84a5ed8d051f4}
+'x' switch for structure constraint (base must not pair) \hypertarget{utils_8h_a0512d790f738742cbdcf3f7c87b46f48}{\index{utils.\-h@{utils.\-h}!V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-A\-N\-G\-\_\-\-B\-R\-A\-C\-K@{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-A\-N\-G\-\_\-\-B\-R\-A\-C\-K}}
+\index{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-A\-N\-G\-\_\-\-B\-R\-A\-C\-K@{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-A\-N\-G\-\_\-\-B\-R\-A\-C\-K}!utils.h@{utils.\-h}}
+\subsubsection[{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-A\-N\-G\-\_\-\-B\-R\-A\-C\-K}]{\setlength{\rightskip}{0pt plus 5cm}\#define V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-A\-N\-G\-\_\-\-B\-R\-A\-C\-K~8\-U}}\label{utils_8h_a0512d790f738742cbdcf3f7c87b46f48}
+angle brackets '$<$', '$>$' switch for structure constraint (paired downstream/upstream) \hypertarget{utils_8h_aa20bfca4bb2903c8548000a33d7bbb53}{\index{utils.\-h@{utils.\-h}!V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-R\-N\-D\-\_\-\-B\-R\-A\-C\-K@{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-R\-N\-D\-\_\-\-B\-R\-A\-C\-K}}
+\index{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-R\-N\-D\-\_\-\-B\-R\-A\-C\-K@{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-R\-N\-D\-\_\-\-B\-R\-A\-C\-K}!utils.h@{utils.\-h}}
+\subsubsection[{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-R\-N\-D\-\_\-\-B\-R\-A\-C\-K}]{\setlength{\rightskip}{0pt plus 5cm}\#define V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-R\-N\-D\-\_\-\-B\-R\-A\-C\-K~16\-U}}\label{utils_8h_aa20bfca4bb2903c8548000a33d7bbb53}
+round brackets '(',')' switch for structure constraint (base i pairs base j) \hypertarget{utils_8h_a7d725ef525b29891abef3f1ed42599a4}{\index{utils.\-h@{utils.\-h}!V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-M\-U\-L\-T\-I\-L\-I\-N\-E@{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-M\-U\-L\-T\-I\-L\-I\-N\-E}}
+\index{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-M\-U\-L\-T\-I\-L\-I\-N\-E@{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-M\-U\-L\-T\-I\-L\-I\-N\-E}!utils.h@{utils.\-h}}
+\subsubsection[{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-M\-U\-L\-T\-I\-L\-I\-N\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-M\-U\-L\-T\-I\-L\-I\-N\-E~32\-U}}\label{utils_8h_a7d725ef525b29891abef3f1ed42599a4}
+constraint may span over several lines \hypertarget{utils_8h_a08d12a9a846ea593b7171d277c9f033f}{\index{utils.\-h@{utils.\-h}!V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-N\-O\-\_\-\-H\-E\-A\-D\-E\-R@{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-N\-O\-\_\-\-H\-E\-A\-D\-E\-R}}
+\index{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-N\-O\-\_\-\-H\-E\-A\-D\-E\-R@{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-N\-O\-\_\-\-H\-E\-A\-D\-E\-R}!utils.h@{utils.\-h}}
+\subsubsection[{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-N\-O\-\_\-\-H\-E\-A\-D\-E\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-N\-O\-\_\-\-H\-E\-A\-D\-E\-R~64\-U}}\label{utils_8h_a08d12a9a846ea593b7171d277c9f033f}
+do not print the header information line \hypertarget{utils_8h_a0a697f77a6fbb10f34e16fa68ed9e655}{\index{utils.\-h@{utils.\-h}!V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-A\-L\-L@{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-A\-L\-L}}
+\index{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-A\-L\-L@{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-A\-L\-L}!utils.h@{utils.\-h}}
+\subsubsection[{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-A\-L\-L}]{\setlength{\rightskip}{0pt plus 5cm}\#define V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-A\-L\-L~128\-U}}\label{utils_8h_a0a697f77a6fbb10f34e16fa68ed9e655}
+placeholder for all constraining characters \hypertarget{utils_8h_a99dc6b23dc4080a76e2ed1a81c20e94d}{\index{utils.\-h@{utils.\-h}!V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-G@{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-G}}
+\index{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-G@{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-G}!utils.h@{utils.\-h}}
+\subsubsection[{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-G}]{\setlength{\rightskip}{0pt plus 5cm}\#define V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-G~256\-U}}\label{utils_8h_a99dc6b23dc4080a76e2ed1a81c20e94d}
+'+' switch for structure constraint (base is involved in a gquad) \hypertarget{utils_8h_abec89c09874528c6cb73140a4c3d86d7}{\index{utils.\-h@{utils.\-h}!V\-R\-N\-A\-\_\-\-O\-P\-T\-I\-O\-N\-\_\-\-M\-U\-L\-T\-I\-L\-I\-N\-E@{V\-R\-N\-A\-\_\-\-O\-P\-T\-I\-O\-N\-\_\-\-M\-U\-L\-T\-I\-L\-I\-N\-E}}
+\index{V\-R\-N\-A\-\_\-\-O\-P\-T\-I\-O\-N\-\_\-\-M\-U\-L\-T\-I\-L\-I\-N\-E@{V\-R\-N\-A\-\_\-\-O\-P\-T\-I\-O\-N\-\_\-\-M\-U\-L\-T\-I\-L\-I\-N\-E}!utils.h@{utils.\-h}}
+\subsubsection[{V\-R\-N\-A\-\_\-\-O\-P\-T\-I\-O\-N\-\_\-\-M\-U\-L\-T\-I\-L\-I\-N\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define V\-R\-N\-A\-\_\-\-O\-P\-T\-I\-O\-N\-\_\-\-M\-U\-L\-T\-I\-L\-I\-N\-E~32\-U}}\label{utils_8h_abec89c09874528c6cb73140a4c3d86d7}
+Tell a function that an input is assumed to span several lines if used as input-\/option A function might also be returning this state telling that it has read data from multiple lines.
+
+\begin{DoxySeeAlso}{See Also}
+extract\-\_\-record\-\_\-rest\-\_\-structure(), \hyperlink{utils_8h_afd194a69af9d92b5b0412a7627ac1595}{read\-\_\-record()}, get\-Constraint() 
+\end{DoxySeeAlso}
+\hypertarget{utils_8h_ae0b9cd0ce090bd69b951aa73e8fa4f7d}{\index{utils.\-h@{utils.\-h}!M\-I\-N2@{M\-I\-N2}}
+\index{M\-I\-N2@{M\-I\-N2}!utils.h@{utils.\-h}}
+\subsubsection[{M\-I\-N2}]{\setlength{\rightskip}{0pt plus 5cm}\#define M\-I\-N2(
+\begin{DoxyParamCaption}
+\item[{}]{A, }
+\item[{}]{B}
+\end{DoxyParamCaption}
+)~((A) $<$ (B) ? (A) \-: (B))}}\label{utils_8h_ae0b9cd0ce090bd69b951aa73e8fa4f7d}
+Get the minimum of two comparable values \hypertarget{utils_8h_a33297b3679c713b0c4d897cd0fe3b122}{\index{utils.\-h@{utils.\-h}!M\-A\-X2@{M\-A\-X2}}
+\index{M\-A\-X2@{M\-A\-X2}!utils.h@{utils.\-h}}
+\subsubsection[{M\-A\-X2}]{\setlength{\rightskip}{0pt plus 5cm}\#define M\-A\-X2(
+\begin{DoxyParamCaption}
+\item[{}]{A, }
+\item[{}]{B}
+\end{DoxyParamCaption}
+)~((A) $>$ (B) ? (A) \-: (B))}}\label{utils_8h_a33297b3679c713b0c4d897cd0fe3b122}
+Get the maximum of two comparable values \hypertarget{utils_8h_a721b8d5f3abef17f10293f1f7f8c958e}{\index{utils.\-h@{utils.\-h}!M\-I\-N3@{M\-I\-N3}}
+\index{M\-I\-N3@{M\-I\-N3}!utils.h@{utils.\-h}}
+\subsubsection[{M\-I\-N3}]{\setlength{\rightskip}{0pt plus 5cm}\#define M\-I\-N3(
+\begin{DoxyParamCaption}
+\item[{}]{A, }
+\item[{}]{B, }
+\item[{}]{C}
+\end{DoxyParamCaption}
+)~({\bf M\-I\-N2}(  ({\bf M\-I\-N2}((A),(B))) ,(C)))}}\label{utils_8h_a721b8d5f3abef17f10293f1f7f8c958e}
+Get the minimum of three comparable values \hypertarget{utils_8h_a8d577123d2e66d2b7d0bf9af6e172b93}{\index{utils.\-h@{utils.\-h}!M\-A\-X3@{M\-A\-X3}}
+\index{M\-A\-X3@{M\-A\-X3}!utils.h@{utils.\-h}}
+\subsubsection[{M\-A\-X3}]{\setlength{\rightskip}{0pt plus 5cm}\#define M\-A\-X3(
+\begin{DoxyParamCaption}
+\item[{}]{A, }
+\item[{}]{B, }
+\item[{}]{C}
+\end{DoxyParamCaption}
+)~({\bf M\-A\-X2}(  ({\bf M\-A\-X2}((A),(B))) ,(C)))}}\label{utils_8h_a8d577123d2e66d2b7d0bf9af6e172b93}
+Get the maximum of three comparable values \hypertarget{utils_8h_a03943706e48069237cd57f2d35ca987e}{\index{utils.\-h@{utils.\-h}!X\-S\-T\-R@{X\-S\-T\-R}}
+\index{X\-S\-T\-R@{X\-S\-T\-R}!utils.h@{utils.\-h}}
+\subsubsection[{X\-S\-T\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define X\-S\-T\-R(
+\begin{DoxyParamCaption}
+\item[{}]{s}
+\end{DoxyParamCaption}
+)~{\bf S\-T\-R}(s)}}\label{utils_8h_a03943706e48069237cd57f2d35ca987e}
+Stringify a macro after expansion \hypertarget{utils_8h_a6388870e639eee9c0a69446876f1f8cc}{\index{utils.\-h@{utils.\-h}!S\-T\-R@{S\-T\-R}}
+\index{S\-T\-R@{S\-T\-R}!utils.h@{utils.\-h}}
+\subsubsection[{S\-T\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\-T\-R(
+\begin{DoxyParamCaption}
+\item[{}]{s}
+\end{DoxyParamCaption}
+)~\#s}}\label{utils_8h_a6388870e639eee9c0a69446876f1f8cc}
+Stringify a macro argument \hypertarget{utils_8h_afb228174279df9486a5cb56ac0bc79a3}{\index{utils.\-h@{utils.\-h}!F\-I\-L\-E\-N\-A\-M\-E\-\_\-\-M\-A\-X\-\_\-\-L\-E\-N\-G\-T\-H@{F\-I\-L\-E\-N\-A\-M\-E\-\_\-\-M\-A\-X\-\_\-\-L\-E\-N\-G\-T\-H}}
+\index{F\-I\-L\-E\-N\-A\-M\-E\-\_\-\-M\-A\-X\-\_\-\-L\-E\-N\-G\-T\-H@{F\-I\-L\-E\-N\-A\-M\-E\-\_\-\-M\-A\-X\-\_\-\-L\-E\-N\-G\-T\-H}!utils.h@{utils.\-h}}
+\subsubsection[{F\-I\-L\-E\-N\-A\-M\-E\-\_\-\-M\-A\-X\-\_\-\-L\-E\-N\-G\-T\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define F\-I\-L\-E\-N\-A\-M\-E\-\_\-\-M\-A\-X\-\_\-\-L\-E\-N\-G\-T\-H~80}}\label{utils_8h_afb228174279df9486a5cb56ac0bc79a3}
+
+
+Maximum length of filenames that are generated by our programs. 
+
+This definition should be used throughout the complete Vienna\-R\-N\-A package wherever a static array holding filenames of output files is declared. \hypertarget{utils_8h_a33c3b1826b8e2739f09f111ec719ded5}{\index{utils.\-h@{utils.\-h}!F\-I\-L\-E\-N\-A\-M\-E\-\_\-\-I\-D\-\_\-\-L\-E\-N\-G\-T\-H@{F\-I\-L\-E\-N\-A\-M\-E\-\_\-\-I\-D\-\_\-\-L\-E\-N\-G\-T\-H}}
+\index{F\-I\-L\-E\-N\-A\-M\-E\-\_\-\-I\-D\-\_\-\-L\-E\-N\-G\-T\-H@{F\-I\-L\-E\-N\-A\-M\-E\-\_\-\-I\-D\-\_\-\-L\-E\-N\-G\-T\-H}!utils.h@{utils.\-h}}
+\subsubsection[{F\-I\-L\-E\-N\-A\-M\-E\-\_\-\-I\-D\-\_\-\-L\-E\-N\-G\-T\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define F\-I\-L\-E\-N\-A\-M\-E\-\_\-\-I\-D\-\_\-\-L\-E\-N\-G\-T\-H~42}}\label{utils_8h_a33c3b1826b8e2739f09f111ec719ded5}
+
+
+Maximum length of id taken from fasta header for filename generation. 
+
+this has to be smaller than F\-I\-L\-E\-N\-A\-M\-E\-\_\-\-M\-A\-X\-\_\-\-L\-E\-N\-G\-T\-H since in most cases, some suffix will be appended to the I\-D 
+
+\subsection{Function Documentation}
+\hypertarget{utils_8h_ad7e1e137b3bf1f7108933d302a7f0177}{\index{utils.\-h@{utils.\-h}!space@{space}}
+\index{space@{space}!utils.h@{utils.\-h}}
+\subsubsection[{space}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ space (
+\begin{DoxyParamCaption}
+\item[{unsigned}]{size}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_ad7e1e137b3bf1f7108933d302a7f0177}
+
+
+Allocate space safely. 
+
+
+\begin{DoxyParams}{Parameters}
+{\em size} & The size of the memory to be allocated in bytes \\
+\hline
+\end{DoxyParams}
+\begin{DoxyReturn}{Returns}
+A pointer to the allocated memory 
+\end{DoxyReturn}
+\hypertarget{utils_8h_a9037ada838835b1b9db41581a021b0c8}{\index{utils.\-h@{utils.\-h}!xrealloc@{xrealloc}}
+\index{xrealloc@{xrealloc}!utils.h@{utils.\-h}}
+\subsubsection[{xrealloc}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ xrealloc (
+\begin{DoxyParamCaption}
+\item[{void $\ast$}]{p, }
+\item[{unsigned}]{size}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_a9037ada838835b1b9db41581a021b0c8}
+
+
+Reallocate space safely. 
+
+
+\begin{DoxyParams}{Parameters}
+{\em p} & A pointer to the memory region to be reallocated \\
+\hline
+{\em size} & The size of the memory to be allocated in bytes \\
+\hline
+\end{DoxyParams}
+\begin{DoxyReturn}{Returns}
+A pointer to the newly allocated memory 
+\end{DoxyReturn}
+\hypertarget{utils_8h_a127ce946e56b5a5773781cabe68e38c5}{\index{utils.\-h@{utils.\-h}!nrerror@{nrerror}}
+\index{nrerror@{nrerror}!utils.h@{utils.\-h}}
+\subsubsection[{nrerror}]{\setlength{\rightskip}{0pt plus 5cm}void nrerror (
+\begin{DoxyParamCaption}
+\item[{const char}]{message\mbox{[}$\,$\mbox{]}}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_a127ce946e56b5a5773781cabe68e38c5}
+
+
+Die with an error message. 
+
+\begin{DoxySeeAlso}{See Also}
+\hyperlink{utils_8h_af2355fa8746f2f30fbe71db65dea3d51}{warn\-\_\-user()} 
+\end{DoxySeeAlso}
+
+\begin{DoxyParams}{Parameters}
+{\em message} & The error message to be printed before exiting with 'F\-A\-I\-L\-U\-R\-E' \\
+\hline
+\end{DoxyParams}
+\hypertarget{utils_8h_af2355fa8746f2f30fbe71db65dea3d51}{\index{utils.\-h@{utils.\-h}!warn\-\_\-user@{warn\-\_\-user}}
+\index{warn\-\_\-user@{warn\-\_\-user}!utils.h@{utils.\-h}}
+\subsubsection[{warn\-\_\-user}]{\setlength{\rightskip}{0pt plus 5cm}void warn\-\_\-user (
+\begin{DoxyParamCaption}
+\item[{const char}]{message\mbox{[}$\,$\mbox{]}}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_af2355fa8746f2f30fbe71db65dea3d51}
+
+
+Print a warning message. 
+
+Print a warning message to {\itshape stderr} 
+
+
+\begin{DoxyParams}{Parameters}
+{\em message} & The warning message \\
+\hline
+\end{DoxyParams}
+\hypertarget{utils_8h_aaa328491c84996e445d027fde9800f2e}{\index{utils.\-h@{utils.\-h}!urn@{urn}}
+\index{urn@{urn}!utils.h@{utils.\-h}}
+\subsubsection[{urn}]{\setlength{\rightskip}{0pt plus 5cm}double urn (
+\begin{DoxyParamCaption}
+\item[{void}]{}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_aaa328491c84996e445d027fde9800f2e}
+
+
+get a random number from \mbox{[}0..1\mbox{]} 
+
+\begin{DoxyNote}{Note}
+Usually implemented by calling {\itshape erand48()}. 
+\end{DoxyNote}
+\begin{DoxyReturn}{Returns}
+A random number in range \mbox{[}0..1\mbox{]} 
+\end{DoxyReturn}
+\hypertarget{utils_8h_a68ff0849d44f62fe491800378a5ffcb4}{\index{utils.\-h@{utils.\-h}!int\-\_\-urn@{int\-\_\-urn}}
+\index{int\-\_\-urn@{int\-\_\-urn}!utils.h@{utils.\-h}}
+\subsubsection[{int\-\_\-urn}]{\setlength{\rightskip}{0pt plus 5cm}int int\-\_\-urn (
+\begin{DoxyParamCaption}
+\item[{int}]{from, }
+\item[{int}]{to}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_a68ff0849d44f62fe491800378a5ffcb4}
+
+
+Generates a pseudo random integer in a specified range. 
+
+
+\begin{DoxyParams}{Parameters}
+{\em from} & The first number in range \\
+\hline
+{\em to} & The last number in range \\
+\hline
+\end{DoxyParams}
+\begin{DoxyReturn}{Returns}
+A pseudo random number in range \mbox{[}from, to\mbox{]} 
+\end{DoxyReturn}
+\hypertarget{utils_8h_a7afeb906cb36e9d77379eabc6907ac46}{\index{utils.\-h@{utils.\-h}!time\-\_\-stamp@{time\-\_\-stamp}}
+\index{time\-\_\-stamp@{time\-\_\-stamp}!utils.h@{utils.\-h}}
+\subsubsection[{time\-\_\-stamp}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ time\-\_\-stamp (
+\begin{DoxyParamCaption}
+\item[{void}]{}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_a7afeb906cb36e9d77379eabc6907ac46}
+
+
+Get a timestamp. 
+
+Returns a string containing the current date in the format \begin{DoxyVerb}Fri Mar 19 21:10:57 1993\end{DoxyVerb}
+
+
+\begin{DoxyReturn}{Returns}
+A string containing the timestamp 
+\end{DoxyReturn}
+\hypertarget{utils_8h_a1b95eac365a021572e1c37e5993a89be}{\index{utils.\-h@{utils.\-h}!random\-\_\-string@{random\-\_\-string}}
+\index{random\-\_\-string@{random\-\_\-string}!utils.h@{utils.\-h}}
+\subsubsection[{random\-\_\-string}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ random\-\_\-string (
+\begin{DoxyParamCaption}
+\item[{int}]{l, }
+\item[{const char}]{symbols\mbox{[}$\,$\mbox{]}}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_a1b95eac365a021572e1c37e5993a89be}
+
+
+Create a random string using characters from a specified symbol set. 
+
+
+\begin{DoxyParams}{Parameters}
+{\em l} & The length of the sequence \\
+\hline
+{\em symbols} & The symbol set \\
+\hline
+\end{DoxyParams}
+\begin{DoxyReturn}{Returns}
+A random string of length 'l' containing characters from the symbolset 
+\end{DoxyReturn}
+\hypertarget{utils_8h_ad9dc7bfc9aa664dc6698f17ce07fc7e7}{\index{utils.\-h@{utils.\-h}!hamming@{hamming}}
+\index{hamming@{hamming}!utils.h@{utils.\-h}}
+\subsubsection[{hamming}]{\setlength{\rightskip}{0pt plus 5cm}int hamming (
+\begin{DoxyParamCaption}
+\item[{const char $\ast$}]{s1, }
+\item[{const char $\ast$}]{s2}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_ad9dc7bfc9aa664dc6698f17ce07fc7e7}
+
+
+Calculate hamming distance between two sequences. 
+
+Calculate the number of positions in which 
+\begin{DoxyParams}{Parameters}
+{\em s1} & The first sequence \\
+\hline
+{\em s2} & The second sequence \\
+\hline
+\end{DoxyParams}
+\begin{DoxyReturn}{Returns}
+The hamming distance between s1 and s2 
+\end{DoxyReturn}
+\hypertarget{utils_8h_a96d3c36717d624514055ce201cab1542}{\index{utils.\-h@{utils.\-h}!hamming\-\_\-bound@{hamming\-\_\-bound}}
+\index{hamming\-\_\-bound@{hamming\-\_\-bound}!utils.h@{utils.\-h}}
+\subsubsection[{hamming\-\_\-bound}]{\setlength{\rightskip}{0pt plus 5cm}int hamming\-\_\-bound (
+\begin{DoxyParamCaption}
+\item[{const char $\ast$}]{s1, }
+\item[{const char $\ast$}]{s2, }
+\item[{int}]{n}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_a96d3c36717d624514055ce201cab1542}
+
+
+Calculate hamming distance between two sequences up to a specified length. 
+
+This function is similar to \hyperlink{utils_8h_ad9dc7bfc9aa664dc6698f17ce07fc7e7}{hamming()} but instead of comparing both sequences up to their actual length only the first 'n' characters are taken into account 
+\begin{DoxyParams}{Parameters}
+{\em s1} & The first sequence \\
+\hline
+{\em s2} & The second sequence \\
+\hline
+\end{DoxyParams}
+\begin{DoxyReturn}{Returns}
+The hamming distance between s1 and s2 
+\end{DoxyReturn}
+\hypertarget{utils_8h_abe51806d14cff0789a8c1df7dbc45b71}{\index{utils.\-h@{utils.\-h}!get\-\_\-line@{get\-\_\-line}}
+\index{get\-\_\-line@{get\-\_\-line}!utils.h@{utils.\-h}}
+\subsubsection[{get\-\_\-line}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ get\-\_\-line (
+\begin{DoxyParamCaption}
+\item[{F\-I\-L\-E $\ast$}]{fp}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_abe51806d14cff0789a8c1df7dbc45b71}
+
+
+Read a line of arbitrary length from a stream. 
+
+Returns a pointer to the resulting string. The necessary memory is allocated and should be released using {\itshape free()} when the string is no longer needed.
+
+
+\begin{DoxyParams}{Parameters}
+{\em fp} & A file pointer to the stream where the function should read from \\
+\hline
+\end{DoxyParams}
+\begin{DoxyReturn}{Returns}
+A pointer to the resulting string 
+\end{DoxyReturn}
+\hypertarget{utils_8h_a8ef1835eb83f542396f59f0b205965e5}{\index{utils.\-h@{utils.\-h}!get\-\_\-input\-\_\-line@{get\-\_\-input\-\_\-line}}
+\index{get\-\_\-input\-\_\-line@{get\-\_\-input\-\_\-line}!utils.h@{utils.\-h}}
+\subsubsection[{get\-\_\-input\-\_\-line}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int get\-\_\-input\-\_\-line (
+\begin{DoxyParamCaption}
+\item[{char $\ast$$\ast$}]{string, }
+\item[{unsigned int}]{options}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_a8ef1835eb83f542396f59f0b205965e5}
+Retrieve a line from 'stdin' savely while skipping comment characters and other features This function returns the type of input it has read if recognized. An option argument allows to switch between different reading modes.\par
+ Currently available options are\-:\par
+ \#\-V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-P\-R\-I\-N\-T\-\_\-\-C\-O\-M\-M\-E\-N\-T\-S, \hyperlink{utils_8h_a0f6311f11bed1842e3a527ab27b294c6}{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-S\-K\-I\-P\-\_\-\-C\-O\-M\-M\-E\-N\-T\-S}, \#\-V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-E\-L\-I\-M\-\_\-\-W\-S\-\_\-\-S\-U\-F\-F\-I\-X
+
+pass a collection of options as one value like this\-: \begin{DoxyVerb}get_input_line(string, option_1 | option_2 | option_n) \end{DoxyVerb}
+
+
+If the function recognizes the type of input, it will report it in the return value. It also reports if a user defined 'quit' command (@-\/sign on 'stdin') was given. Possible return values are\-:\par
+ \hyperlink{utils_8h_a2f0d8069e93d3ac54d9320d6bdb8e7e7}{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-F\-A\-S\-T\-A\-\_\-\-H\-E\-A\-D\-E\-R}, \hyperlink{utils_8h_ad403c9ea58f1836689404c2931419c8c}{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-E\-R\-R\-O\-R}, \hyperlink{utils_8h_a8e3241b321c9c1a78a69e59e2e019a71}{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-M\-I\-S\-C}, \hyperlink{utils_8h_a72f3c6ca5c83d2b9baed2922d19c403d}{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-Q\-U\-I\-T}
+
+
+\begin{DoxyParams}{Parameters}
+{\em string} & A pointer to the character array that contains the line read \\
+\hline
+{\em options} & A collection of options for switching the functions behavior \\
+\hline
+\end{DoxyParams}
+\begin{DoxyReturn}{Returns}
+A flag with information about what has been read 
+\end{DoxyReturn}
+\hypertarget{utils_8h_afd194a69af9d92b5b0412a7627ac1595}{\index{utils.\-h@{utils.\-h}!read\-\_\-record@{read\-\_\-record}}
+\index{read\-\_\-record@{read\-\_\-record}!utils.h@{utils.\-h}}
+\subsubsection[{read\-\_\-record}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int read\-\_\-record (
+\begin{DoxyParamCaption}
+\item[{char $\ast$$\ast$}]{header, }
+\item[{char $\ast$$\ast$}]{sequence, }
+\item[{char $\ast$$\ast$$\ast$}]{rest, }
+\item[{unsigned int}]{options}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_afd194a69af9d92b5b0412a7627ac1595}
+
+
+Get a data record from stdin. 
+
+\begin{DoxyVerb}This function may be used to obtain complete datasets from stdin. A dataset is always
+defined to contain at least a sequence. If data on stdin starts with a fasta header,
+i.e. a line like
+\end{DoxyVerb}
+ \begin{DoxyVerb}>some header info \end{DoxyVerb}
+ then \hyperlink{utils_8h_afd194a69af9d92b5b0412a7627ac1595}{read\-\_\-record()} will assume that the sequence that follows the header may span over several lines. To disable this behavior and to assign a single line to the argument 'sequence' one can pass V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-\_\-\-S\-P\-A\-N in the 'options' argument. If no fasta header is read in the beginning of a data block, a sequence must not span over multiple lines!\par
+ Unless the options \hyperlink{utils_8h_a0f6311f11bed1842e3a527ab27b294c6}{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-S\-K\-I\-P\-\_\-\-C\-O\-M\-M\-E\-N\-T\-S} or \hyperlink{utils_8h_ab4db885222b3b69608310d7c7e63e286}{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-S\-K\-I\-P\-\_\-\-B\-L\-A\-N\-K\-\_\-\-L\-I\-N\-E\-S} are passed, a sequence may be interrupted by lines starting with a comment character or empty lines.\par
+ A sequence is regarded as completely read if it was either assumed to not span over multiple lines, a secondary structure or structure constraint follows the sequence on the next line or a new header marks the beginning of a new sequence...\par
+ All lines following the sequence (this includes comments) and not initiating a new dataset are available through the line-\/array 'rest'. Here one can usually find the structure constraint or other information belonging to the current dataset. Filling of 'rest' may be prevented by passing \hyperlink{utils_8h_a7a2e8c50a0c7ce82e60da1016e1367fd}{V\-R\-N\-A\-\_\-\-I\-N\-P\-U\-T\-\_\-\-N\-O\-\_\-\-R\-E\-S\-T} to the options argument.\par
+
+
+\begin{DoxyNote}{Note}
+This function will exit any program with an error message if no sequence could be read! \begin{DoxyVerb}The main purpose of this function is to be able to easily parse blocks of data from stdin
+in the header of a loop where all calculations for the appropriate data is done inside the
+loop. The loop may be then left on certain return values, e.g.:
+\end{DoxyVerb}
+ \begin{DoxyVerb}char *id, *seq, **rest;
+int  i;
+while(!(read_record(&id, &seq, &rest, 0) & (VRNA_INPUT_ERROR | VRNA_INPUT_QUIT))){
+  if(id) printf("%s\n", id);
+  printf("%s\n", seq);
+  if(rest)
+    for(i=0;rest[i];i++)
+      printf("%s\n", rest[i]);
+} \end{DoxyVerb}
+ \begin{DoxyVerb}In the example above, the while loop will be terminated when read_record() returns either an
+error or a user initiated quit request.\n
+As long as data is read from stdin, the id is printed if it is available for the current block
+of data. The sequence will be printed in any case and if some more lines belong to the current
+block of data each line will be printed as well.
+\end{DoxyVerb}
+
+
+Do not forget to free the memory occupied by header, sequence and rest!
+\end{DoxyNote}
+
+\begin{DoxyParams}{Parameters}
+{\em header} & A pointer which will be set such that it points to the header of the record \\
+\hline
+{\em sequence} & A pointer which will be set such that it points to the sequence of the record \\
+\hline
+{\em rest} & A pointer which will be set such that it points to an array of lines which also belong to the record \\
+\hline
+{\em options} & Some options which may be passed to alter the behavior of the function, use 0 for no options \\
+\hline
+\end{DoxyParams}
+\begin{DoxyReturn}{Returns}
+A flag with information about what the function actually did read 
+\end{DoxyReturn}
+\hypertarget{utils_8h_ac6dfa5e22928c087c6e09ff0054a7ced}{\index{utils.\-h@{utils.\-h}!pack\-\_\-structure@{pack\-\_\-structure}}
+\index{pack\-\_\-structure@{pack\-\_\-structure}!utils.h@{utils.\-h}}
+\subsubsection[{pack\-\_\-structure}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ pack\-\_\-structure (
+\begin{DoxyParamCaption}
+\item[{const char $\ast$}]{struc}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_ac6dfa5e22928c087c6e09ff0054a7ced}
+
+
+Pack secondary secondary structure, 5\-:1 compression using base 3 encoding. 
+
+Returns a binary string encoding of the secondary structure using a 5\-:1 compression scheme. The string is N\-U\-L\-L terminated and can therefore be used with standard string functions such as strcmp(). Useful for programs that need to keep many structures in memory.
+
+
+\begin{DoxyParams}{Parameters}
+{\em struc} & The secondary structure in dot-\/bracket notation \\
+\hline
+\end{DoxyParams}
+\begin{DoxyReturn}{Returns}
+The binary encoded structure 
+\end{DoxyReturn}
+\hypertarget{utils_8h_a071c6921efe1eb974f115ee6fefa3c39}{\index{utils.\-h@{utils.\-h}!unpack\-\_\-structure@{unpack\-\_\-structure}}
+\index{unpack\-\_\-structure@{unpack\-\_\-structure}!utils.h@{utils.\-h}}
+\subsubsection[{unpack\-\_\-structure}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ unpack\-\_\-structure (
+\begin{DoxyParamCaption}
+\item[{const char $\ast$}]{packed}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_a071c6921efe1eb974f115ee6fefa3c39}
+
+
+Unpack secondary structure previously packed with \hyperlink{utils_8h_ac6dfa5e22928c087c6e09ff0054a7ced}{pack\-\_\-structure()} 
+
+Translate a compressed binary string produced by \hyperlink{utils_8h_ac6dfa5e22928c087c6e09ff0054a7ced}{pack\-\_\-structure()} back into the familiar dot-\/bracket notation.
+
+
+\begin{DoxyParams}{Parameters}
+{\em packed} & The binary encoded packed secondary structure \\
+\hline
+\end{DoxyParams}
+\begin{DoxyReturn}{Returns}
+The unpacked secondary structure in dot-\/bracket notation 
+\end{DoxyReturn}
+\hypertarget{utils_8h_a89c32307ee50a0026f4a3131fac0845a}{\index{utils.\-h@{utils.\-h}!make\-\_\-pair\-\_\-table@{make\-\_\-pair\-\_\-table}}
+\index{make\-\_\-pair\-\_\-table@{make\-\_\-pair\-\_\-table}!utils.h@{utils.\-h}}
+\subsubsection[{make\-\_\-pair\-\_\-table}]{\setlength{\rightskip}{0pt plus 5cm}short$\ast$ make\-\_\-pair\-\_\-table (
+\begin{DoxyParamCaption}
+\item[{const char $\ast$}]{structure}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_a89c32307ee50a0026f4a3131fac0845a}
+
+
+Create a pair table of a secondary structure. 
+
+Returns a newly allocated table, such that table\mbox{[}i\mbox{]}=j if (i.\-j) pair or 0 if i is unpaired, table\mbox{[}0\mbox{]} contains the length of the structure.
+
+
+\begin{DoxyParams}{Parameters}
+{\em structure} & The secondary structure in dot-\/bracket notation \\
+\hline
+\end{DoxyParams}
+\begin{DoxyReturn}{Returns}
+A pointer to the created pair\-\_\-table 
+\end{DoxyReturn}
+\hypertarget{utils_8h_afeaa6d68eef3a99d0a7aa08aa91c6601}{\index{utils.\-h@{utils.\-h}!copy\-\_\-pair\-\_\-table@{copy\-\_\-pair\-\_\-table}}
+\index{copy\-\_\-pair\-\_\-table@{copy\-\_\-pair\-\_\-table}!utils.h@{utils.\-h}}
+\subsubsection[{copy\-\_\-pair\-\_\-table}]{\setlength{\rightskip}{0pt plus 5cm}short$\ast$ copy\-\_\-pair\-\_\-table (
+\begin{DoxyParamCaption}
+\item[{const short $\ast$}]{pt}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_afeaa6d68eef3a99d0a7aa08aa91c6601}
+
+
+Get an exact copy of a pair table. 
+
+
+\begin{DoxyParams}{Parameters}
+{\em pt} & The pair table to be copied \\
+\hline
+\end{DoxyParams}
+\begin{DoxyReturn}{Returns}
+A pointer to the copy of 'pt' 
+\end{DoxyReturn}
+\hypertarget{utils_8h_a3c81b3967056c3888b8472b65fbb16f5}{\index{utils.\-h@{utils.\-h}!alimake\-\_\-pair\-\_\-table@{alimake\-\_\-pair\-\_\-table}}
+\index{alimake\-\_\-pair\-\_\-table@{alimake\-\_\-pair\-\_\-table}!utils.h@{utils.\-h}}
+\subsubsection[{alimake\-\_\-pair\-\_\-table}]{\setlength{\rightskip}{0pt plus 5cm}short$\ast$ alimake\-\_\-pair\-\_\-table (
+\begin{DoxyParamCaption}
+\item[{const char $\ast$}]{structure}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_a3c81b3967056c3888b8472b65fbb16f5}
+$\ast$$\ast$$\ast$\-Pair table for snoop align \hypertarget{utils_8h_a9aa3bf3b4346bb7fb88efc154dd07a79}{\index{utils.\-h@{utils.\-h}!make\-\_\-pair\-\_\-table\-\_\-snoop@{make\-\_\-pair\-\_\-table\-\_\-snoop}}
+\index{make\-\_\-pair\-\_\-table\-\_\-snoop@{make\-\_\-pair\-\_\-table\-\_\-snoop}!utils.h@{utils.\-h}}
+\subsubsection[{make\-\_\-pair\-\_\-table\-\_\-snoop}]{\setlength{\rightskip}{0pt plus 5cm}short$\ast$ make\-\_\-pair\-\_\-table\-\_\-snoop (
+\begin{DoxyParamCaption}
+\item[{const char $\ast$}]{structure}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_a9aa3bf3b4346bb7fb88efc154dd07a79}
+returns a newly allocated table, such that\-: table\mbox{[}i\mbox{]}=j if (i.\-j) pair or 0 if i is unpaired, table\mbox{[}0\mbox{]} contains the length of the structure. The special pseudoknotted H/\-A\-C\-A-\/m\-R\-N\-A structure is taken into account. \hypertarget{utils_8h_a4358e89f64cc87a563b7ef3855f75bed}{\index{utils.\-h@{utils.\-h}!make\-\_\-loop\-\_\-index\-\_\-pt@{make\-\_\-loop\-\_\-index\-\_\-pt}}
+\index{make\-\_\-loop\-\_\-index\-\_\-pt@{make\-\_\-loop\-\_\-index\-\_\-pt}!utils.h@{utils.\-h}}
+\subsubsection[{make\-\_\-loop\-\_\-index\-\_\-pt}]{\setlength{\rightskip}{0pt plus 5cm}int$\ast$ make\-\_\-loop\-\_\-index\-\_\-pt (
+\begin{DoxyParamCaption}
+\item[{short $\ast$}]{pt}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_a4358e89f64cc87a563b7ef3855f75bed}
+
+
+Compute the \char`\"{}base pair\char`\"{} distance between two secondary structures s1 and s2. 
+
+The sequences should have the same length. dist = number of base pairs in one structure but not in the other same as edit distance with open-\/pair close-\/pair as move-\/set
+
+
+\begin{DoxyParams}{Parameters}
+{\em str1} & First structure in dot-\/bracket notation \\
+\hline
+{\em str2} & Second structure in dot-\/bracket notation \\
+\hline
+\end{DoxyParams}
+\begin{DoxyReturn}{Returns}
+The base pair distance between str1 and str2 
+\end{DoxyReturn}
+\hypertarget{utils_8h_a6bf778117d31b7fd90db435323f4ef74}{\index{utils.\-h@{utils.\-h}!print\-\_\-tty\-\_\-input\-\_\-seq@{print\-\_\-tty\-\_\-input\-\_\-seq}}
+\index{print\-\_\-tty\-\_\-input\-\_\-seq@{print\-\_\-tty\-\_\-input\-\_\-seq}!utils.h@{utils.\-h}}
+\subsubsection[{print\-\_\-tty\-\_\-input\-\_\-seq}]{\setlength{\rightskip}{0pt plus 5cm}void print\-\_\-tty\-\_\-input\-\_\-seq (
+\begin{DoxyParamCaption}
+\item[{void}]{}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_a6bf778117d31b7fd90db435323f4ef74}
+
+
+Print a line to {\itshape stdout} that asks for an input sequence. 
+
+There will also be a ruler (scale line) printed that helps orientation of the sequence positions \hypertarget{utils_8h_ae4ef89b662a3e9b5b5f0781d9757aba0}{\index{utils.\-h@{utils.\-h}!print\-\_\-tty\-\_\-input\-\_\-seq\-\_\-str@{print\-\_\-tty\-\_\-input\-\_\-seq\-\_\-str}}
+\index{print\-\_\-tty\-\_\-input\-\_\-seq\-\_\-str@{print\-\_\-tty\-\_\-input\-\_\-seq\-\_\-str}!utils.h@{utils.\-h}}
+\subsubsection[{print\-\_\-tty\-\_\-input\-\_\-seq\-\_\-str}]{\setlength{\rightskip}{0pt plus 5cm}void print\-\_\-tty\-\_\-input\-\_\-seq\-\_\-str (
+\begin{DoxyParamCaption}
+\item[{const char $\ast$}]{s}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_ae4ef89b662a3e9b5b5f0781d9757aba0}
+
+
+Print a line with a user defined string and a ruler to stdout. 
+
+(usually this is used to ask for user input) There will also be a ruler (scale line) printed that helps orientation of the sequence positions
+
+
+\begin{DoxyParams}{Parameters}
+{\em s} & A user defined string that will be printed to stdout \\
+\hline
+\end{DoxyParams}
+\hypertarget{utils_8h_a4d167deb70bb51723e44374dc981deb2}{\index{utils.\-h@{utils.\-h}!print\-\_\-tty\-\_\-constraint@{print\-\_\-tty\-\_\-constraint}}
+\index{print\-\_\-tty\-\_\-constraint@{print\-\_\-tty\-\_\-constraint}!utils.h@{utils.\-h}}
+\subsubsection[{print\-\_\-tty\-\_\-constraint}]{\setlength{\rightskip}{0pt plus 5cm}void print\-\_\-tty\-\_\-constraint (
+\begin{DoxyParamCaption}
+\item[{unsigned int}]{option}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_a4d167deb70bb51723e44374dc981deb2}
+
+
+Print structure constraint characters to stdout. (constraint support is specified by option parameter) 
+
+Currently available options are\-:\par
+ \hyperlink{utils_8h_a4e8d7120619b21df0309af425acbc9a2}{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-P\-I\-P\-E} (paired with another base)\par
+ \hyperlink{utils_8h_a55e1d16fd693ae9ec8e987b0750da804}{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-D\-O\-T} (no constraint at all)\par
+ \hyperlink{utils_8h_a077c56550c915d4516d84a5ed8d051f4}{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-X} (base must not pair)\par
+ \hyperlink{utils_8h_a0512d790f738742cbdcf3f7c87b46f48}{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-A\-N\-G\-\_\-\-B\-R\-A\-C\-K} (paired downstream/upstream)\par
+ \hyperlink{utils_8h_aa20bfca4bb2903c8548000a33d7bbb53}{V\-R\-N\-A\-\_\-\-C\-O\-N\-S\-T\-R\-A\-I\-N\-T\-\_\-\-R\-N\-D\-\_\-\-B\-R\-A\-C\-K} (base i pairs base j)\par
+
+
+pass a collection of options as one value like this\-: \begin{DoxyVerb}print_tty_constraint(option_1 | option_2 | option_n) \end{DoxyVerb}
+
+
+
+\begin{DoxyParams}{Parameters}
+{\em option} & Option switch that tells which constraint help will be printed \\
+\hline
+\end{DoxyParams}
+\hypertarget{utils_8h_ad3f18dd83f958f18b2f26ecb99305208}{\index{utils.\-h@{utils.\-h}!str\-\_\-\-D\-N\-A2\-R\-N\-A@{str\-\_\-\-D\-N\-A2\-R\-N\-A}}
+\index{str\-\_\-\-D\-N\-A2\-R\-N\-A@{str\-\_\-\-D\-N\-A2\-R\-N\-A}!utils.h@{utils.\-h}}
+\subsubsection[{str\-\_\-\-D\-N\-A2\-R\-N\-A}]{\setlength{\rightskip}{0pt plus 5cm}void str\-\_\-\-D\-N\-A2\-R\-N\-A (
+\begin{DoxyParamCaption}
+\item[{char $\ast$}]{sequence}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_ad3f18dd83f958f18b2f26ecb99305208}
+
+
+Convert a D\-N\-A input sequence to R\-N\-A alphabet. 
+
+This function substitudes {\itshape T} and {\itshape t} with {\itshape U} and {\itshape u}, respectively
+
+
+\begin{DoxyParams}{Parameters}
+{\em sequence} & The sequence to be converted \\
+\hline
+\end{DoxyParams}
+\hypertarget{utils_8h_a17b796b806f96b70382077fb5bc519bb}{\index{utils.\-h@{utils.\-h}!str\-\_\-uppercase@{str\-\_\-uppercase}}
+\index{str\-\_\-uppercase@{str\-\_\-uppercase}!utils.h@{utils.\-h}}
+\subsubsection[{str\-\_\-uppercase}]{\setlength{\rightskip}{0pt plus 5cm}void str\-\_\-uppercase (
+\begin{DoxyParamCaption}
+\item[{char $\ast$}]{sequence}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_a17b796b806f96b70382077fb5bc519bb}
+
+
+Convert an input sequence to uppercase. 
+
+
+\begin{DoxyParams}{Parameters}
+{\em sequence} & The sequence to be converted \\
+\hline
+\end{DoxyParams}
+\hypertarget{utils_8h_a55c0f6b3b07b6adf2ee235ba901fe397}{\index{utils.\-h@{utils.\-h}!get\-\_\-iindx@{get\-\_\-iindx}}
+\index{get\-\_\-iindx@{get\-\_\-iindx}!utils.h@{utils.\-h}}
+\subsubsection[{get\-\_\-iindx}]{\setlength{\rightskip}{0pt plus 5cm}int$\ast$ get\-\_\-iindx (
+\begin{DoxyParamCaption}
+\item[{unsigned int}]{length}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_a55c0f6b3b07b6adf2ee235ba901fe397}
+
+
+Get an index mapper array (iindx) for accessing the energy matrices, e.\-g. in partition function related functions. 
+
+Access of a position \char`\"{}(i,j)\char`\"{} is then accomplished by using\begin{DoxyVerb}(i,j) ~ iindx[i]-j \end{DoxyVerb}
+ This function is necessary as most of the two-\/dimensional energy matrices are actually one-\/dimensional arrays throughout the Vienna\-R\-N\-A\-Package
+
+Consult the implemented code to find out about the mapping formula ;)
+
+\begin{DoxySeeAlso}{See Also}
+\hyperlink{utils_8h_a4d9ee1572c1bfcd02d3d3f2db8a6530f}{get\-\_\-indx()} 
+\end{DoxySeeAlso}
+
+\begin{DoxyParams}{Parameters}
+{\em length} & The length of the R\-N\-A sequence \\
+\hline
+\end{DoxyParams}
+\begin{DoxyReturn}{Returns}
+The mapper array 
+\end{DoxyReturn}
+\hypertarget{utils_8h_a4d9ee1572c1bfcd02d3d3f2db8a6530f}{\index{utils.\-h@{utils.\-h}!get\-\_\-indx@{get\-\_\-indx}}
+\index{get\-\_\-indx@{get\-\_\-indx}!utils.h@{utils.\-h}}
+\subsubsection[{get\-\_\-indx}]{\setlength{\rightskip}{0pt plus 5cm}int$\ast$ get\-\_\-indx (
+\begin{DoxyParamCaption}
+\item[{unsigned int}]{length}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_a4d9ee1572c1bfcd02d3d3f2db8a6530f}
+
+
+Get an index mapper array (indx) for accessing the energy matrices, e.\-g. in M\-F\-E related functions. 
+
+Access of a position \char`\"{}(i,j)\char`\"{} is then accomplished by using\begin{DoxyVerb}(i,j) ~ indx[j]+i \end{DoxyVerb}
+ This function is necessary as most of the two-\/dimensional energy matrices are actually one-\/dimensional arrays throughout the Vienna\-R\-N\-A\-Package
+
+Consult the implemented code to find out about the mapping formula ;)
+
+\begin{DoxySeeAlso}{See Also}
+\hyperlink{utils_8h_a55c0f6b3b07b6adf2ee235ba901fe397}{get\-\_\-iindx()} 
+\end{DoxySeeAlso}
+
+\begin{DoxyParams}{Parameters}
+{\em length} & The length of the R\-N\-A sequence \\
+\hline
+\end{DoxyParams}
+\begin{DoxyReturn}{Returns}
+The mapper array 
+\end{DoxyReturn}
+\hypertarget{utils_8h_a36c3a6c3218b041f992052767bc74549}{\index{utils.\-h@{utils.\-h}!constrain\-\_\-ptypes@{constrain\-\_\-ptypes}}
+\index{constrain\-\_\-ptypes@{constrain\-\_\-ptypes}!utils.h@{utils.\-h}}
+\subsubsection[{constrain\-\_\-ptypes}]{\setlength{\rightskip}{0pt plus 5cm}void constrain\-\_\-ptypes (
+\begin{DoxyParamCaption}
+\item[{const char $\ast$}]{constraint, }
+\item[{unsigned int}]{length, }
+\item[{char $\ast$}]{ptype, }
+\item[{int $\ast$}]{B\-P, }
+\item[{int}]{min\-\_\-loop\-\_\-size, }
+\item[{unsigned int}]{idx\-\_\-type}
+\end{DoxyParamCaption}
+)}}\label{utils_8h_a36c3a6c3218b041f992052767bc74549}
+
+
+Insert constraining pair types according to constraint structure string. 
+
+\begin{DoxySeeAlso}{See Also}
+\hyperlink{utils_8h_a4d9ee1572c1bfcd02d3d3f2db8a6530f}{get\-\_\-indx()}, \hyperlink{utils_8h_a55c0f6b3b07b6adf2ee235ba901fe397}{get\-\_\-iindx()}
+\end{DoxySeeAlso}
+
+\begin{DoxyParams}{Parameters}
+{\em constraint} & The structure constraint string \\
+\hline
+{\em length} & The actual length of the sequence (constraint may be shorter) \\
+\hline
+{\em ptype} & A pointer to the basepair type array \\
+\hline
+{\em min\-\_\-loop\-\_\-size} & The minimal loop size (usually \hyperlink{energy__const_8h_ae646250fd59311356c7e5722a81c3a96}{T\-U\-R\-N} ) \\
+\hline
+{\em idx\-\_\-type} & Define the access type for base pair type array (0 = indx, 1 = iindx) \\
+\hline
+\end{DoxyParams}
+
+
+\subsection{Variable Documentation}
+\hypertarget{utils_8h_af9a866c8417afda7368bbac939ab3c47}{\index{utils.\-h@{utils.\-h}!xsubi@{xsubi}}
+\index{xsubi@{xsubi}!utils.h@{utils.\-h}}
+\subsubsection[{xsubi}]{\setlength{\rightskip}{0pt plus 5cm}unsigned short xsubi\mbox{[}3\mbox{]}}}\label{utils_8h_af9a866c8417afda7368bbac939ab3c47}
+
+
+Current 48 bit random number. 
+
+This variable is used by \hyperlink{utils_8h_aaa328491c84996e445d027fde9800f2e}{urn()}. These should be set to some random number seeds before the first call to \hyperlink{utils_8h_aaa328491c84996e445d027fde9800f2e}{urn()}.
+
+\begin{DoxySeeAlso}{See Also}
+\hyperlink{utils_8h_aaa328491c84996e445d027fde9800f2e}{urn()} 
+\end{DoxySeeAlso}