Skip to contents

Export processed sequences as FASTA files

Usage

export_sequences(seq = NULL, outdir = tempdir())

Arguments

seq

A processed list of AAStringSet objects as returned by process_input().

outdir

Path to output directory where FASTA files will be stored.

Value

Path to exported FASTA files.

Examples

# Load data
data(proteomes)
data(annotation)

# Process data
pdata <- process_input(proteomes, annotation)

# Export data
outdir <- file.path(tempdir(), "example_test")
export_sequences(pdata$seq, outdir)
#> [1] "/tmp/RtmpNS1OhZ/example_test/Olucimarinus.fasta"
#> [2] "/tmp/RtmpNS1OhZ/example_test/OspRCC809.fasta"