Learn R Programming

MAGNAMWAR (version 2.0.4)

PrintOGSeqs: Print OG Sequences

Description

Print all protein sequences and annotations in a given OG

Usage

PrintOGSeqs(after_ortho, OG, fasta_dir, out_dir = NULL, outfile = "none")

Arguments

after_ortho

output from FormatAfterOrtho

OG

name of OG

fasta_dir

directory to fastas

out_dir

complete path to output directory

outfile

name of file that will be written to

Value

A fasta file with all protein sequences and ids for a given OG

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
OG <- 'OG5_126968'
dir <- system.file('extdata', 'fasta_dir', package='MAGNAMWAR')
dir <- paste(dir,'/',sep='')

PrintOGSeqs(after_ortho_format, OG, dir)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab