\HeaderA{getSEQ}{Queries the NCBI database to obtain the sequence for a given
GenBank Accession number}{getSEQ}
\aliasA{getGI}{getSEQ}{getGI}
\keyword{misc}{getSEQ}
\begin{Description}\relax
Given a GenBank Accession number, getSEQ queries the NCBI database for
the nucleotide sequence.
\end{Description}
\begin{Usage}
\begin{verbatim}
getGI(accNum)
getSEQ(gi)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{accNum}] \code{accNum} a character string for a GenBank Accession
number (i.e. M22490)
\item[\code{gi}] \code{gi} a character string or numeric numbers for a
GenBank accession number or gi number. A gi number is a series of
digits that are assigned consecutively to each sequence record
processed by NCBI
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The NCBI database is queried for the given GenBank Accession number to
obtain the nucleotide sequence in FASTA format. The leading
identification line of the sequence data is then dropped to return only
the nucleotide sequence.  

getGI returns the gi number corresponding to a given GenBank accession
number.
\end{Details}
\begin{Value}
getSEQ returns a character string of nucleotide sequence
\end{Value}
\begin{Author}\relax
Jianhua Zhang
\end{Author}
\begin{References}\relax
\url{http://www.ncbi.nlm.nih.gov/entrez/query.fcgi}
\end{References}
\begin{Examples}
\begin{ExampleCode}
getSEQ("M22490")
\end{ExampleCode}
\end{Examples}

