fastaDescription {GeneR}R Documentation

Description field reading of a fasta sequence

Description

Reads the description field of a fasta sequence

Usage

fastaDescription(file, name="")

Arguments

file String/scalar, File name of the fasta sequences bank
name String/scalar, Name of the sequence whose description must be retrieved, (if not specified : first sequence of the file)

Value

The description field (the remaining of the heading line after the first space). if error : NULL

Author(s)

A. Lucas

Examples

## WARNING: Because NCBI changed the web service the seqNcbi() function
## needs to connect to, the function is broken. Please contact
## the maintainer of the GeneR package about this. Thanks!
if (interactive()) {

seqNcbi("BY608190",file="BY608190.fa")

fastaDescription(file="BY608190.fa",name="gi|26943372|gb|BY608190.1|BY608190")

}

[Package GeneR version 2.20.0 Index]