clean_DNA_file | R Documentation |
This function reads a multi FASTA file containing DNA 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'.
clean_DNA_file(input_file)
input_file |
The name of the input multi FASTA file. |
A character string specifying the path to the output FASTA file.
sample_file_path_three <- system.file("extdata", "sample2_fa.fasta", package = "baseq")
clean_DNA_file(sample_file_path_three)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.