DNA2RNA: Convert a DNA fasta to an RNA fasta

Description Usage Arguments Value Author(s) Examples

View source: R/FastaUtils_functions.R

Description

This function loads a fasta filecontaining DNA sequences and writes a fasta file with the same sequences converted to its RNA equivalent.

Usage

1
DNA2RNA(file = NULL, out = paste(file, ".rna", sep = ""))

Arguments

file

Fasta file

out

Path to output file. If absent, the '.rna' is added to the input file's name (path is thus conserved).

Value

Writes a fasta file.

Author(s)

Guillem Salazar <salazar@icm.csic.es>

Examples

1
DNA2RNA(file="http://greengenes.lbl.gov/Data/JD_Tutorial/UnAligSeq24606.txt",out="out.fasta")

GuillemSalazar/FastaUtils documentation built on June 9, 2021, 7:26 p.m.