read.fasta: Parse a fasta file into a named character vector.

Description Usage Arguments Value

Description

Parse a fasta file into a named character vector.

Usage

1

Arguments

file

A file with fasta-formatted sequences. Can optionally be compressed with gzip, bzip2, xz, or lzma.

ids

Character vector of IDs to retrieve. The default, NULL, will retrieve everything.

Value

A named character vector in which names are the fasta headers and values are the sequences.


rbiom documentation built on July 2, 2020, 1:47 a.m.