Learn R Programming

MAGNAMWAR (version 2.0.4)

RASTtoGBK: Write RAST files to Genbank formats OrthoMCL Analysis

Description

Useful for reformating RAST files to GBK format

Usage

RASTtoGBK(input_fasta, input_reference, out_name_path)

Arguments

input_fasta

path to input fasta file

input_reference

path to a .csv file; it should be downloaded from RAST as excel format, saved as a .csv (saved as the tab-delimited version has compatibility problems)

out_name_path

name and path of the file to write to

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
lfrc_fasta <- system.file('extdata', 'RASTtoGBK//lfrc.fasta', package='MAGNAMWAR')
lfrc_reference <- system.file('extdata', 'RASTtoGBK//lfrc_lookup.csv', package='MAGNAMWAR')
lfrc_path <- system.file('extdata', 'RASTtoGBK//lfrc_out.fasta', package='MAGNAMWAR')

RASTtoGBK(lfrc_fasta,lfrc_reference,lfrc_path)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab