Learn R Programming

seqmagick (version 0.1.8)

ncbi_fa_read: ncbi_fa_read

Description

download fasta sequence by accession number and read as sequence object

Usage

ncbi_fa_read(acc, db = "nuccore", type = "auto")

Value

BStringSet object

Arguments

acc

accession number(s)

db

supported db, currently 'nuccore'

type

one of 'DNA', 'RNA', 'AA', 'unknown' or 'auto'

Author

Guangchuang Yu

Examples

Run this code
if (FALSE) {
x <- ncbi_fa_read(c('AB115403', 'AB115403.1'))
x
}

Run the code above in your browser using DataLab