makeTxDbFromGenBank {genbankr} | R Documentation

## Create a TxDb from a GenBank record

### Description

Create a TxDb object from a GenBankRecord.

### Usage

    makeTxDbFromGenBank(gbr, reassign.ids = FALSE)

    ## S4 method for signature 'GenBankRecord'
    makeTxDbFromGenBank(gbr, reassign.ids = FALSE)

    ## S4 method for signature 'GBAccession'
    makeTxDbFromGenBank(gbr, reassign.ids = FALSE)

### Arguments

`gbr` | A GenBankRecord or GBAccession object
`reassign.ids` | logical. Passed down to `makeTxDb`

### Value

A TxDb object

### Examples

    thing = readGenBank(system.file("unitTests/compjoin.gbk", package="genbankr"))
    tx = makeTxDbFromGenBank(thing)

[Package genbankr version 1.20.0 Index]