getSeq4Acc: Queries the NCBI database to obtain the sequence for a given...

Description Usage Arguments Details Value Author(s) References Examples

Description

Given a GenBank Accession number, getSEQ queries the NCBI database for the nucleotide sequence.

Usage

1
2
getGI(accNum)
getSEQ(gi)

Arguments

accNum

accNum a character string for a GenBank Accession number (i.e. M22490)

gi

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

Author(s)

Jianhua Zhang

References

https://www.ncbi.nlm.nih.gov/entrez/query.fcgi

Examples

1
getSEQ("M22490")

annotate documentation built on Nov. 8, 2020, 8:14 p.m.