singleGenomeAnno: Get single NCBI whole genomic gene annotation

Description Usage Arguments Details Value Author(s) Examples

Description

NCBI Database API - Get single NCBI whole genomic gene annotation

Usage

1
singleGenomeAnno(genomeID, type = "gene", n = 1)

Arguments

genomeID

Single NCBI genome ID.

type

"gene" or "CDS". The KEGG database use "CDS" as the protein gene count.

n

The number of CPUs or processors, and the default value is 1.

Details

Get whole gene annotation form single NCBI genome ID. The locus tag is used as names for each gene. If one of the gene feature value is missed, a "" (with length of 1) will return. If the genome has no gene featurs, "NULL" will be returned. This function now supports two feature types, "gene" or "CDS" (coding sequence). Other features such as RNAs ("ncRNA", "rRNA", "tRNA", "tmRNA"), "misc_feature", "rep_origin", "repeat_region" are not supported yet. It is shown in E. coli K-12 MG1655 "genes" features not only includes all "CDS" and RNAs, but some sRNA ("b4714"). "misc_feature" are mainly about cryptic prophage genes, and "repeat_region" are repetitive extragentic palindromic (REP) elements.

Value

A list of annotation.

Author(s)

Yulong Niu niuylscu@gmail.com

Examples

1
2
3
4
5
6
7
8
9
## no gene features
nofeature <- singleGenomeAnno('BA000048')

## Not run: 
aeuGenome <- singleGenomeAnno('CP007715', n = 4)

## missed value is replaced by ''
pseudo <- singleGenomeAnno('AE001826')[54]
## End(Not run)

YulongNiu/NCBIAPI documentation built on Nov. 22, 2021, 3:25 a.m.