\section{cdnadb}
\label{module_cdnadb}
This module contains the following objects

\begin{itemize}
\item \ref{object_cDNADB} cDNADB

\item This module also contains some factory methods
\end{itemize}
\subsection{cdnadb factory methods}
\subsubsection{new_cDNADB_from_single_seq}
\begin{description}
\item[External C] {\tt Wise2_new_cDNADB_from_single_seq (seq)}
\item[Perl] {\tt &Wise2::new_cDNADB_from_single_seq (seq)}

\end{description}
Arguments
\begin{description}
\item[seq] [UNKN ] sequence which as placed into cDNADB structure. [cDNA *]
\item[returns] [UNKN ] Undocumented return value [cDNADB *]
\end{description}
To make a new cDNA database
from a single cDNA Sequence with a eval system


\subsubsection{new_cDNADB}
\begin{description}
\item[External C] {\tt Wise2_new_cDNADB (seqdb)}
\item[Perl] {\tt &Wise2::new_cDNADB (seqdb)}

\end{description}
Arguments
\begin{description}
\item[seqdb] [READ ] sequence database [SequenceDB *]
\item[returns] [UNKN ] Undocumented return value [cDNADB *]
\end{description}
To make a new cDNA database




\subsection{Object cDNADB}

\label{object_cDNADB}

The cDNADB object has the following fields. To see how to access them refer to \ref{accessing_fields}
\begin{description}
\item{is_single_seq} Type [boolean : Scalar] No documentation

\item{done_forward} Type [boolean : Scalar] No documentation

\item{forward_only} Type [boolean : Scalar] No documentation

\item{forw} Type [ComplexSequence * : Scalar] No documentation

\item{rev} Type [ComplexSequence * : Scalar] No documentation

\item{sdb} Type [SequenceDB * : Scalar] No documentation

\item{current} Type [Sequence * : Scalar] No documentation

\item{cses} Type [ComplexSequenceEvalSet * : Scalar] No documentation

\item{error_handling} Type [CdnaDBErrorType : Scalar] No documentation

\item{error_tol} Type [double : Scalar] No documentation

\end{description}
This object hold a database of
cDNA sequences.


You will probably use it in one of
two ways


1 A sequence formatted database, which
is provided by a /SequenceDB object
is used to provide the raw sequences 


2 A single cDNA sequence is used.


In each case this database provides
both the forward and reverse strands
into the system.


Notice that what is exported are
/ComplexSequence objects, not cDNA dna,
as this is what is generally needed. 
These are things with splice sites calculated
etc. This is why for initialisation this needs
a /ComplexSequenceEvalSet of the correct type.




Member functions of cDNADB

\subsubsection{get_cDNA_from_cDNADB}

\begin{description}
\item[External C] {\tt Wise2_get_cDNA_from_cDNADB (cdnadb,de)}
\item[Perl] {\tt &Wise2::cDNADB::get_entry (cdnadb,de)}

\item[Perl-OOP call] {\tt $obj->get_entry(de)}

\end{description}
Arguments
\begin{description}
\item[cdnadb] [READ ] cDNA database [cDNADB *]
\item[de] [READ ] DataEntry information  [DataEntry *]
\item[returns] [UNKN ] Undocumented return value [cDNA *]
\end{description}
Gets cDNA sequence out from
the cDNADB using the information stored in
dataentry


