strataG (version 2.4.905)

fasta: Read and Write FASTA

Description

Read and write FASTA formatted files of sequences.

Usage

read.fasta(file)

write.fasta(x, file = NULL)

Arguments

file

a FASTA-formatted file of sequences.

x

a list or a matrix of DNA sequences (see write.dna), or a gtypes object with sequences.

Value

read.fasta

a set of sequences in DNAbin format

write.fasta

invisbly, name(s) of file(s) written