Conversion of Fasta format to Tabular format and vice versa
library (devtools)
library (tidyverse)
source_url("https://raw.githubusercontent.com/lrjoshi/FastaTabular/master/fasta_and_tabular.R")
After completing this, following functions should be available for use. Note: For tabular data, it should be in CSV format. First column should contain gene name and seceond column should contain sequence. Look at the gene.csv file in this repository for template.
FastaToTabular("dna_fasta.fasta")
TabularToFasta("gene.csv")
If you get permission error while writing files, try to create a new directory and set that directory as working directory.
Tidyverse