FindLongestSeq: Find the longest sequence for each species from a list of...

View source: R/FindLongestSeq.R

FindLongestSeqR Documentation

Find the longest sequence for each species from a list of GenBank accession numbers.

Description

Find the longest sequence for each species from a list of GenBank accession numbers.

Usage

FindLongestSeq(Accessions)

Arguments

Accessions

A vector of GenBank accession numbers.

Details

For a set of GenBank accession numbers, this will return the longest sequence for in the set for species.

Value

A list of genbank accessions numbers for the longest sequence for each taxon in a list of accession numbers.

Examples

#a vector of 4 genbank accessions, there are two for each species.
genbank.accessions<-c("KP978059.1","KP978060.1","JX516105.1","JX516111.1")
## Not run: 
#returns the longest sequence respectively for the two species.
long.seq.result<-FindLongestSeq(genbank.accessions)

## End(Not run)

sborstein/AnnotationBustR documentation built on Oct. 13, 2024, 12:25 p.m.