writeFasta: Write to a fasta file

writeFastaR Documentation

Write to a fasta file

Description

writeFasta writes a named vector of sequences to a file in fasta format.

Usage

writeFasta(named_sequences, file, width = 60, append = FALSE)

Arguments

named_sequences

vector of named string representing sequences

file

the name of the output file.

width

the number of characters to be printed per line. if not between 1 and 255, width with be infinite.

append

logical indicating if the output should be appended to file instead of overwriting it

Value

A named vector of strings respresenting Ig alleles.

See Also

readIgFasta to do the inverse.

Examples

## Not run: 
# writeFasta(germlines, "ighv.fasta")

## End(Not run)


tigger documentation built on Oct. 10, 2023, 5:08 p.m.