\HeaderA{seq2id}{Transfer a nucleotide sequence as a nuID}{seq2id}
\keyword{methods}{seq2id}
\begin{Description}\relax
The nuID (nucleotide universal identifier) is uniquely corresponding to probe sequence. The nuID is also self-identification and error checking
\end{Description}
\begin{Usage}
\begin{verbatim}
seq2id(seq)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{seq}] a nucleotide sequence composed of A, C, G, T (U). 
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The nuID is a exact mapping of nucleotide sequence based on Base64 encoding scheme. 
A character set A-Z, a-z, 0-9, "\_" and "." is used to represent to the base-64 numbers of 0-63.
The first character of nuID is a checking code, which provide information of both the number of 
padded "A"s at the nucleotide sequence and error checking.
Please refer to reference for more details.
\end{Details}
\begin{Value}
A string represents nuID
\end{Value}
\begin{Author}\relax
Pan Du
\end{Author}
\begin{References}\relax
Du, P., Kibbe, W.A. and Lin, S.M., "nuID: A universal naming schema of oligonucleotides for Illumina, Affymetrix, and other microarrays", Biology Direct 2007, 2:16 (31May2007).
\end{References}
\begin{SeeAlso}\relax
\code{\LinkA{id2seq}{id2seq}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
seq <- 'ACGTAAATTTCAGTTTAAAACCCCCCG'
id <- seq2id(seq)
id
id2seq(id)
\end{ExampleCode}
\end{Examples}

