extract.gb {read.gb}R Documentation

Extracts and returns a specific item from .gb records

Description

This function regroup every items found in a list if they correspond to the character string specified. Works for general parts (ACCESSION, SOURCE...) and parts of FEATURES (source, gene, CDS...)

Usage

extract.gb(x, Item)

Arguments

x

The name of the list containing the records.

Item

character. The part to extract. It have to match case.

Value

Returns a list containing the data

Examples

## Not run: 
extract.gb(Example, "gene")

## End(Not run)


[Package read.gb version 2.2 Index]