read.gb: This function opens files with .gb extention from the...

Description Usage Arguments Value Examples

Description

This function opens files with .gb extention from the NCBI/GenBank Nucleotide website and returns a list containing shaped record(s). Records with > 200'000 bp may experience long processing times, especially if they have numerous FEATURES items

Usage

1
read.gb(File, DNA = TRUE, Type = "full")

Arguments

File

character. The name of the file which the data are to be read from. It can contains several records

DNA

logical. If TRUE, the DNA sequence in the ORIGIN part will be merged in one character string. If FALSE, the default layout will be kept. Default if TRUE

Type

character. Should the output contain FEATURES and REFERENCE parts ? Possible values are "full" for a full record, "nofeat" to ignore FEATURES part, "noref" to ignore REFERENCE part and "nfnr" to ignore both parts. Default is "full"

Value

a table containing the data

Examples

1
2
3
4
## Not run: 
read.gb(File = "sequence.gb", DNA = TRUE, Type = "full")

## End(Not run)

Largon-Denayah/read.gb documentation built on May 13, 2019, 11:11 a.m.