File: getSeq4Acc.Rd

package info (click to toggle)
r-bioc-annotate 1.84.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,624 kB
  • sloc: makefile: 2
file content (43 lines) | stat: -rw-r--r-- 1,172 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
\name{getSEQ}
\alias{getGI}
\alias{getSEQ}

\title{Queries the NCBI database to obtain the sequence for a given
  GenBank Accession number}
\description{
  Given a GenBank Accession number, getSEQ queries the NCBI database for
  the nucleotide sequence.  
}
\usage{
getGI(accNum)
getSEQ(gi)
}

\arguments{
  \item{accNum}{\code{accNum} a character string for a GenBank Accession
    number (i.e. M22490)}
  \item{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}
}
\details{
  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.
}
\value{
  getSEQ returns a character string of nucleotide sequence
}
\references{\url{https://www.ncbi.nlm.nih.gov/entrez/query.fcgi}}
\author{Jianhua Zhang}

\examples{
getSEQ("M22490")
}
\keyword{misc}