clean_RNA_file: Clean RNA file

View source: R/clean_RNA.R

clean_RNA_fileR Documentation

Clean RNA file

Description

This function reads a multi FASTA file containing RNA sequences, removes any characters other than A, T, G, and C, and writes the cleaned sequences to a new multi FASTA file. The output file name is generated from the input file name with the suffix '_clean.fasta'.

Usage

clean_RNA_file(input_file)

Arguments

input_file

The name of the input multi FASTA file.

Value

A character string specifying the path to the output FASTA file.

Examples

sample_file_path_three <- system.file("extdata", "sample2_fa.fasta", package = "baseq")
clean_RNA_file(sample_file_path_three)


ambu-vijayan/baseq documentation built on May 6, 2023, 10:31 p.m.