README.md

biodbUniprot

Codecov test coverage

An R package for accessing Uniprot online database, based on R package/framework biodb.

Introduction

biodbUniprot is an extension package of the biodb package. It allows to connect to UniProt for retrieving entries, searching for entries by name or organism, and convert gene symbols to UniProt IDs.

Examples

Getting entries:

bdb <- boidb::newInst()
uniprot <- bdb$getFactory()$createConn('uniprot')
entries <- uniprot$getEntry(c('P01011', 'P09237'))
bdb$entriesToDataframe(entries)

Run a web service query:

bdb <- boidb::newInst()
uniprot <- bdb$getFactory()$createConn('uniprot')
uniprot$wsQuery('reviewed:yes AND organism:9606', columns=c('id', 'entry name'),
    limit=2, retfmt='parsed')

Installation

Install the latest stable version using Bioconductor:

if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")
BiocManager::install('biodbUniprot')

Documentation

See the introduction vignette:

vignette('biodbUniprot', package='biodbUniprot')

Citations



pkrog/biodbUniprot documentation built on Sept. 26, 2022, 3:50 p.m.